# Commands and permissions

All 36 GlacierStaff commands, their aliases, and every permission node with who gets it.

Each command has a `glacier` name and keeps its short name as an alias. If another plugin takes an alias, use the `glacier` name or the `glacierstaff:` prefix. Tab completion covers subcommands and player names.

When a module is off, its commands still exist and reply that the module is disabled.

## Everyone

| Command | Aliases | Permission |
| --- | --- | --- |
| `/glaciermodmail <message\|view>` | `modmail`, `helpop` | `glacierstaff.members.modmail.use` |
| `/glacierstaffreport <player> <reason>` | `report` | `glacierstaff.members.reports.submit` |
| `/glacierafk` | `afk` | `glacierstaff.members.staffutils.afk` |
| `/glacierappeal <code> <message>` | `appeal` | none, needs an appeal code |

`glacierstaff.members.*` permissions are given to everyone by default.

## Core and modules

| Command | Aliases | Permission |
| --- | --- | --- |
| `/glacierstaff [help\|modules\|status\|reload]` | | `glacierstaff.staff.core.use` |

## Visibility and staff mode

| Command | Aliases | Permission |
| --- | --- | --- |
| `/glaciervanish [toggle\|list]` | `vanish`, `v` | `glacierstaff.staff.vanish.toggle` |
| `/glacierstaffmode [toggle]` | `staffmode`, `sm` | `glacierstaff.staff.staffmode.toggle` |
| `/glacierstaffhud [auto\|off\|actionbar\|scoreboard\|both]` | `staffhud` | `glacierstaff.staff.staffutils.hud` |
| `/glacierstafftools [players\|player\|moderation\|travel\|team\|worlds\|hud\|waypoints\|waypoint\|back\|top]` | `staff`, `stafftools` | `glacierstaff.staff.staffutils.menu` |
| `/glacierstafflist` | `stafflist` | `glacierstaff.staff.staff.open` |

## Investigation

| Command | Aliases | Permission |
| --- | --- | --- |
| `/glacierfreeze <player\|list> [time] [reason]` | `freeze`, `ss` | `glacierstaff.staff.freeze.freeze` |
| `/glacierunfreeze <player\|*>` | `unfreeze` | `glacierstaff.staff.freeze.unfreeze` |
| `/glacierfreezechat <player> <message>` | `freezechat` | `glacierstaff.staff.freeze.chat` |
| `/glacierinvsee <player>` | `invsee` | `glacierstaff.staff.invsee.use` |
| `/glacierinventory <save\|view\|rollback\|delete\|restore\|restores\|collect\|revoke> <player>` | `inventory`, `invsnap` | `glacierstaff.staff.inventory.use` |
| `/glaciercps [view] [player]` | `cps` | `glacierstaff.staff.cps.check` |
| `/glacierreplay [menu\|controls\|list\|play\|report\|save\|...]` | `replay` | `glacierstaff.staff.replays.use` |
| `/glaciermining [review\|player\|tools\|xray\|reveal]` | `mining` | `glacierstaff.staff.mining.review`, `.xray` or `.reveal` |
| `/glacieraltcheck <player>` | `altcheck`, `alts` | `glacierstaff.staff.altdetect.alert` |
| `/glacierlogs view <player>` | `logs`, `stafflogs` | `glacierstaff.staff.logs.use` |
| `/glacierrandomtp` | `randomtp`, `rplayer` | `glacierstaff.staff.randomtp.use` |

## Action

| Command | Aliases | Permission |
| --- | --- | --- |
| `/glacierpunish <player>\|view\|history\|queue\|issue\|...` | `punish` | `glacierstaff.staff.punish.open` |
| `/glacierreports [player\|UUID\|id <report-id>]` | `reports` | `glacierstaff.staff.reports.manage` |
| `/glacierchatcontrol <mute\|unmute\|clear>` | `chatcontrol`, `cc` | `glacierstaff.staff.chatcontrol.mute` |

## Team

| Command | Aliases | Permission |
| --- | --- | --- |
| `/glacierstaffchat [toggle\|switch\|send\|leave]` | `staffchat`, `sc` | `glacierstaff.staff.staffchat.toggle` |
| `/glaciersocialspy` | `socialspy`, `spy` | `glacierstaff.staff.socialspy.use` |
| `/glaciernotes <player>\|add\|remove` | `notes` | `glacierstaff.staff.notes.manage` |
| `/glacierwatchlist <add\|remove\|list>` | `watchlist`, `watch` | `glacierstaff.staff.notes.manage` |
| `/glacierstaffactivity [player\|top]` | `staffactivity`, `activity` | `glacierstaff.staff.staffactivity.use` |

## Travel

| Command | Aliases | Permission |
| --- | --- | --- |
| `/glacierseen <player\|uuid>` | `seen` | `glacierstaff.staff.staffutils.seen` |
| `/glaciertpoffline <player\|uuid>` | `tpoffline` | `glacierstaff.staff.staffutils.location` |
| `/glaciertppos <x> <y> <z> [world]` | `tppos` | `glacierstaff.staff.staffutils.tppos` |
| `/glaciertpworld <world>` | `tpworld` | `glacierstaff.staff.staffutils.tpworld` |
| `/glaciertop` | `top` | `glacierstaff.staff.staffutils.top` |

## Security

| Command | Aliases | Permission |
| --- | --- | --- |
| `/glacierstaffauth [verify\|setup\|discord\|status\|logout]` | `staffauth`, `sauth` | `glacierstaff.staff.staffauth.use` |
| `/glacierstaffdiscord [status\|test]` | `staffdiscord` | `glacierstaff.staff.discord.status` |

Console-only: `glacierstaffauth enroll|link|status|revoke|reset <uuid>`.

## Who gets what

- `glacierstaff.members.*` nodes are given to everyone, along with `glacierstaff.staff.staffauth.use` so protected staff can always reach the verify screen.
- `glacierstaff.admin` is given to ops and includes every staff node except the nine marked **Nobody until granted** below. Those are exemptions and opt-ins: a node that makes someone unfreezable or hides them from the staff list shouldn't come with op.
- Alerts only reach staff who hold the matching node:

  | Alert | Node |
  | --- | --- |
  | New reports | `glacierstaff.staff.reports.manage` |
  | New ModMail requests | `glacierstaff.staff.modmail.view` |
  | CPS flags | `glacierstaff.staff.cps.verbose` |
  | Mining cases | `glacierstaff.staff.mining.alerts` |
  | Shared-IP joins | `glacierstaff.staff.altdetect.alert` |
  | Watchlisted joins | `glacierstaff.staff.notes.manage` |
  | Death snapshots, when `auto-save.on-death.broadcast` is on | `glacierstaff.staff.inventory.notify` |
- To appear in `/stafflist` and the roster placeholders, a staff member needs `glacierstaff.staff.staff.listed`.

## All permissions

### Core

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierstaff.staff.core.use` | Admins | The GlacierStaff administration command |
| `glacierstaff.staff.core.help` | Admins | Viewing GlacierStaff command help |
| `glacierstaff.staff.core.modules` | Admins | Enabling and disabling GlacierStaff modules |
| `glacierstaff.staff.core.status` | Admins | Viewing GlacierStaff module status |
| `glacierstaff.staff.core.reload` | Admins | Reloading settings, language files and modules |
| `glacierstaff.staff.core.enableall` | Admins | Enabling every optional module from the module menu |
| `glacierstaff.staff.core.disableall` | Admins | Disabling every optional module from the module menu |

### Staff List

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierstaff.staff.staff.listed` | Admins | Appears in the online staff roster and its placeholders |
| `glacierstaff.staff.staff.open` | Admins | Opening the online staff roster with /stafflist |
| `glacierstaff.staff.staff.skip` | Nobody until granted | Hide this staff member from the online staff roster and roster placeholders |

### Vanish

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierstaff.staff.vanish.toggle` | Admins | Toggling vanish |
| `glacierstaff.staff.vanish.see` | Admins | Seeing and listing vanished staff at level 1 |

### Freeze

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierstaff.staff.freeze.chat` | Admins | Replying privately to frozen players with /freezechat |
| `glacierstaff.staff.freeze.freeze` | Admins | Freezing players and listing frozen players |
| `glacierstaff.staff.freeze.unfreeze` | Admins | Unfreezing players |
| `glacierstaff.staff.freeze.bypass` | Nobody until granted | Can't be frozen |
| `glacierstaff.staff.freeze.chat-bypass` | Nobody until granted | Can still chat while frozen |

### Staff Mode

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierstaff.staff.staffmode.toggle` | Admins | Toggling staff mode |

### Staff Chat

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierstaff.staff.staffchat.toggle` | Admins | Toggling staff chat mode |
| `glacierstaff.staff.staffchat.send` | Admins | Sending a single message to a staff chat channel |
| `glacierstaff.staff.staffchat.switch` | Admins | Switching the active staff chat channel |
| `glacierstaff.staff.staffchat.leave` | Admins | Leaving the active staff chat channel |
| `glacierstaff.staff.staffchat.channel.staff.send` | Admins | Sending to the staff channel |
| `glacierstaff.staff.staffchat.channel.staff.view` | Admins | Reading the staff channel |
| `glacierstaff.staff.staffchat.channel.admin.send` | Admins | Sending to the admin channel |
| `glacierstaff.staff.staffchat.channel.admin.view` | Admins | Reading the admin channel |
| `glacierstaff.staff.staffchat.channel.support.send` | Admins | Sending to the support channel |
| `glacierstaff.staff.staffchat.channel.support.view` | Admins | Reading the support channel |

### Random TP

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierstaff.staff.randomtp.use` | Admins | Teleporting to a random online player |
| `glacierstaff.staff.randomtp.bypass-cooldown` | Admins | Skips the /randomtp teleport cooldown |
| `glacierstaff.staff.randomtp.exempt` | Nobody until granted | Never picked as a /randomtp target |

### Punish

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierstaff.staff.punish.open` | Admins | Opening the punishment menu |
| `glacierstaff.staff.punish.warn` | Admins | The Warn button in the command punishment menu |
| `glacierstaff.staff.punish.kick` | Admins | The Kick button in the command punishment menu |
| `glacierstaff.staff.punish.msg` | Admins | The Message button in the command punishment menu |
| `glacierstaff.staff.punish.mute.1h` | Admins | The one-hour mute button in the command punishment menu |
| `glacierstaff.staff.punish.mute.24h` | Admins | The 24-hour mute button in the command punishment menu |
| `glacierstaff.staff.punish.ban.1d` | Admins | The one-day ban button in the command punishment menu |
| `glacierstaff.staff.punish.ban.7d` | Admins | The seven-day ban button in the command punishment menu |
| `glacierstaff.staff.punish.ban.perm` | Admins | The permanent ban button in the command punishment menu |
| `glacierstaff.staff.punish.native.request` | Admins | Requesting native punishments that need approval |
| `glacierstaff.staff.punish.native.history` | Admins | Viewing a player's native punishment history |
| `glacierstaff.staff.punish.native.review` | Admins | Approving and rejecting queued punishment requests |
| `glacierstaff.staff.punish.native.revoke` | Admins | Revoking active native punishments |
| `glacierstaff.staff.punish.native.appeals` | Admins | Recording and dismissing punishment appeals |
| `glacierstaff.staff.punish.native.issue.warn` | Admins | Issuing native warnings without approval |
| `glacierstaff.staff.punish.native.issue.kick` | Admins | Issuing native kicks without approval |
| `glacierstaff.staff.punish.native.issue.mute` | Admins | Issuing native mutes without approval |
| `glacierstaff.staff.punish.native.issue.ban` | Admins | Issuing temporary native bans without approval |
| `glacierstaff.staff.punish.native.issue.ban.permanent` | Admins | Issuing permanent native bans without approval |

### ModMail

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierstaff.staff.modmail.view` | Admins | Opening the ModMail inbox and receiving new request alerts |
| `glacierstaff.staff.modmail.manage` | Admins | Claiming, releasing and closing ModMail requests |
| `glacierstaff.staff.modmail.delete` | Admins | Deleting ModMail requests from the inbox |
| `glacierstaff.members.modmail.use` | Everyone | Send a message to staff with /modmail |

### Logs

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierstaff.staff.logs.use` | Admins | The staff log command |
| `glacierstaff.staff.logs.view` | Admins | Browsing a player's staff action log |

### Invsee

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierstaff.staff.invsee.use` | Admins | Viewing another player's inventory |
| `glacierstaff.staff.invsee.skip` | Admins | Hides this player from invsee's previous and next player cycling |
| `glacierstaff.staff.invsee.edit` | Admins | Editing another player's inventory |
| `glacierstaff.staff.invsee.ender.view` | Admins | Viewing another player's ender chest |
| `glacierstaff.staff.invsee.ender.edit` | Admins | Editing another player's ender chest |

### Inventory

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierstaff.staff.inventory.use` | Admins | The inventory snapshot command |
| `glacierstaff.staff.inventory.view` | Admins | Viewing saved inventory snapshots |
| `glacierstaff.staff.inventory.save` | Admins | Saving an inventory snapshot |
| `glacierstaff.staff.inventory.rollback` | Admins | Restoring inventory snapshots |
| `glacierstaff.staff.inventory.revoke` | Admins | Revoking items handed out by a tracked restore |
| `glacierstaff.staff.inventory.delete` | Admins | Deleting inventory snapshots |
| `glacierstaff.staff.inventory.notify` | Admins | Receives death-snapshot alerts |
| `glacierstaff.staff.inventory.autosave-bypass` | Nobody until granted | No inventory snapshot is saved when you die |

### CPS

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierstaff.staff.cps.check` | Admins | Checking a player's clicks per second |
| `glacierstaff.staff.cps.verbose` | Admins | Receives CPS alerts |
| `glacierstaff.staff.cps.exempt` | Nobody until granted | Clicks are not tracked by the CPS module |

### Chat Control

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierstaff.staff.chatcontrol.mute` | Admins | Muting the chat |
| `glacierstaff.staff.chatcontrol.unmute` | Admins | Unmuting the chat |
| `glacierstaff.staff.chatcontrol.clear` | Admins | Clearing the chat |
| `glacierstaff.staff.chatcontrol.bypass` | Admins | Can chat while the chat is muted and skips chat filters |

### Reports

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierstaff.staff.reports.manage` | Admins | Opening the report queue and receiving report alerts |
| `glacierstaff.members.reports.submit` | Everyone | Report a player with /report |

### Social Spy

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierstaff.staff.socialspy.use` | Admins | Spying on GlacierHub private messages |

### Staff Activity

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierstaff.staff.staffactivity.use` | Admins | Viewing staff on-duty time and punishment activity |

### Notes

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierstaff.staff.notes.manage` | Admins | Managing staff notes and the watchlist |

### Alt Detection

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierstaff.staff.altdetect.alert` | Admins | /altcheck and receives alt-account join alerts |

### Replays

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierstaff.staff.replays.use` | Admins | Browsing and playing replays |
| `glacierstaff.staff.replays.evidence` | Admins | Saving replays as evidence |

### Mining

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierstaff.staff.mining.review` | Admins | Reviewing mining investigations |
| `glacierstaff.staff.mining.alerts` | Admins | Receives mining investigation alerts |
| `glacierstaff.staff.mining.xray` | Admins | Toggling the private ore overlay |
| `glacierstaff.staff.mining.reveal` | Admins | Toggling the private invisibility overlay |
| `glacierstaff.staff.mining.exempt` | Nobody until granted | Exclude this player's mining from investigation scoring |

### Staff Utilities

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierstaff.staff.staffutils.menu` | Admins | Opening the GlacierStaff hub and player workbench |
| `glacierstaff.staff.staffutils.back` | Admins | Returning from the last staff teleport |
| `glacierstaff.staff.staffutils.waypoints` | Admins | Saving and using personal waypoints |
| `glacierstaff.staff.staffutils.seen` | Admins | Checking when a player was last seen |
| `glacierstaff.staff.staffutils.location` | Admins | Teleporting to an offline player's last location |
| `glacierstaff.staff.staffutils.teleport-player` | Admins | Teleporting to online players from the staff tools |
| `glacierstaff.staff.staffutils.tppos` | Admins | Teleporting to coordinates |
| `glacierstaff.staff.staffutils.tpworld` | Admins | Teleporting to a loaded world's spawn |
| `glacierstaff.staff.staffutils.top` | Admins | Teleporting to the highest safe block in your column |
| `glacierstaff.staff.staffutils.hud` | Admins | Choosing where the staff HUD is displayed |
| `glacierstaff.members.staffutils.afk` | Everyone | Mark yourself as AFK |

### Staff Auth

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierstaff.staff.staffauth.use` | Everyone | Open the staff authentication command and keypad |
| `glacierstaff.staff.staffauth.required` | Nobody until granted | Require verification before staff actions when Staff Auth is enabled |

### Discord

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierstaff.staff.discord.status` | Admins | View outgoing Discord webhook health and queue counts |
| `glacierstaff.staff.discord.test` | Nobody until granted | Send a test message to the configured Discord webhook |

## Permissions with a variable part

| Permission | What it does |
| --- | --- |
| `glacierstaff.staff.vanish.level.<1-10>` | The level you vanish at. Without one you vanish at level 1 |
| `glacierstaff.staff.vanish.see.level.<1-10>` | See vanished staff up to this level |
| `glacierstaff.staff.punish.native.issue.<type>` | Issue native `warn`, `mute`, `kick` or `ban` steps. A reason step can name its own node instead |
| `glacierstaff.staff.staffchat.channel.<name>.view` / `.send` | Read or write a staff chat channel. The bundled channels are `staff`, `support` and `admin` |

Punish menu buttons in command mode (`native.enabled: false`) each name their own node, such as `glacierstaff.staff.punish.ban.1d`.
