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.
For 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
Is 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.
Does this work for 1.7.10?
Could you please give us Sleep for 1.7.9?
First try on 1.7.9
don't working :/
Same error on 1.7.2 0.3
ANd in plugins folder SLeep don;t exist!
Commands 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
@padfut0
Same message on 1.7.2 bukkit! Are there any dependencies for this plugin?
[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
This plugin is simple and works exactly how I want it to. Thank you very much.
@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.
it wont start its saying its missing dependencies
@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.
hey 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
okay i see so i change the "percent: 51"
@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:
intressed 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?
@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:
link for github reward don't work :(
how i can give item for player in reward ?
(sorry for my bad english)
@Durand1w
Oh. sorry, I missed '-' character. Thank you!