Skip to content

Bans

Bans

Bans are issued in game from the Bans page or with the ban commands, and appear on the Moderation page. They sync to every server within seconds and even reach players who are offline or have never joined your game, applying the moment they arrive. Bans can also go through Roblox's own ban API to catch alt accounts at the platform level. See Cross-Server for how this replicates.

Important

HD Admin does not yet support an unlimited number of bans. For now a game can hold a few thousand at once. We're working fast to raise this.


Static bans

For bans you want to keep in Studio (or version control), add entries to Config > Bans keyed by UserId. reason is required and everything else is optional:

return {
    [123456789] = {
        reason = "Example",
    },
    [12345] = {
        type = "expire",
        bannedBy = 222333,
        expiresAt = 1767225600,
        reason = "Example",
    },
}

type can be "perm" (the default) or "expire" with a Unix time expiresAt. Static bans never call Roblox's BanService. Bans issued in game appear on the Moderation page instead.