Extra Owner
System
Allows server owners to appoint highly trusted administrators with near-total control over security features, bridging the gap between staff and the primary owner.
High-Level Access
Extra Owners can toggle Anti-Nuke, configure punishments, and manage the whitelist — actions restricted from regular admins.
Security Hierarchy
Strictly enforced: Only the Primary Server Owner (User ID matches guild.ownerId) can manage the Extra Owner list.
Scalability & Limits
Supports up to 10 unique Extra Owner slots per server, allowing for a robust senior security team.
Zero-Latency Sync
Changes are instantly synchronized between MongoDB and the in-memory engine for real-time protection updates.
Technical Specifications
- Database: Persisted via
extraownerarray inmodels/antinuke.js. - Cache Engine: Managed via
extraOwnersSet inantinukeMemory.js. - O(1) Lookups: Utilizes
isExtraOwner()for millisecond permission checks.
The primary server owner remains the ultimate authority. Extra Owners cannot remove the primary owner or each other — preventing hostile takeovers within the co-owner tier.