Skip to content

Updates

Updating the plugin, automatic updates of the configuration files and the check for new versions.

  1. Stop the server.
  2. Replace the jar in plugins/ with the new version.
  3. Start the server.

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.yml and lang/pl.yml the 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.

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-Agent header. 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: false in config.yml (needs a restart), or turn off only the messages to players with update-checker.notify-on-join: false.