Changelog

ServerLock Changelog

Version 1.0.1:
New Commands:
  • Added the "Change MOTD during lockdown" command
New Features:
  • New property in config.yml "change-motd-during-lockdown: [true, false]" Sets the MOTD to the Lockdown message
Version 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