NoSleep 1.0

Block players from sleeping!

  1. Sitieno14
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    2018-05-19_18.47.40.png
    Blocks players from sleeping!

    [​IMG]
    /nosleep reload
    Permission needed: nosleep.reload
    Description: reload NoSleep's config

    [​IMG]
    (plugins/NoSleep/config.yml)
    Code (Text):
    #Should there be a permission by which one you can bypass NoSleep?
    bypass-permission: false
    permission: nosleep.bypass

    #Should being able to sleep be blocked?
    cancel-event: true

    #Should a message be sent?
    send-message: true
    message: "&cYou can't sleep&4!"

    #Should a command be executed?
    execute-command: true
    command: "kick %p &cYou tried to sleep&4!"
    [​IMG]
    [​IMG]
    This work (NoSleep by Sitieno14) is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

    [​IMG]
    [​IMG]

    [​IMG]