Storage
storage.yml decides where player data lives: active channel, joined channels, personal
toggles, language, nickname, ignore list, reply target, mutes, parties and, when enabled,
the chat log.
type: sqliteNothing else to configure. The database file is created in the plugin folder. Fine for a single server; each server keeps its own copy, so nothing follows players between them.
type: mysqlhost: localhostport: 3306database: voxenusername: voxenpassword: "secret"table-prefix: voxen_pool-size: 10type: mysql covers MariaDB as well. Use this on a network so settings, nicknames,
ignores, mutes and parties are shared.
Tables
Section titled “Tables”Every table is prefixed with table-prefix, so several plugins or several networks can
share one database:
| Table | Holds |
|---|---|
voxen_players |
per-player settings, nickname, reply target |
voxen_ignores |
ignore lists |
voxen_mutes |
active and expired mutes |
voxen_parties / voxen_party_members |
parties |
voxen_chat_log |
stored messages, only when history is enabled |
voxen_schema |
the schema version, used for automatic migrations |
Schema updates run on startup. There is nothing to migrate by hand between plugin versions.
Pool size
Section titled “Pool size”pool-size is the HikariCP connection pool. 10 is right for almost everyone. Voxen does
its database work on a single background thread, so raising it does not make anything
faster.
What is not stored
Section titled “What is not stored”Slowmode, the global chat mute and channel mutes live in memory and are cleared by a restart. Mutes on players are stored, and on a network they are also broadcast live. See Cross-server chat.