v2.x to v3.x

This page is only useful if you used the version v2.x of PermissionManager. Otherwise, you shouldn't read it.

The version 3.x of PermissionManager use a database to store its data. You have two possibilities. H2 or MySQL. If you only have one server, you should use H2. If you have more than one server, you should use MySQL.

Warning

The v3.x doesn't support the rule system and the promotions won't be converted. The rule system wasn't used enough to migrate it into the new version of PM and the promotions changed. You can read more about the promotions here. The commands and the permissions of PermissionManager changed. Maybe you won't be affected, but you should check just to be sure.

How to migrate to H2

First of all, stop your server and create a backup. This is update is major and you should always make a backup between each update. To migrate to H2 you only have to drop the new version of PermissionManager into your mods folder and remove the last version of PermissionManager. Then you start you server and you run this PM v2.x in the console. After the command finished to run, everything should be fine.

How to migrate to MySQL

First of all, stop your server and create a backup. This is update is major and you should always make a backup between each update To migrate to MySQL, you have to create the config file first. To do this, follow the steps here. Then you start you server and you run this PM v2.x in the console. After the command finished to run, everything should be fine.