ServerLock

Abandoned
ServerLock

File Details

ServerLock 1.0.0

  • R
  • Jan 26, 2013
  • 25.95 KB
  • 224
  • CB 1.4.6-R0.3

File Name

ServerLock-1.0.0_for_1.4.6R03.jar

Supported Versions

  • CB 1.4.6-R0.3

1.0.0

New Commands:
  • Added the "serverlock message" command which displays the current LockdownMessage
  • Added the "serverlock bypass list" command to list all players on the bypass list
  • Added the "serverlock on [message]" command to set a temporary message (this message will not be saved to the config)
  • Added the "serverlock countdown" command which returns the countdown time
  • Added the "serverlock countdown [number in seconds]" command to set the countdown duration in seconds.
  • Added the "serverlock prefix" command which returns the current prefix
  • Added the "serverlock prefix [name]" command which sets the current prefix to name
  • Added a shorter replacement for serverlock "sl" just for lazy people like me :D
  • Added the "serverlock automatic bypass" command which displays if the automatic bypass online players property is enabled or not.
  • Added the "serverlock automatic bypass [true/false]" command which sets the automatic bypass online players property.
  • Added the "server automatic disable-on-restart" command which displays if the automatic disable on restart property is enabled or not.
  • Added the "server automatic disable-on-restart [true/false]" command which sets the automatic disable on restart property.
  • Added the "server automatic disable-when-empty" command which displays if the automatic disable when empty property is enabled or not.
  • Added the "server automatic disable-when-empty [true/false]" command which sets the automatic disable when empty property.
New Features:
  • New property in config.yml "auto-bypass-online-players: [true, false]" can only be used if "only-list-can-bypass: false". This automatically add online players to bypass list when "serverlock on" is toggled and the players are automatically remove from the bypass list when "serverlock off" is toggled. The users are automatically removed from the bypass list when the plugin is unloaded and automatically added when the plugin is loaded.
  • Added countdown function in the config.yml "settings.countdown-seconds"
  • Added the property "auto-disable-when-empty: [true/false]" when it is enabled it will listen to the PlayerQuitEvent and if it is the last player it will disable the LockDown
  • Added the property "auto-disable-when-restart: [true/false]" when it is enabled it will automatically disable the LockDown on unload AND ALSO IF IT'S RELOADED!
  • Added the property "prefix: ['String']" so that a custom appearance to the player can be accomplished
  • Added working PluginMetric and removed old one
Bugfixes:
  • Fixed issues with server/player casted commands - they don't break the server anymore and work how they should
Code Refactoring:
  • Added Javadoc and general comments
  • Change to UTF-8 encoding
  • Removed duplicated code and not needed imports
  • Change versioning system to semver

0.0.4

  • Built for 1.2.5-R3.0
  • Added the permission node ServerLock.notify to allow admins/players to see when someone is kicked or bypassed

0.0.3

  • Enable the option to only allow people on the list to bypass lockdown, including ops.
  • Added info to /serverlock showing if lockdown is enabled
  • Added help command.
  • Added bypass list, anyone added always bypasses lockdown
  • New commands
    • /serverlock help - ServerLock help and commands
    • /serverlock bypass list-only true/false - Set bypass by list only
    • /serverlock bypass add <name> - Add name to bypass list
    • /serverlock bypass remove <name> - Remove name from bypass list
    • /serverlock kick - Toggles kicking on lockdown
    • /serverlock debug - Toggle debug mode
    • /serverlock reload - Reload the config

0.0.2

  • Config option to kick all upon lockdown - default true

0.0.1

  • Initial Release