✦ Description
Customize your night skips with a set sleep threshold, animation, and voting. All customizable in the config.

✦ Features
- Skip the night with a percentage of players sleeping.
- Skip the night with a configurable voting system.
- Animate skipping the night.
- Fully configurable chat messages, with support for color codes or Minimessage.
- Support for multiple worlds with independent sleep cycles and tracking.
- Support for lying down with GSit to sleep.
- Support for ignoring Essentials AFK players.
✦ Permissions
- sleeper.sleep - Allow the use of '/sleep' to access it's sub-commands.
- sleeper.vote - Allow voting with '/sleep yes' and '/sleep no'.
- sleeper.reload - Allow the use of '/sleep reload' to reload the config.
- sleeper.ignore - Allow the use of '/sleep ignore' to be ignored for sleep.
- sleeper.data - Allows the use of '/sleep debug' to see debug information.
✦ Commands
- /sleep - Main command, which contains all the subcommands: yes, no, votes, ignore, debug, reload (sleeper.sleep). The ignore subcommand can take two optional paremeters: /sleep ignore
<True/False>
✦ Config/Setup
An up to date config is available here.
Config Values:
Plugin settings
- CheckForUpdates - Toggle update checking by checking the Spigot api.
- FormattingType - Switch between "minecraft" and "minimessage" to format messages with color codes or minimessage.
Main settings
- UseAnimation - Toggle if skipping is animated or not.
- SkipPercentage - Percentage of online players sleeping to skip the night at.
- SkipSpeed - Speed for the skip animation.
- DelaySleep - Toggle a delay for sleeping after entering a bed.
- DelaySeconds - Set the above delay in seconds.
- ActionbarMessages - Toggle sending messages through the action bar.
- PersistentSleepInfo - Toggle keeping sleep info messages on the actionbar for the below time.
- PersistenceTime - Time to show sleep info on the actionbar in seconds, for the above setting.
- DayTime - The time considered morning. Nights will be skipped up to this time.
- NightTime - The time considered the the start of the night. Allows voting or sleeping with GSit.
- BroadcastSleepInfo - Toggle broadcasting sleep info to everyone instead of just the sleeper.
Voting settings
- VoteSkip - Toggle skip votes.
- YesMultiplier - Multiplier for yes votes to boost or nerf their value.
- NoMultiplier - Multiplier for no votes to boost or nerf their value.
- SkipVotePercent - Percent for skipping based on a vote. Calculated as yes votes minus no votes, divided by the amount of online players.
- BlockBedsAfterVoting - Blocks entering a bed after you've voted. Also automatically votes yes when entering a bed.
- BossbarVoteCount - Display the current vote on the bossbar.
- ActionbarVoteCount - Display the current vote on the actionbar.
- SendVotesOnStart - Toggle sending the vote options when a vote starts.
- StartWithoutSleep - Allow starting votes with the vote commands themselves.
- MaxVoteTime - The time in seconds for the below setting.
- LimitedVoteTime - Limit voting time to the above setting.
Plugin integration settings
- GSitPoseToSleep - Toggle lying down with GSit counting as sleeping.
- IgnoreAFKPlayers - Toggle ignoring players AFK with Essentials.
After these config values there are configurable messages used by the plugin. The sleep info and skip messages can be disabled by setting them as blank in the config.
✦ Issues/Problems
Please report any issues or problems on the github issue tracker.
✦ Links
How to Install Sleeper (Plugin)
Sleeper by hraponssi is verified for Bukkit, Folia, Paper, Purpur, Spigot across Minecraft versions 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4 (latest release: 1.10.8, file size: 800 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4) and platform (Bukkit, Folia, Paper, Purpur, Spigot).
- Make sure you have the compatible loader or environment installed for Bukkit, Folia, Paper, Purpur, Spigot.
- Move the downloaded Sleeper file into your Minecraft
.minecraft/pluginsfolder and launch the game.
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 2mo ago | 68 | ||||
| 2mo ago | 34 | ||||
| 2mo ago | 23 | ||||
| 2mo ago | 17 | ||||
| 2mo ago | 14 | ||||
| 2mo ago | 11 | ||||
| 2mo ago | 10 | ||||
| 2mo ago | 8 | ||||
| 2mo ago | 8 | ||||
| 2mo ago | 7 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 |
- Dropped the Minimessage Bukkit platform layer due to it being abandoned and breaking messages. As a result a server with Minimessage is required now.
- Fixed some bugs including divide by zeros in sleepinfo messages and vote skips not working when animations were disabled.
- Built on 26.1.2.
- Java 21 is now the minimum Java version due to latest minimessage requirements.
- Fixed bed exiting and gsit sleepinfo messages not replacing %percent_needed% placeholders. Thanks MaximumWoahverdrive
- Updated dependencies.
- Added a %percent_needed% placeholder to show the percent needed for sleep. (Thanks to flakysalt for the contribution)
- Added the setting AutomaticStart to enable starting a vote automatically when it is night time.
- Updated the GSit api integration to work with GSit 3.0.0
- Removed integration with the AFKPlus api. AFKPlus can be set to work with Essentials, so enable that to keep functionality.
- Fixed the integrations loaded message to correctly realize if none were found.
- Updated Minimessage dependency.
- Added support for Folia servers.
- Added config options "DayTime" and "NightTime" to set the time considered as morning and the time that is considered the start of the night.
New config options will not appear in an existing config, so the config should either be recreated or the new entries manually added. The latest config can be found [here](https://github.com/hraponssi/Sleeper/blob/main/src/main/resources/config.yml).
- Adds integration with AFKPlus (Thanks @Rinary1) and Essentials to ignore afk players for night skipping. This can be toggled with the new config option "IgnoreAFKPlayers".
New config options will not appear in an existing config, so the config should either be recreated or the new entries manually added. The latest config can be found [here](https://github.com/hraponssi/Sleeper/blob/main/src/main/resources/config.yml).
- The sleep info action bar message can now be configured to persist for an amount of seconds, by default 30 seconds. It will automatically be cleared in the morning if a skip doesn't happen so the time can be set as the whole night as well.
- More skip and voting messages can now be disabled by setting them as empty "".
- Added a config option to send messages through the actionbar.
- Fixes a crash on startup if GSit isn't installed.
- Added support for formatting chat messages with minimessage. Thanks @Rinary1
- Added a config option for showing vote status on the actionbar. Thanks @Rinary1
- Added a config option for integrating with GSit so lying down counts as sleeping.
- Fixed a bug where an extra help message was sent for some commands if you didn't have permission.
- Changed the way time is counted to possibly be more reliable.
- The sleep command now has tab completion.
- More messages can now be edited in the config.
- The plugin now checks for updates on startup, by checking the spigot api. This is printed in the console and can be disabled in the config.
- Builds against 1.21.7.