SleepNotify
Features:
- Check who is sleeping with /sleeping command
- Check who is awake with the /awake command
- Nickname compatibility
- Kick players who are not sleeping if at least half are asleep (doesn't kick OPs)
- Configurable colors
- Supports SuperPerms compatible permissions systems and OP System
- Broadcasts when players go to bed or wake up
Permission Nodes:
- 'sleepnotify.wake' Players with this Permission will have an alert shown when they get out of bed
- 'sleepnotify.sleep' Players with this permission will have an alert shown when they go to bed
- 'sleepnotify.list' Players with this permission will be able to use the /sleeping and /awake commands
- 'sleepnotify.hide' Players with this permission will be hidden from the sleeping players list
- 'sleepnotify.nokick' Players with this permission will not be kicked by SleepNotify under any circumstances.
- 'sleepnotify.admin' Players with this permission will be able to use SleepNotify administrative commands.
@egadgetboy
Hmm...I'll definitely look into it! For now, you can disable the autokicking by doing "/sn autokick false" until I fix that. Had to push a fix for a command-breaking bug with /awake in 2.5, so I'll put that next on my list! :)
Maybe I haven't figured it all out yet, but when I sleep as an OP it kicks all the other active players. 1. Not sure what's causing that. 2. It should give them a time frame before it kicks them - like 60-90 seconds to find a bed and get in.
@JericM
Are you shutting your server down via the "stop" command?
@JericM
Hmm...this is certainly unintentional...I will look into when I am updating my plugins this weekend! Thanks for the heads-up! :)
When I use /awake it lists EVERYONE THAT HAS EVER LOGGED IN TO THE SERVER, even offline members LOL. Very bad. Is this intentional?
@brinaq
Thank you for your kind words! Please let me know if there are any features you would like to see implemented!
I'd just like to say thanks for making this plugin and keeping it updated and active. Even a simple plugin can be so amazingly useful. It has made skipping to the next day a breeze for my players when they know who's asleep and who is not!
@nacramell
Hey, sorry for the late response. Haven't been able to get on Bukkit recently. :/ I will probably add this feature in the upcoming releases (hopefully the next). The /sleeping command was more to test my abilities, and I have been wanting to add a "/awake" command for a while. I'll try to code this when I can!
Thanks!
Why do you tell us who is sleeping :D Thats not usefull for anybody :P
Just tell us who isn't sleeping. So we can decide what we do with them.
You could add something that starts if more than 50% of the server is sleeping. The other 50% will be kicked after a configurable time and more notifycations.
So we can be shure, if we want to have day, it will get day, even if 1 or 2 players think they want to stay awake.
I would really like to see that. hope :D
This plugin has been tested for Minecraft 1.3.1 and has been confirmed to work with RB 1.3.1-R2.0!
Hello everyone! This is my new account. Sorry for the inactivity on this plugin, but I started last night completely re-coding the plugin. The code was really messy, so I went ahead and just redid everything. I expect v2.0 to be out tomorrow. No major functionality changes though.
@tmad40blue
Hey sorry for getting to you so late; I agree. I was about to add this into the Header of the config, but it got messy. I may do this in the next release.
It would be great to have a list of color choices.
@4135
Your welcome! Sorry for late response
All bugs are gone with youre update thank you for youre great work i love this plugin :>
@4135 Okay, I just tested the config resetting on reload...I didn't run into any problems. Make sure you are saving before reload or, if that doesn't work, try editing the config with the server shut down. As for your second problem, the double message, try 1.8 (releasing within the next few minutes) in which I have added a line of code that will clear the sleeping player list when the plugin is disabled (which it is on a reload). Thanks for your interest and good luck! Tell me if you need anything else.
@vaxoc
Hey, yes sure i reloaded it. I have also another bug when i do an reload all the sleep message comes doubles. After a restart is all gone and working awesome. I love thios plugin ^^
@4135 Hey, sorry for the late response. You did reload or restart plugin after making changes, right? (Sorry, just starting with simplest solution)
Epic plugin i have only one error i change the woke up text in the config but it dosnet save and reply every time the standart text :/