DUXPLIMA Documentation

Overview

What is stored, the tables, a network, and moving off SQLite.

BackendFor
SQLiteOne server. The default
MySQL and MariaDBA network sharing claims
PostgreSQLThe same, on PostgreSQL

Tables

Every table starts with table-prefix (uxmsimpleclaims_).

TableHolds
claimsEvery claim: owner, name, home server and world, and the rest of it (members, roles, flags, rules, sub areas, sale, warp) as one document with a version
claim_chunksWhich chunk belongs to which claim
invitesOpen invites
playersPer player: name, last seen, inactivity exemption, favourites
payoutsMoney owed to a player who was away
teleportsPlayers crossing servers to a claim
inboxWhat happened while a player was away
auditEvery change to a claim, kept retention.audit-days
snapshotsDeleted claims, kept retention.snapshots-days
schema_historyThe version the tables are at

A network

Point every server at the same database with the same table-prefix, give each a different network.server-name, and either set network.redis or let each poll every sync-seconds (2).

Keeping one server apart

local-only = true keeps one server on its own SQLite file, whatever type says.

Moving off SQLite

  1. Create the database and a user.
  2. Set type, host, port, database, username, password, and copy-from-file = true.
  3. Restart once. The rows are copied into the empty tables, and the console says how many.

Related: config.conf