ServerLock
ServerLock[ABANDONED]
ServerLock [ABANDONED]
Need to stop players from joining but allow certain admins to? Need to update or test the server? ServerLock allows you to lock down your server and stop players from joining.
Features
- Stop users from joining who don't have bypass permission.
- Enable the option to only allow people on the list to bypass lockdown, including ops.
- Added bypass list, anyone added always bypasses lockdown
- Lock your server down
- Change the MOTD during lockdown
- Kick all upon lockdown who aren't permitted to stay
- Be told in game when someone attempts to join during lockdown
- Choose from automatic bypass systems like disable ServerLock when your server is empty or automatically add all online players to the bypass list
Commands
- /serverlock - ServerLock info and stats
- /serverlock help - ServerLock help and commands
- /serverlock on - Enable Lockdown
- /serverlock on <message> - Enable Lockdown with temporary message
- /serverlock off - Disable Lockdown
- /serverlock motd - returns if MOTD is used during Lockdown
- /serverlock motd true/false - Sets MOTD to use Lockdown message on Lockdown
- /serverlock prefix - Returns the current prefix
- /serverlock prefix <name> - Sets the prefix to <name>
- /serverlock message - Returns the current message
- /serverlock message <message> - Set Lockdown message
- /serverlock countdown - Return countdown time
- /serverlock countdown <time> - Sets the countdown to <time> in seconds
- /serverlock kick - Toggles kicking on lockdown
- /serverlock automatic bypass - Returns the current state
- /serverlock automatic bypass true/false - Set automatic bypass list for online players
- /serverlock automatic disable-when-empty - Returns the current state
- /serverlock automatic disable-when-empty true/false - Set automatic disable ServerLock when empty
- /serverlock automatic disable-on-restart - Returns the current state
- /serverlock automatic disable-on-restart true/false - Set automatic disable ServerLock on restart
- /serverlock bypass list - Lists all players on the bypass list
- /serverlock bypass list-only true/false - Set bypass by list only
- /serverlock bypass add <name> - Add name to bypass list
- /serverlock bypass remove <name> - Remove name from bypass list
- /serverlock debug - Toggle debug
- /serverlock reload - Reload the config
Note: You can now replace "serverlock" with "sl", just for lazy people like me :D
Permissions
- ServerLock.admin - All permissions
- ServerLock.bypass - Bypass lockdown
- ServerLock.notify - Allows player to see bypass and kick messages
Changelog
Check out the complete changelog here: Changelog for Version 1.0.1
Coming soon
- "serverlock timer" - Returns the current state and remainig time if active
- "serverlock timer [int min] [int hour] [int day]" - If it's set to 0 it's diabled, else sets to the desired time
- "serverlock reminder" - Return if on or off
- "serverlock reminder [int min]" - If 0 the reminder is disabled, else it sets the interval for the reminder in minutes.
- Set the MOTD message by "serverlock motd-message <message>"
- Define groups and have different setups for different situations

-
View User Profile
-
Send Message
Posted Jul 26, 2012@darth2499
Sure, I could do that I think. Expect it in a future update
-
View User Profile
-
Send Message
Posted Jul 16, 2012Can you add countdown option? Like if I type /serverlock on the chat shows a countdown message every sec or 5 sec and then kicks all players.
-
View User Profile
-
Send Message
Posted May 26, 20120.0.4
-
View User Profile
-
Send Message
Posted May 26, 2012@buddhist09
That doesn't happen for me, I doubt my plugin is what's doing it. Otherwise the metrics image above wouldn't work at all because they would all be set to false. Mine doesn't mess with that config.
-
View User Profile
-
Send Message
Posted May 26, 2012@khanjal
I will do this in the next update! Thanks!
-
View User Profile
-
Send Message
Posted May 26, 2012Great plugin! Would there be anyway to add a permission node like ServerLock.notify where only certain groups get the messages?
This would keep the regular members from having spam of people trying to constantly connect.
Keep up the great work!
-
View User Profile
-
Send Message
Posted May 20, 2012Nice plugin, but I don't like the idea of one plugin changing the config of another. I have Metrics opt-out set to true, but your plugin keeps changing it to false. Not good.
-
View User Profile
-
Send Message
Posted May 16, 2012@blipman17
I don't quite understand, then how would you remove someone from the list? How does this make it more easy?
-
View User Profile
-
Send Message
Posted May 14, 2012@CraigDeVonne
nice update, but could you make the bypass add/remove command just one command? like you did with /serverlock kick. that toggles it also. and then you just replce /serverlock bypass list with /serverlock list bypass. so you can set the third word as a name and then list won't be seen as a name. it would be a bit more esay.
and, do you now a good java tutorial (preferred with eclipse)? i can program a bit in php, but i like to make bukkit plugins.
-
View User Profile
-
Send Message
Posted May 13, 20120.0.3
-
View User Profile
-
Send Message
Posted May 13, 2012@CraigDeVonne
that should be great
-
View User Profile
-
Send Message
Posted May 12, 2012@blipman17
-
View User Profile
-
Send Message
Posted May 11, 2012can you make an option so you can define if op's can bypass. because, i want to use this plugin if my server gets hacked/enormusly griefed. and if that guy is an op, he can simply bypass it..
and can you give us a command so we can add a player to bypass, whitout giving him that permission? so i can do something like /serverlock letbypass <myawsomefriend>. because i don't expect that i want all my admins to bypass. and if one of my admins is going rouge, i have to edit his permissions.
could you also add an in game message when someone tries to join but gets kicked by serverlock?
maybe i am asking a bit to mutch....
-
View User Profile
-
Send Message
Posted May 10, 2012@lenis0012 Yes that's exactly what it does, thanks!
@MERCHANToDEATH I can try to do this, not really sure how just yet though
-
View User Profile
-
Send Message
Posted May 9, 2012so if normal players connect they se elike:
sorry the server is temp closed for normal players
and you can can change that in the config?
that is where i have been searching for! nice!
u rock
-
View User Profile
-
Send Message
Posted May 9, 2012Can you add an option to keep people from joining the server before it is completely started? I have a lot of plugins and my server takes almost thirty seconds or so to completely start, and when players log in before everything is enabled some of the plugins don't work for them. If you could add this to your plugin I would be most grateful.
-
View User Profile
-
Send Message
Posted May 9, 20120.0.2
-
View User Profile
-
Send Message
Posted May 9, 2012@blipman17
I sure will! Thanks for the interest :D
-
View User Profile
-
Send Message
Posted May 9, 2012please reply to me when it is out, i really want to know
-
View User Profile
-
Send Message
Posted May 9, 2012@lenis0012