Codex¶
How to play¶
/codex opens the in-game codex — a browsable reference of blocks,
items, and the bestiary (NPC types with their codex info). It is
populated from the same registries the server uses, so it always reflects the
active configuration.
Configuration¶
The codex has no config of its own. Its content is derived from:
- Blocks —
resources/blocks/ - Items —
items.yaml - Bestiary — NPC type definitions, see NPCs
The admin panel exposes the same data at GET /api/admin/blocks,
GET /api/admin/items and GET /api/admin/npc-types. Its codex view adds tabs
for models, equipment, siege weapons and furniture
(GET /api/siege-weapons, GET /api/furnitures).