Skip to main content

Which one should you use

Never use yml on a real server; concurrent writes lose data.

Set it up

Set storage.type, then fill the matching block.
config.yml
The file appears at plugins/PerPlayerKit/database.db.
Create the database before first start. The plugin creates its , not the database.

Sharing one database across servers

Set the same kits.max-slots on every server; a kit in slot 12 does not exist on a server capped at 9.
The last loaded inventory kit and enderchest slot are stored alongside kit data and read when players join. MySQL, PostgreSQL, and Redis can share these choices across servers. Keep public kit IDs and definitions consistent too. Kits are cached while a player is online; log them out before editing from another server.

Changing database later

Change database

SQLite to MySQL, or any two types.

Export and import

Copy a kit room to another server.
V3 storage type names ignore case and surrounding spaces. Unknown types stop startup. During an upgrade, an old SQLite fallback is preserved and reported; see Upgrading.