Skip to main content
Permission: perplayerkit.admin. Works in game and from the console. The copy runs in the background while the server stays online.
Back up first. For SQLite, copy plugins/PerPlayerKit/database.db; for YAML, copy please-use-a-real-database.yml.

Step by step

1

Back up your data

Copy the file; for a managed database take a .
2

Put the new details in config.yml

Add the credentials and leave storage.type on the old database.
config.yml
3

Check the new database is reachable

Confirm it is running and reachable through any .
4

Run the migration

Progress prints to chat and console every 100 entries.
5

Wait for the success message

Watch for “Migration completed successfully!”.
Do not restart or change storage.type before that message appears.
6

Switch storage.type

config.yml
7

Restart the server

Fully. A reload does not reconnect the plugin.

Check it worked

  • No storage errors at startup
  • A test account’s kits load
  • Saving a kit survives a relog
  • The kit room and public kits are intact
  • Every server on this database has the same kits.max-slots

Going back

The migration copies; the old database is untouched. To roll back, set storage.type to the old type and restart.

Problems