Lockdown
LockDown
News
The new build is a COMPLETE-REWRITE and ive tested it to some extent and need help of the community with testing it. if you do experience any errors PLEASE file a ticket!! I can't find every bug in the plugin all by myself and if you see an error and just uninstall it the plugin can't get any better. Thanks for taking the time to read this -zack
Description
LockDown allows server administrators to easily change their server to "LockDown", A secure mode that kicks all players without a certain permission from the server and then keeps them from logging back in, players with a special permission node can bypass the plugin. The message that players recive when they are kicked is definable in the config.yml.
Current version
1.5.9: Complete re-write!
Intended use
- To allow server owners to keep out unwanted players for building or maintaining the server.
- Other possible uses: keep griefers out, just enable LockDown, and it will keep them from logging in.
Commands
- The commands are pretty self explanatory.
- /ld enable - Enables LockDown.
- /ld disable - Disables LockDown.
- /ld status - Tells you if LockDown is enabled or not
- /ld reload - Reloads the configuration file.
- /ld info - Lists the version , authors and other basic info about the plugin
- /ld urgent - bypasses ALL configuration settings and locks the server down instantly.
- the status and reload commands are only in 1.5 , please update to this version! we also now have Metrics so i can see how many of you guys use the plugin!
Configuration
- If for some reason you don't understand an option in the configuration file please read the page here and read the readme.yml! If you have any trouble please watch this video courtesy of elloc72
Permissions
The permissions vary depending on what file you have! if you have the LockDown.jar use the LockDown permissions
MaintenanceMode
- mm.toggle permission to toggle MaintenanceMode
- mm.bypass permission to bypass MaintenanceMode
LockDown
- ld.toggle - Permission to turn LockDown on or off.
- ld.bypass - Permission to bypass the plugin
- ld.help - permission to do /ld help
- ld.reload - permission to do /ld reload
- ld.instant - permission to do /ld instant
- ld.bypass - permission to do /ld bypass
- ld.status - permission to do /ld status
- ld.info - permission to do /ld info
- ld.* - permission to do all lockdown commands
Help me Help you!
If you get an error please do the following:
- Post your version of LockDown (can be found using /ld info)
- Post your CraftBukkit version(Cna be found via /version)
- Post the error! Use pastie!
Metrics
Source code
If you'd like to take a look at the source code, take a look at the repository located here
Bug Reporting
- If you have an issue, feature request or something of that nature feel free to tell me by submitting an issue report here
Change log
1.5.8:
- FIXED THE CONFIG BUG!
1.5.7:
- Fixed a large issue with console commands. added more permissions added more commands
1.5.6:
- Added new permissions nodes and added /ld urgent, as per a user submitted request.
1.5.5:
- Added an auto-updater, updating to this would help me alot because when you guys report bugs it makes it way easier to get that update out to all the users
1.5.4:
- Fixed a few small typos, added the info command.
1.5.3:
- Fixed a few typos in the broadcasts.
1.5.2:
- fixed a MAJOR permissions bug
- corrected the readme.yml and config.yml
1.5.0:
- Added a readme file
- Added a toggle for all broadcasts
- Added a command to reload the config
- Added a setting to change the MOTD while LockDown is enabled
- Fixed a few bugs
1.4 MAJOR Update!:
- added persistence!(modes stick over reloads and restarts)
- made the delay in seconds, not ticks
- added a new command "ld status" that tells you if LockDown is on or off
- added a check to see if LockDown is enabled/disabled already when you try to enable/disable it, so that you don't have fake broadcasts
Sidenotes
600 downloads! woot! :D- one THOUSAND downloads? 0_0
- I'd like to thank The awesome people over at #BukkitDev who helped me squash quite a few bugs!, id also like to thank Chriz_Night and SpartaMercenary for helping me learn how to do alot of the things i did in this plugin!
Switch the ld.bypass to mm.bypass for now. The old permissions system is still on the LockDown Version. In other words, mm.bypass with PermissionsEx plugin correctly allows players with the mm.bypass permission in the server.
Zack.. have you got the bypass working yet? it seems like every plugin of this type i have used the bypass didnt work.
when ever i put the by pass permission in permissions it doesnt work and still allows them not ot come on
@zack6849
Alright, thanks for the quick reply. :)
@helcast
you can change those settings while its enabled, just do ./mm reload and it reloads all values in the config :D
@zack6849
Your configuration, that you suggested, works well. The other part of my suggestion was making an option to change the config while MM is enabled. In your latest update, the option to change the MOTD while MM is enabled, covers part of my suggestion. Now just make an option to change the other settings also while MM is enabled, and presto!
Thanks for the plugin, and all the updates! Been using this plugin also to cover, "SimpleRestart," since they seem to be not updating it.
@helcast
if that's what he meant then that feature is already in the plugin, just enable the delay feature and change the delay message!
as the plugin fires the kick event the second /mm enable is used if delay isn't on, setting a message to it would be relatively useless because they wouldn't be able to read it.
however the delay features sound almost exactly like what you described, you could enable the delay in the configuration file and set the time and message according to your needs
@ilusions4
As for this question its kind of a stupid one. why dont you use your fancy permission system to give that one single player the mm.toggle permission node. and as for the rest. Why would you wanna kick players but allow them to join back? you can use other plugins to /kick all
@zack6849
i think the feature request by helcast was so that when you type /mm enable We are entering maintenance and will be back up in 10 minutes. the plugin changes says We are entering maintenance and will be back up in 10 minutes. so that instead of the default msg set in the config you could write it every time you enable. this way you can give players an idea of how long the server will be closed.
@ilusions4
im slightly confused by your question, could you elaborate please?
Just wondering... is it possible that you could add an option in the config to make it so that only a certain person can do the command and also so that even if the players have the permission node, they will be kicked anyways?
@helcast there is already a feature along those lines ^_^
just enable delay in the config, and change the warning
itll say [MM] MaintenanceMode enabled by *name.* then [WARNING] *YOUR MESSAGE HERE* then after a definable amount of time it kicks them
i would do as you suggested and change the default enable messge, however without the delay being enabled the people being kicked are kicked within half a second of when the plugin is enabled, leaving nowhere near enough time to read it.
I'm loving all the updates, I know you're probably ticking off bukkit dev's, but it's nice to see a author that wants to be dedicated to his work.
A nice feature that would be cool to see, is a customized message at the end of MM enable. Even if we had to type the command in each time, it would be still very beneficial. Such as:
mm enable <We're currently under maintenance, please come back in 10 minutes.>
The time at the end, is what I'm getting at, since there's so many little kids that can't read. Or go to twitter, facebook, and or twitch to see what's going on.
Thank you for the hard work!
@Enzetsu
Ill look into it, I had that orginally so that server owners would know exactly who enabled it, should I make it to where it says in the server log who enabled if the broadcast is disabled?
Love the plugin there is only one thing i dont like and thats the whole [MM] MaintenanceMode enabled by (name) Please make it so you can disable that! D:
@zack6849 Here are some names:
idk lol, i like the last one haha jkjk
Only some suggestions Dave (DomanoSV) DKE Server Hosting CEO, DKE Servers Administrator, Lead Plugin Developer
@zack6849
ok np, compeletly up to you.
New Plugin name?
Hey guys i wanted some suggestions for a new name, as the developer of the other plugin requested i change the name, if anyone has any suggestions they would be appreciated ^_^
@JonasBauer
Fixed! thanks for the bug report jonas! pushing the update to BukkitDev now!
@DomanoSV
I'll look into changing the name to something else i suppose, as don't know if i want to be part of a development team