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!
@JonasBauer
Sorry about that, i seem to have left that one bug >_< ill fix that asap!
@JonasBauer
Hey zack,
just wanna say that the plugin runs almost perfect now. But if testing "mm" without "en-" or "disabled" (previous issue) I'm getting the "help page" now. I was searching for the "mm status" command?!
Thanks for that plugin! =) Keep it up !
Hey Zack, Nice work on the plugin, but can you change you name of it, as you have taken my plugin name and people are getting confused between the 2. Unless you want to combine the 2 ???. DKE is looking for plugin developers :). Actually if you want to contact me, send me a pm on here.
Thanks Dave
@zack6849
Thanks for that fix :) Gonna test it now..
Nice Plugin idea btw ;)
Bug fix!
im VERY sorry for anyone who experienced issues with 1.4, it was a large updates and i failed to check for certain bugs! a bug fix has been posted to bukkitdev and is awaiting approval!
@JonasBauer
i have no idea what's causing the sissue, im going to try and fix this now! apologies everyone! EDIT: as far as i know i just fixed the error! sorry about that everyone!
@Hol7y96
Getting same error
But my config file is empty after that...just showing "defaults: {} mm: true" Deleting and letting the plugin regenerating it doesn't solve the problem
Anyone may help?! :P
Just a slight bug :P
/mm returns 'Internal Server Error'
Could change that to say the plugins help menu or something.
EDIT: Could you add a command to reload the plugin and maybe a custom message colour/prefix so the '[WARNING]' bit can be changed ;)
@darkmyre
just to update you, your request was implemented in version 1.4 which was just added to bukkitdev! :D
@darkmyre
i looked into that today again, and actually got persistence working! expect that update to come out soon!
If I enable maintenance mode, then stop/start the server, would the server start in maintenance mode? If not would it be possible to add this?
@Tyler_Devaney_The_God
@Dustinduse
i've done what you both requested at one point in time, now there is an option for a 5 second delay, and a warning message, which will be defineable, im pushing the update ASAP
@Tyler_Devaney_The_God: i seem to have misunderstood your request, im looking into a way to define the delay in server ticks, apologies for the misunderstanding
@Tyler_Devaney_The_God
'll look into that, the command may not be the exact same, but ill try it
You can add something like:
- Command : /mm 5m
Which would send a message out saying : - '[Server] The server will be whitelisted/shutdown in 5 Minutes.'
You should add more things to make it more original though.. But i must say the fact that this plugins perms are separated is a plus. i used the other MMode. and only admins can login. or your VIPs can set the mode. this one i can have admins set the mode and vips still login. But maybe you should set like a 5 second countdown that the server is entering Maintenance mode. And also what we was talking about last night. that would also be really cool and set this plugin apart of the others.
@CeramicTitan
also i just checked out that other plugin. the only visible difference is i have mine using a permissions node.
@CeramicTitan
great. the one time i think i made an original plugin and go to publish it...
Im sorry but the exact same plugin already exists.
http://dev.bukkit.org/server-mods/maintenancemode/
@Dustinduse
i plan on keeping this updated yes, its very simple coding and should stay working for a very long time.
will this plugin actually work correctly.. unlike closedown? and will it be kept in working order? and updated?