Skip to content
This repository has been archived by the owner on Nov 2, 2021. It is now read-only.

Updating the plugin

Pierre-Yves B edited this page Apr 26, 2020 · 16 revisions

General procedure

The plugin ensures compatibility with previous versions. Changes are automatically performed to the database and new parameters are added at the end of your config.yml, gui.yml and lang.yml files. Just replace your old version of the plugin by the latest one. Replacing Java jars while the server is running is not recommended, you should temporarily stop your server to upgrade your plugins.

To be on the safe side, it is recommended to do a backup of the plugin's files and database before upgrading, even though loss of data has never been reported so far.


Upgrading to a version with new categories

When new achievement categories are added to the plugin (for instance PlayerCommands), they are also automatically added to the DisabledCategories list during the upgrade. Don't forget to remove them from the list once you're done creating the corresponding achievements!


Upgrading from a version older than 5.0

Do the upgrade in two steps:

  • please start the server once with version 5.16.0: this will make sure all configuration and database changes from older versions are performed.
  • you can then happily update to version 6.0.0+!

Upgrading from a version older than 2.5.2

You should generate a whole new config.yml and lang.yml with the latest plugin version, in order to get all the fields that were added in the newer versions.