DUXPLIMA Documentation

PostgreSQL

Connecting to PostgreSQL to share each player's glow across servers.

storage {
  type     = "postgresql"
  host     = "db.example.net"
  port     = 0                # 0 is 5432
  database = "minecraft"
  username = "glow"
  password = "secret"
}
KeyMeaning
typepostgresql. The driver is downloaded on the first start
host, portThe database server; port 0 is 5432
databaseThe database, which must exist
username, passwordA user that may create tables in the database's default schema

Everything else, the prefix, the pool and the sync, reads as for MySQL and MariaDB. To bring an existing SQLite file across, see Moving off SQLite.

Related: Overview