Files
spigot-tyrant/design/concepts/persistence-model.md
T
dmg 553db666e1
Release / release (push) Successful in 2m39s
CI / build (push) Successful in 1m10s
feat(armor): add Tyrant legacy rewards
2026-09-04 22:54:11 -04:00

1.7 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 its claimed legacy armor slots, and the administrator-configured Vigilante arena center. Active Tyrant or Vigilante challenge bosses and challenger entities are transient and are reconstructed or reset from authoritative role and shared-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.