/serverlock
Overview
/serverlock marks the server as locked and, optionally, sets up a password gate: a dedicated channel where new members must type a password to be treated as let in.
Required Permissions
- Administrator
Options
| Option | Required | Description |
|---|---|---|
action | Yes | Enable or Disable |
password | No | Password for the gate channel (only used with enable) |
Behavior
- Enable without a password: marks the server as locked.
- Enable with a password: creates (or reuses) a
server-passwordchannel, visible to everyone even while other channels are locked, where the password is posted for staff reference and new members are expected to enter it. - The password is stored in plain text in BetterAntiSpam's configuration. Anyone with access to
/serverlock enableagain can see it. - Disable: clears the lock, removes the password, and deletes the password channel if one was created.
- Enabling or disabling logs a moderation-log entry and posts a public announcement in the channel where you ran the command.
/serverlock is independent of /lockdown. Locking channel permissions with /lockdown doesn't affect the server lock state, and vice versa.