Guild System¶
Guilds in VMaNGOS span the world DB (templates for ranks) and the characters database (roster state).
Creation¶
- A player buys a guild charter from a petition NPC (
GUILD_CHARTER_COST= 1000 copper / 10 s) and collects exactly 9 signatures (the client hard-caps at 9) (PetitionsHandler.cpp):petition+petition_sign. - One signature per account (
player_accountguard). - Turning in the completed charter creates the guild rows.
Data Model¶
| Table (characters DB) | Purpose |
|---|---|
guild |
Guild header: name, leader, creation date, bank money. |
guild_rank |
Rank names/rights per guild; rank count on the header row. |
guild_member |
Roster: member guid, rank, public/officer notes. |
guild_eventlog |
Recent join/leave/leadership events (capped). |
Guild tabards are client-side customisation only in vanilla (no separate table).
NPC Side¶
- Petition vendors are normal creatures with
npc_flags = UNIT_NPC_FLAG_PETITIONER(0x200); guild tabard NPCs useUNIT_NPC_FLAG_TABARDDESIGNER(0x400). - Greeting text comes from the gossip system.
Related Pages¶
- guild
- Security & RBAC - who may create/delete guilds via commands