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!
Would it be possible to add a world by world lockdown feature that keeps people out of a certain world?
@Hopp00
That'd be an interesting feature, however i isnt possible to my knowledge
@iPedro2
I really dont think this would be necessary or easy to implement, so i probably wont be adding it, sorry.
Could you make it so players can't log off? Prob not possible as you can't modify the players controls...
Could you add a feature to auto-disable lockdown after a defined period of time?
I use this plugin when I need to perform maintenance in the server without any players around, but once, after completing the maintenance, I forgot to disable the plugin and the players were not able to log in until I came back and disabled the plugin myself.
I suggest adding a lockdown timeout, defined in the config file, that will automatically disable Lockdown, e.g., after 1 hour. Also, add a warning message broadcasted 1 to 5 minutes before the lockdown is auto-disabled and a command like "/ld more" or "/ld continue" or something more intuitive that will delay the auto-disable.
@TrueALOGaming
Yes.
Does color codes work with this like "&4[Under maintenance!]
@AltoXn
It shouldnt do this by default, another plugin is over-riding my chat block for when players join, do you have any plugins that customize the player join messages?
When my server is locked down, it still appears in the chat that people have joined (even though they get kicked immediatly) any way to stop this?
@Maunz
It shouldn't need an update :)
Hey guys what about an update for 1.6.2? Or does it still work with this CB Version?
Some ideas :)
The next suggestion might be a little bit too much anyway:
Thanks :)
Would you be able to add an extra feature that when LockDown is enabled, the current players online would be allowed to stay on but anyone else that tries to login gets disconnected? (I know there's permissions but I want it more basic)
@Marium0505
yes.
Does the plugin work on 1.5.2?
@GumbyDammit
Oops! fixed.
I just booted 1.5.2-R0.1 for the first time and got this:
2013-05-04 06:12:20 [WARNING] [LockDown] The author of this plugin has misconfigured their Auto Update system 2013-05-04 06:12:20 [WARNING] [LockDown] Files uploaded to BukkitDev should contain the version number, seperated from the name by a 'v', such as PluginName v1.0 2013-05-04 06:12:20 [WARNING] [LockDown] Please notify the author (zack6849) of this error.
2013-05-01 16:42:04 [SEVERE] Could not pass event PlayerJoinEvent to LockDown v1.6.1 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.v1_5_R3.PlayerList.c(PlayerList.java:204) at net.minecraft.server.v1_5_R3.PlayerList.a(PlayerList.java:100) at net.minecraft.server.v1_5_R3.PendingConnection.d(PendingConnection.java:129) at net.minecraft.server.v1_5_R3.PendingConnection.c(PendingConnection.java:44) at net.minecraft.server.v1_5_R3.DedicatedServerConnectionThread.a(DedicatedServerConnectionThread.java:41) at net.minecraft.server.v1_5_R3.DedicatedServerConnection.b(SourceFile:29) at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:581) at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:226) at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477) at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410) at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.NullPointerException at me.zack6849.lockdown.PlayerJoin.onJoin(PlayerJoin.java:19) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 14 more
and pls update to 1.5.2
@GumbyDammit
Odd, i'll try and fix that, although bukkit isnt down all that often.
It seems to crash if the version check stuff doesn't respond..
@DekuHero
Hah, well when it was first released it was extremely basic, as i said in the description, if there's anything you'd like changed, let me know :)