SleepNotify 1.0

A sleep notification plugin for SMP servers

  1. Zerrium
    Native Minecraft Version:
    1.16
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    • 1.17
    Source Code:
    https://github.com/zerrium/SleepNotify
    Contributors:
    Zerrium
    NOTE:
    Currently this plugin is in MAINTENANCE mode, which means I won't add new features anymore and just fix bugs.


    What is SleepNotify?

    SleepNotify is a sleep notification plugin to tell how many players required to sleep and skip night (also notice if night has been skipped)
    [​IMG]


    Features:

    • Detect AFK players, requires EssentialsX (optional)
    • Completely catch event when player leaves, joins, enter nether/overworld, cancel sleeping to notify sleep dynamicly

    Compatibility:

    • Spigot/PaperMC from version 1.8 and newer
    • Mohist 1.12 to 1.12.2
    • Geyser and Floodgate
    • Java 8 and newer
    Other than that is not tested and not guaranteed. No Multiverse support (need testers).

    Commands and Permissions:

    /sleepnotify fix
    Just in case if the sleep counter notification is broken, just perform this command. Requires SleepNotify.fix permission.

    /t
    Tell what time it is in player's current dimension. Requires SleepNotify.whattime permission.

    Installation:

    1. Download and put the jar file to plugins folder
    2. Ready to be used (you can also reload this plugin with PlugMan)

    Note:
    This plugin is partially compatible with 1.17 and newer because the counter might be broken if you set the server gamerule playersSleepingPercentage under 100%. I'm aware of this problem and will fix it later in my free time. If you need the fix ASAP feel free to modify the code and pull request to my GitHub repo.

    This plugin is developed by myself in my free time for my personal SMP server need.

    If you find any bugs/issues please report them to my GitHub repository and I will fix them in my free time (no rush, no ETA).

    Please credit me and give this plugin link if you post it to another website, thank you.