web/website/docs/clans-realms-and-emblems.md

1.5 KiB

Clans, Realms and emblems

Clans are non-noble player houses focused on combat/PvP roleplay. Their selected homeworld determines Realm affiliation: Kaladam/Aerdrecht, Giedermark/Harkveen, Kaiterhof/Korenholt, Sigmadraken IV/Oordwijk, Arrakduin/Vrijduin. No selection means unassigned. Affiliation itself does not grant political office or staff permissions. Companies are the economic-roleplay grouping beneath Vaerkring; covert operations are a future gameplay feature, not enabled by this batch.

The linked clan owner can upload, replace or remove an emblem on the clan management page. Accept still PNG/JPEG/WebP up to 2 MB and 4 million pixels. The server decodes and re-encodes to a metadata-free WebP bounded to 512 pixels. Current ownership, link and image version are checked within the transaction. Changes are audited. Missing clan/emblem uses the neutral clan placeholder.

One central image endpoint supplies clan cards, citizen profiles and the area below forum avatars. Forum output is a custom adapter, not a MyBB core patch. Public image reads deliberately reveal only the emblem, not member identity, email or UUID. Replacements propagate through the same endpoint.

After publication, apply scripts/install-clan-emblems.py --apply for the custom forum adapter. scripts/set-unimatrix-clan-emblem.mjs plans the explicitly requested pinned owner/clan artwork; --apply installs it using the same ownership/version/write handler. It refuses to replace an existing owner upload.