Skip to content

Storage backends

Claimo stores redemption counts — global pools and per-player usage — in a backend you choose under storage: in config.yml.

Single server, no setup

Use yaml or sqlite — nothing to install, data stays local.

Multiple servers

Use mysql, postgresql or mongodb so a shared database keeps pools consistent across a network.

type Setup Best for
yaml None → plugins/Claimo/usage.yml Single server, human-readable
sqlite None → plugins/Claimo/data.db Single server, more robust than YAML
mysql Shared database Multi-server networks
postgresql Shared database Multi-server networks
mongodb Shared database Multi-server networks

The host, port, database, username, password, table-prefix and pool-size keys apply to the network backends (mysql / postgresql / mongodb). The local backends ignore them.

Zero setup — just pick the type. Data lives in the plugin folder.

config.yml
storage:
type: yaml # or: sqlite
Key Applies to Meaning
type all The backend. yaml, sqlite, mysql, postgresql or mongodb.
uri mongodb Full connection string (e.g. mongodb+srv://…). When set, it overrides host/port/credentials.
host / port network Server address.
database network Database (Mongo: which database) to use.
username / password network Credentials.
table-prefix network Prefix for tables (Mongo: collections).
pool-size network Connection pool size.