Sleep
[ONELINER:Complete customization for sleep related features (messages, idle players, rewards, force, etc.)]
[ > Features | Commands | Configuration | Permissions ]
- Customizable broadcast messages for all sleep related events
- Ignore idle players from preventing sleep
- Force sleep when minimum percent and/or count of players are in bed
- Customizable reward system for using a bed to pass the night (health, experience, effects, etc.)
- Allow sleeping with a temporary bed that does not affect respawn location
- Ignore underground players below a configurable depth from preventing sleep
- Fast forward night time relative to how many players are in bed
- Disable sleep but still allow a bed to set respawn location
- Always ignore specific players for sleep (bots/admins, uses permissions)
- Force sleep when specific players enter a bed (uses permissions)
- On-demand sleep status with the /sleep command (who is not in bed)
- Force sleep manually with the /sleep.force command (requires permission)
- Full multi-world support
Troubleshooting
If you are having trouble determining why something isn't working, set log-level: ALL in the /plugins/Sleep/config.yml file and restart your server. Wait for the problem to reoccur then paste the server.log file to somewhere like http://gist.github.com and post a comment here with a link to the paste.

-
View User Profile
-
Send Message
Posted Dec 6, 2015For anyone trying to get this to work, there is a required plugin called PlayerActivity made by him too.
Link: http://dev.bukkit.org/bukkit-plugins/playeractivity/
- TMK
-
View User Profile
-
Send Message
Posted Jul 13, 2015Is there a way to remove some of the messages? I'm only looking to show when a player enters a bed, not when a player leaves the game or exits a bed.
-
View User Profile
-
Send Message
Posted Dec 27, 2014Does this work for 1.7.10?
-
View User Profile
-
Send Message
Posted Nov 28, 2014Could you please give us Sleep for 1.7.9?
-
View User Profile
-
Send Message
Posted May 31, 2014First try on 1.7.9
don't working :/
-
View User Profile
-
Send Message
Posted May 2, 2014Same error on 1.7.2 0.3
ANd in plugins folder SLeep don;t exist!
-
View User Profile
-
Send Message
Posted Apr 19, 2014Commands are not working :S
20.04 01:36:16 [Server] INFO [01:36:16 INFO]: [Sleep] Enabling Sleep v7.3.0 20.04 01:36:16 [Server] INFO [01:36:16 ERROR]: Could not load command sleep:reload for plugin Sleep: Illegal Characters 20.04 01:36:16 [Server] INFO [01:36:16 ERROR]: Could not load command sleep:force for plugin Sleep: Illegal Characters 20.04 01:36:16 [Server] INFO [01:36:16 ERROR]: Could not load command sleep:status for plugin Sleep: Illegal Characters
-
View User Profile
-
Send Message
Posted Apr 14, 2014@padfut0
Same message on 1.7.2 bukkit! Are there any dependencies for this plugin?
-
View User Profile
-
Send Message
Posted Apr 5, 2014[14:59:21] [Server thread/INFO]: [Sleep] Enabling Sleep v7.4.0
[14:59:21] [Server thread/ERROR]: [Sleep] Disabling plugin; Dependencies not met during plugin load
nothing more
I'm using spigot server based on 1.7.5 bukkit
-
View User Profile
-
Send Message
Posted Mar 27, 2014This plugin is simple and works exactly how I want it to. Thank you very much.
-
View User Profile
-
Send Message
Posted Mar 26, 2014@mmuziek
Can you copy/paste the log/errors into someplace like http://gist.github.com ? Depending on the error you might need to simply restart your server just once more.
-
View User Profile
-
Send Message
Posted Mar 26, 2014it wont start its saying its missing dependencies
-
View User Profile
-
Send Message
Posted Mar 26, 2014@mmuziek
You don't need to run PlayerActivity as a separate plugin in order to run Sleep. Just delete /plugins/PlayerActivity.jar and let the Sleep plugin use it's internal copy of it as it needs. It won't conflict with anything that way.
-
View User Profile
-
Send Message
Posted Mar 26, 2014hey i dont wanna use player activities because its overwriting major commands on my server. can it be used without because its not starting when playeractivities is not in my plugins folder.
and i dont wanna make use of the idle detection i just want a server fastworward the night or skip the night up on players entering/leaving beds
-
View User Profile
-
Send Message
Posted Mar 14, 2014okay i see so i change the "percent: 51"
-
View User Profile
-
Send Message
Posted Mar 14, 2014@streetkilln
I understand your concern on having too many options. It's something that originally turned me off of plugins initially also. The alternative though is splitting this plugin into about 10 different plugins then you have to look through each of those for which one does what you want and that also duplicates back-end code, etc. The net of this is that there is no easy answer to solve both simplicity and versatility.
That said for what you want, you can use the force sleep option that triggers based on a percentage: http://dev.bukkit.org/bukkit-plugins/sleep/pages/configuration/#w-force-sleep-count-percent
For instance if you wanted it to be day when over half of your server population is in bed you'd use:
-
View User Profile
-
Send Message
Posted Mar 13, 2014intressed in this plugin but have no idea how it works... theres just to much.... not simplified enough...
how do i set a percentage of the server that needs to be in bed in order it to be day?
-
View User Profile
-
Send Message
Posted Feb 28, 2014@patalkok Sorry, my documentation is out of date right now... I'm hoping to find some time to update it all soon.
I'ved updated the link to: https://github.com/EdGruberman/Sleep/tree/v7.3.3/src/edgruberman/bukkit/sleep/supplements/rewards
To give someone an iron shovel for sleeping:
-
View User Profile
-
Send Message
Posted Feb 28, 2014link for github reward don't work :(
how i can give item for player in reward ?
(sorry for my bad english)
-
View User Profile
-
Send Message
Posted Feb 23, 2014@Durand1w
Oh. sorry, I missed '-' character. Thank you!