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!
@HDfunctions
Im not really sure, im in the process of re-writing the plugin from the ground up, the logic got too confusing xD
When will the next update be?
Nice if you ever have a crazy hacker!
@lenis0012
so i see, i sent the developer a message in october and its been a month with no reply, the compatibility issues with authme are unlikely to be fixed.
@zack6849
Authme is outdated
The Config seems broken even when I download the latest one with the change log message "Fixed Config Bug"!
@ScrimCraft
This appears to be some sort of compatibility issue with lockdown and authme, ill go talk to the dev and see if we can figure it out :)
Get this message whenver i ld enable or everyone gets kicked 20:28:21 [SEVERE] Could not pass event PlayerQuitEvent to AuthMe org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:341) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j ava:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:462) at net.minecraft.server.ServerConfigurationManagerAbstract.disconnect(Se rverConfigurationManagerAbstract.java:206) at net.minecraft.server.NetServerHandler.disconnect(NetServerHandler.jav a:165) at net.minecraftserverhook.NetServerHandlerProxy.disconnect(NetServerHan dlerProxy.java:64) at org.bukkit.craftbukkit.entity.CraftPlayer.kickPlayer(CraftPlayer.java :216) at me.zack6849.MaintenanceMode.PlayerJoin.onplayerjoin(PlayerJoin.java:2 4) at sun.reflect.GeneratedMethodAccessor222.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.ja va:339) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j ava:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:462) at net.minecraft.server.ServerConfigurationManagerAbstract.c(ServerConfi gurationManagerAbstract.java:161) at net.minecraft.server.ServerConfigurationManagerAbstract.a(ServerConfi gurationManagerAbstract.java:92) at net.minecraft.server.NetLoginHandler.d(NetLoginHandler.java:129) at net.minecraft.server.NetLoginHandler.c(NetLoginHandler.java:42) at net.minecraft.server.DedicatedServerConnectionThread.a(DedicatedServe rConnectionThread.java:44) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:29) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:577) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:213) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:473) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:405) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.NullPointerException at org.bukkit.craftbukkit.inventory.CraftInventory.setContents(CraftInve ntory.java:60) at uk.org.whoami.authme.listener.AuthMePlayerListener.onPlayerQuit(AuthM ePlayerListener.java:493) at sun.reflect.GeneratedMethodAccessor277.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.ja va:339) ... 26 more
- snip -
Subbmitted bug ticket as opposed to comments.
@Rat_Cat12
There's no need to wait for approvement. Just use the below base-url for all upcoming versions and increment the number by one:
http://dev.bukkit.org/server-mods/lock-down/files/24
Approve 1.5.7 already! :D
@Dustinduse
I think he is talk different configured mode for lockdown, so mode one will protect group 1 from kick then mode2 will protect group 1 and 2 from kick if they are say world editing and area.
thanks Dave
@Dustinduse
Could you elaborate please? As in, what would it do, how eould it work, permissions nodes etc?
zack! Feature request! can you add another level of lockdown??? like for the purpose of lockdown for mod/admin. and lockdown for admin only. As my lockdown is bypassed by VIP's. Which kicks 90% of players. but sometimes i need to kick vips too. Just a thought.
@lvvipervvi Again?
When pacing the new version in the plugins and running the server it says this:
09:42:14 [INFO] [LockDown] Enabling LockDown v1.5.6 09:42:14 [INFO] [LockDown] Successfully enabled! 09:42:14 [INFO] [LockDown] No Configuration file found! Generating a new one! 09:42:14 [INFO] [LockDown] Configuration file created succesfully!
Since it can't find the config file then it makes its own with no Info in it but this:
defaults: {} ld: false
@lvvipervvi
No problem, and thank you VERY much for reporting that bug! I wouldn't have noticed it for about a week!
ahh much better :) If I find anything else then I will let you know. Thanks for the plugin.
@lvvipervvi
Silly me, i forgot to do put the readme in the jar xD Uploading fix now.
@lvvipervvi
I haven't reproduced this bug yet, but ill try more tommorow, gotta get sleep.