Updates
Updating the plugin, automatic updates of the configuration files and the check for new versions.
Updating the plugin
Section titled “Updating the plugin”- Stop the server.
- Replace the jar in
plugins/with the new version. - Start the server.
Automatic file updates
Section titled “Automatic file updates”When a version adds options, they are added to config.yml and the language files with their documentation, and your
values are kept.
- A backup is made in
backups/before any change. - A file is only rewritten when an update has to add or change something in it.
- In
config.yml,lang/en.ymlandlang/pl.ymlthe comments above options then come from the default file. Notes after a value on the same line are kept. - Custom language files keep your comments.
- Zone files are never changed automatically.
Checking for new versions
Section titled “Checking for new versions”Once at startup, in the background, the plugin reads the number of the latest version from
https://szpontcode.pl/versions/szpontafkzone.txt. When a newer version is out, it tells the console and, when they
join, players with the szpontafkzone.notify.update permission.
- The request contains no server or player data, only the plugin version in the
User-Agentheader. Like any web request, it shows the server’s IP address to szpontcode.pl. - The check does not slow the server down.
- Turn it off with
update-checker.enabled: falseinconfig.yml(needs a restart), or turn off only the messages to players withupdate-checker.notify-on-join: false.
