SleepDay
It's impossible to force all players to sleep. If nobody's is AFK, there's always somebody deep down mining that doesn't care wether it's day or night. That's where Sleep Day comes in. Now, if one player goes to bed, the time will be set to day automatically, no more need to force everyone to sleep again.
This plugin is very simple, I was surprised that something similar already was available. There's no config available for now, however I might add one later. This has about the same functionality as AnyoneSleep (a bit scaled down), but is updated to work with the latest builds.
Installation
To install the plugin, simply download the jar file and drag it to your servers plugin folder.
Usage
Just right click a bed as usual. The difference is that other players aren't required to sleep.
Help & Bugs
Use our issue tracker for all requests, found in one of the tabs above.
This plugin seems to be abandoned, but it works except for a bug. If you go into a bed and cancel sleeping, it will still become day.
@Ineentho
If you could make the plugin generate a config file to where you can set the amount of players needed to sleep in order for the plugin to take effect.
Running this plugin with a 50+ player server is too OP in my opinion. Thanks in advance.
@mbcx2
Hey thanks! :) I'll try it out.
@joshwenke
You can do something like this like what I did
http://pastebin.com/rMqfCQhn (I did not try the code, it may not work)
@AkBKukU
I just tested it with MC 1.6, still works. Since this plugin is so simple, it only uses Bukkit APIs and no native minecraft methods, so it will probably continue to work for a few more versions.
I love this plugin for my survival server but it doesn't work with 1.4.6. Could you please update it?
Language file would be nice. Also only have it broadcast the message to the world the person's in, not global chat.
@Skapke
Should be working with 1.3.2 as far as I know. If you have tested it and find out, please share here.
1.3.2? :D
If I may make a suggestion/request? Could you add a config so we can specify that, say, 60% of the server needs to be in beds before the day will pass?
And, this is a longer-term request that you might just say "This addon ain't for you," could you add a configurable punishment for players who try and stay up when the server sleeps? Maybe make them hungrier or inflict weakness or something?
@MCmatt42
Yeah, Bukkit is a nice thing, I only have to change stuff that changed in the patch. Since this plugin only does sleeping stuff and no changes was made to beds in 1.3 it's ready to go :)
Will this work with 1.3.1? I haven't encountered any issues running it on my 1.3 server so far.
Thanks for this! It's a great, lightweight plugin that does exactly what I need. I was having trouble finding a plugin like this that wasn't bloated with features and configuration options.
@mauritsmul
Did you get any errors to the console? What didn't work? Which CB verison do u use (/version)? Reply with these this info and I can help u
@gzEthereal
Good idea, just used this for a friends only server but will consider to add it. Thanks for your feedback.
I tried this plugin, but it doesn't work. could you make this work for me.
Perhaps permissions support/config and cooldown would be nice. To prevent everyone spamming for it to be day.