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!
The newest java Version 7 Update 7
@lvvipervvi What java version do you have?
I just downloaded the newest update that you have and I'm using minecraft 1.3.2, craft bukkit 1.3.1-R2.0 (Build #02340) . When I go into the folder that lockdown makes all it has is the config.yml with this code in it: defaults: {}
ld: false
and there is no readme.yml file in the folder.
Here is the error when the server runs:
#
#
#
#
#
#
#
#
#
#[SEVERE] Error occurred while enabling LockDown v1.5.5 (Is it up to date?) java.lang.IllegalArgumentException: The embedded resource 'readme.yml' cannot be found in plugins/LockDown.jar at org.bukkit.plugin.java.JavaPlugin.saveResource(JavaPlugin.java:149) at me.zack6849.MaintenanceMode.MaintenanceMode.onEnable(MaintenanceMode.java:50) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:365) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:265) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:247) at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:296) at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:275) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:225) at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:378) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
#
#
#
#
#
#
#
#
#
#
##@lvvipervvi
Yeah, im not seeing this bug in the latest build, may i ask what java version, craftbukkit version and plugin version you are using? also posting the full error is ALWAYS appreciated! it helps us figure out the issue!
@lvvipervvi
o_o, ill look into this asap! thanks for the bug report!
I just d/l this plugin and there is only this in the config file:
defaults: {}
ld: false
Also there is no readme file. Which throws up an error when starting because the readme file is missing. Any idea? Thank you.
@TNTUP
Hai TNTUP :)
Heh this plugin is better than using whitelist :p Lol using it because Zack is a good friend :D and its useful for meh meh meh. I recommend it!
PS: Hi Zack.
@LordKainzo
The plugin doesn't run any code whatsoever unless lock down is enabled. :)
Thinking about getting this. I'm a performance JUNKY, does this plugin do anything if you aren't using the lock-down feature?
I'd like to have it in dormant just in case but I don't want it taking up any cpu time anywhere else.
Great plugin just what was I looking for. Thanks.
@joehot200
thanks :)
@zack6849
good idea and good plugin :)
@Xarc34
I have absolutley no idea how to test with mysql, mysql is extremely complex code-side im sorry but i likely wont add this feature for a while, if ever
An enhancement if you can to add. LockDown server in case mysql not responding. Testing mysql server at configurable time seconds/minutes ?. Thank you.
@deleted_8156133
thanks :)
Very nice plugin! I might be adding this to my server, since I need to do maintenance while I'm doing world resets for example. :)
@Dustinduse
1.5.2 fixes the permissions bug! :D im awaiting approval now
Thank you zack!
@helcast
@Dustinduse
@techbytheton
Sorry guys! i forgot to change the permissions check in the code! im updating the file right now!