Files
spigot-tyrant/design/concepts/persistence-model.md
T
dmg 10f670a7da
Release / release (push) Successful in 2m44s
CI / build (push) Successful in 1m3s
feat(vigilante): add arena boss succession
2026-08-23 17:31:42 -04:00

1.5 KiB

type, title, description
type title description
Design Concept Persistence Model Defines the durable state and timekeeping needed to restore a Tyrant game safely.

Persistence Model

State is keyed by player UUID while retaining the latest known player name for display. Durable global state includes lifecycle status, current and pending role holders, selection deadlines, paused durations, the current Tyrant reign, and the administrator-configured Vigilante arena center. Active boss and challenger entities are transient and are reconstructed or reset from authoritative role and arena state after restart.

Durable player state includes participation status, opt-out deadline, login history, role or class, Tyrant level, purchased unlocks, unspent choices, Follower relationship, ability cooldowns, daily intelligence use, bound-item delivery state, and captured mobs.

Elapsed-time rules use UTC instants. Paused time is excluded from timers. Saves use atomic replacement where supported, preserve unknown fields where practical, and reject corrupt records rather than granting powers, assignments, or duplicated entities.