QuickSleep
A simple and configurable solo-sleep plugin intended for smaller, vanilla-oriented multiplayer servers. When one player sleeps, others have a short window to veto/cancel the night skip.
If there is only one player in the server, sleeping functions as normal and this plugin is effectively disabled.
Commands
/sleep timer [seconds]
See how long it takes to countdown to skip the night
Optional parameter [seconds]
Sets how long it takes to make it daytime
Minimum 3 seconds and maximum 60 seconds/sleep confirm
If the player is in a bed, it will start the countdown before making it daytime/sleep cancel
Cancels the night skip./sleep message [player] (wakeup | cancel) <message>
Change the message it displays when a player cancels a night skip or successfully night skips
Optional parameter [player]
Sets that specific player's messages
Supports MiniMessage format (see here: https://docs.advntr.dev/minimessage/format.html)
Images
Permissions
sleep.*: Access to all below commands
sleep.confirm: /sleep confirm
sleep.cancel: /sleep cancel
sleep.timer: /sleep timer <seconds>
sleep.message_self: /sleep message (wakeup | cancel) <message>
sleep.message_all: /sleep message <player> (wakeup | cancel) <message>
Config
# Default timer for countdown (in seconds)
timer: 10
# Enable resetting phantom spawn timer for all players online (last time since rest)
reset_phantom_time: true
# Reset rain on night skip
reset_rain: true
# Reset thunderstorms on night skip
reset_thunderstorm: true
# Enable QuickSleep functions when alone in server
enable_when_alone: false
Notes
- If you find any issues or have suggestions, please open an issue on the GitHub repo here
- Allowing majority vote cancelling coming soon
- Intended for smaller servers, such as with friends