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

Updating the plugin

PyvesB edited this page Dec 4, 2016 · 16 revisions

The plugin usually enforces compatibility with any previous version. Changes are automatically performed on the database and new sections are added to 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 categories are added to the plugin, 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 2.5.2 to 3.0.5 versions

Do a backup of you database before upgrading. Since version 3.0, 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 in 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 config parameters in you config manually (simply copy-paste from default config).

Upgrading from a version prior to 2.5.2

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