Releases: kennytv/Maintenance
Small feature additions and quite a few fixes
For a full changelog, see HERE
The Maintenance.jar
file is universal for Spigot and Bungee.
To use the plugin on Sponge or Velocity, you have to download their own jars respectively.
Timerspecific pingmessages, Velocity and Sponge dependency update
For a full changelog, see HERE
The Maintenance.jar
file is universal for Spigot and Bungee.
To use the plugin on Sponge or Velocity, you have to download their own jars respectively.
PlaceholderAPI addon, endtimer saving and fixes
For a full changelog, see HERE
The Maintenance.jar
file is universal for Spigot and Bungee.
To use the plugin on Sponge or Velocity, you have to download their own jars respectively.
Sponge and Velocity support!
For a full changelog, see HERE
The Maintenance.jar
file is universal (can be placed in every platform's plugin folder). Else, you can also just take the jar corresponding to the platform you use.
MySQL and language additions
Added French (thanks to Spigot user Zendrique) and Portuguese (thanks to Spigot user JoaoPinto) translations!
Improvements to MySQL on the Bungee part:
- If enabled, single servers (on the Bungee part) that are under maintenance are now saved into the given database
as well! - Fixed the maintenance value only loading on the first server ping, not on startup
Fixed an error while setting maintenance to single servers, when the executor is something other than a player.
Fixed the maintenance-icon not loading on 1.13+ Spigot servers with ProtocolLib.
Some other general improvements and a small message fix.
File loading hotfix
2.5.1 Hotfix 2.5.1
Single server maintenance on Bungee
Added the possibility on BungeeCord to also enable maintenance on Spigot servers managed by the proxy! (permissions and more info at the bottom).
Added a multiple-language-support system! It's currently not that big tho, with the only language added being de/German
Improved updatechecks.
Made the help message a little fancier.
Fixed a bug with starttimers not being able to start properly.
Some API changes.
Description of the new single server maintenance in the Bungee part:
/maintenance <on/off> will still simply enable/disable it for the entire proxyserver
/maintenance <on/off> will now set maintenance to a proxied Spigot server
/maintenance <starttimer/endtimer> works analog to the normal timer commands
/maintenance status shows proxied servers that have maintenance enabled
Added permissions for this are:
maintenance.toggleserver - to use the command with single servers
maintenance.servertimer - to use the start- and endtimer commands for single servers
maintenance.status - to use the status command
The single server maintenance is NOT implemented into MySQL, yet, as I haven't really figured out an efficient way of doing so (the normal/global maintenance still is, so that will work as usal for multiple proxies)
Language file, removemotd command and much more
Edit nearly every message to your hearts content with the now introduced language.yml file!
Added "/maintenance removemotd " command to remove a motd via an ingame command (if you have multiple ones).
You can now include the "%TIMER%" variable into your maintenance motd - If using the maintenance endtimer, it will display the time left until maintenance will be disabled!
Simply shows "-" if maintenance is on without any timer. A nice integration could be "&cExpected to come back in: &6%TIME%.
You can now choose to show the normal playercount during maintenance instead of a custom message by changing the "enable-playercountmessage" value in the config.
You can also include the playercount in a custom playercountmessage by using the 2 variables "%ONLINE%" and "%MAX%".
If there's a new update available, the update notification will no longer be sent on every single login, but rather just on the first one after startup.
Removing players from the maintenance whitelist now accepts uncapitalized names.
A couple of other bug- as well as typo fixes too little or irritating to explain :p
Applied config changes can be viewed here: https://gist.github.com/KennyTV/a73f2aed1e278d4c927f9f6a3ef9fde2/revisions#diff-f71c635af676a96198ecef0e7348b8a8
MySQL and stability improvements
When a string in the config is missing, the plugin doesn't cancel the current process and throws an error anymore, but rather gives a soft warning in the console and returns a backup string.
If MySQL is enabled, the plugin will only make a database request at least x seconds after the last request, whereas you can define the value in the config under mysql.update-interval.
Example: If a first player pings the server after startup, the value will be updated -> No update in the next x seconds even if a player pings -> After elapsed, as soon as the next player pings the server again.
Especially helpful as well as recommended for servers with many players.
Another improvement for MySQL support: After enabling maintenance on one proxy, the other connected ones will then also kick all non permitted players and switch their ServerListPlus state!
The "/maintenance" command helppage now only shows the commands the player actually has permission to execute.
Minor improvements.
The config will be updated automatically.
Applied config changes can be viewed here: https://gist.github.com/KennyTV/a73f2aed1e278d4c927f9f6a3ef9fde2
Multiple motd lines, more permissions and even more fixes!
Added the possibility to have multiple pingmessages, of which one will be randomly chosen on each ping when maintenance is enabled (you can also just keep it at one)!
Added permissions per subcommand (see below or on the overview page under the "Permissions" section)
Reworked / fixed the "/maintenance setmotd" command
Added "/maintenance motd" command to list all set maintenance pingmessages
"/maintenance whitelist" now also shows the UUID connected to each name
Minor message changes / typo and description fixes
Minor improvements
The config will be updated automatically, so you won't have to change anything if you were using an older version of the plugin.
New permissions:
maintenance.command (required to use any of the commands)
maintenance.toggle (to use /maintenance <on/off>)
maintenance.reload (to use /maintenance reload)
maintenance.update (to use /maintenance <update/forceupdate>)
maintenance.timer (to use /maintenance <starttimer/endtimer> )
maintenance.whitelist.add (to use /maintenance add )
maintenance.whitelist.remove (to use /maintenance remove )
maintenance.whitelist.list (to use /maintenance whitelist)
maintenance.setmotd (to use /maintenance setmotd <1/2> )
maintenance.motd (to use /maintenance motd)
... or use the "maintenance.*" permission to have access to all of the ones listed above