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

Updating the plugin

Pyves edited this page Feb 18, 2017 · 16 revisions

The plugin usually enforces compatibility with any previous version. Changes are automatically performed to the database and new parameters are added at the end of your config.yml and lang.yml files. Just replace your old version of the plugin by the latest one, and let the server restart (reloads are not recommended for upgrades). There are nevertheless a few point to bear in mind while upgrading:

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 between 2.5.2 and 2.5.6

Do a backup of you database before upgrading. From version 3.0 onwards, although there is a new separation between Name and DisplayName, you should not change any of your achievement Name parameters, as these are the ones currently used by your database. You can use more database-friendly Name parameters for new achievements you create.

If you want to use PostgreSQL, you will have to add the new configuration parameters in your config.yml manually (simply copy-paste from default configuration).

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 new fields that were added in the newer versions.