Skip to content

Example: trusting the right people

Pixel Forge is a game-development community of 2,400 members. Its people:

Who Role What Mia wants
Mia Discord server owner Stay in control of everything
Leo Co-founder Able to do everything Mia does with iHorizon, without asking
Sam Head moderator, with Ban Members and Manage Channels in Discord Ban raiders and clean up channels by hand without Protection undoing it
Nina Moderator, with Ban Members in Discord Moderate with iHorizon's commands; nothing destructive by hand
Raidz A raider who hit two partner servers last week, not on Pixel Forge yet Never set foot on the server

The server already uses permission levels and command rules: perm and commandlimit are locked at Perm 9, mod ban at Perm 5, and economy rob is limited to 3 per hour.

1. Leo joins the owner list

Mia runs:

/owner member:@Leo
/owner member: @Leo
iHorizonAPPToday at 20:02
Leo is now an owner of the iHorizon Project!

Despite the wording, Leo is now an owner of Pixel Forge for iHorizon, nothing more.

Leo is now treated like Mia for every command rule, every usage limit and Protection. He doesn't get any Discord permission: Mia gives him the roles she wants in Discord, as usual.

2. Sam joins the allowlist

Sam isn't an owner, but he bans raiders and deletes spam channels by hand. Mia adds him to the allowlist (she's the only one who can):

/allowlist add member:@Sam

Then she opens /protect and sets the rules:

Rule Bypass Why
Ban members Member(s) of allowlist Sam can ban by hand; a stolen moderator account can't mass-ban
Channel deletion Member(s) of allowlist Sam cleans up; nobody else deletes channels
Role deletion Member(s) of allowlist Same for roles
Admin role grants Nobody. (Except server owner) Only Mia and Leo ever hand out Administrator
Server edits Nobody. (Except server owner) Name, icon, verification level: owners only

3. Raidz is blacklisted before he arrives

Raidz isn't on the server, so Mia picks him by his user ID:

/blacklist user:@Raidz reason:Raided two partner servers
/blacklist user: @Raidz reason: Raided two partner servers
iHorizonAPPToday at 20:09
Raidz is now blacklisted

He's only written down for now. The day he joins, he gets a private message and is banned (iHorizon has Ban Members).

4. Check everything

  1. /owner: Mia and Leo.
  2. /allowlist show: Mia and Sam.
  3. /blacklist: Raidz, with the reason, the date and Mia's ID.

What you get

Situation What happens
Leo runs /perm command, locked at Perm 9, without any level It runs: the owner list passes every command rule
Leo spams /economy rob Never limited: owners skip usage limits
Leo bans someone by hand in Discord Nothing is undone: Protection never touches the owners
Leo grants himself an Administrator role Allowed, even with Admin role grants on Nobody
Leo runs /owner member:@Kai Kai becomes an owner too: every owner can add owners
Leo runs /unowner member:@Mia Refused: "It is not possible to remove this user; they are the creator of the iHorizon Project."
Leo runs /protect Refused: "Only the Owner of the server can edit the authorization rule about the protection module!"
Leo runs /allowlist add member:@Nina Refused: only the Discord server owner manages the allowlist
Leo runs /allowlist show Refused: he isn't on the allowlist
Leo floods a channel The anti-spam sanctions him like anyone (unless he has Administrator or a bypass role)
Sam bans a raider by hand Allowed: he's on the allowlist and Ban members lets the allowlist through
Sam deletes a spam channel by hand Allowed: Channel deletion lets the allowlist through
Sam runs /honeypot config without Administrator Allowed: the allowlist may configure the honeypot
Sam runs /blacklist user:@Someone Nothing happens: he isn't on the owner list
Sam runs /mod ban, locked at Perm 5 Depends on his level, like any staff member: the allowlist doesn't open command rules
Nina bans someone by hand in Discord The ban is lifted and Nina gets the Protection sanction
Nina runs /mod ban with her Perm 5 role Works: Protection doesn't revert bans made by iHorizon itself
Raidz joins Private message "You have been banned, because you are blacklisted from this server.", then banned
Raidz comes back with an unban by mistake Banned again on join, as long as he's on the blacklist
Mia transfers the server to Leo Leo gets the crown's powers; Mia stays on the owner list until Leo runs /unowner member:@Mia

Everything here can also be reviewed in the dashboard by Mia: Owners, Blacklist and Allowlist modules.

Going further

The security guide puts these lists together with Protection, the anti-spam, the honeypot and the permission levels into a complete defence plan.