config.yml under the storage key. For a single-server setup the built-in SQLite driver requires zero external services and is ready immediately after installation. If you run a network of servers that share kit data, switch to MySQL, PostgreSQL, or Redis to give every node access to the same persistent store.
Choosing a Backend
SQLite
Recommended for single servers. Stores all data in a local file — no database server needed. Zero configuration beyond setting the type.
MySQL / MariaDB
Recommended for multi-server networks. A widely supported relational database that all your nodes can read from and write to simultaneously.
PostgreSQL
Recommended for multi-server networks. A powerful open-source relational database. Use this if your infrastructure already runs Postgres.
Redis
High-performance distributed setups. An in-memory data store suited for networks that need extremely fast read/write throughput.
Configuration
Setstorage.type to the backend you want, then fill in the corresponding credentials block. You only need to populate the section that matches your chosen type — all other credential blocks are ignored.
- SQLite
- MySQL
- PostgreSQL
- Redis
SQLite requires no additional credentials. Set the type and you’re done.
config.yml
Configuration Reference
Common Fields (MySQL & PostgreSQL)
The hostname or IP address of your database server. Use
localhost if the database runs on the same machine as your Minecraft server.The port the database server listens on. Defaults are
3306 for MySQL and 5432 for PostgreSQL.The name of the database (schema) PerPlayerKit will use. Create this database in advance and grant your user the necessary permissions.
The database user PerPlayerKit authenticates as. Grant this user
SELECT, INSERT, UPDATE, DELETE, and CREATE TABLE privileges on the target database.The password for the database user. Store your
config.yml securely and restrict file permissions so this value is not exposed.Set to
true to require an encrypted TLS connection between PerPlayerKit and the database server. Recommended for any database not running on localhost.The maximum number of connections HikariCP will open to the database. Increase this value if you have a high player count and observe connection-wait timeouts in the logs.
Redis Fields
The hostname or IP address of your Redis server.
The port Redis listens on. The default is
6379.The Redis
requirepass password. Leave empty or omit if your Redis instance has no authentication configured.