# Commands and permissions

Every GlacierHub command, its aliases, and every permission node with who gets it.

Each command has a `glacier` name and keeps its short name as an alias, so `/glacierspawn` and `/spawn` run the same thing. If another plugin takes an alias, use the `glacier` name or the `glacierhub:` prefix, for example `/glacierhub:spawn`.

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

## Player commands

| Command | Aliases | Permission |
| --- | --- | --- |
| `/glaciernavigator` | `navigator`, `nav`, `servers` | `glacierhub.members.navigator.open` |
| `/glacierscoreboard` | `scoreboard`, `sb`, `sbtoggle` | `glacierhub.members.scoreboard.toggle` |
| `/glacierspawn` | `spawn` | `glacierhub.members.spawn.spawn` |
| `/glaciermsg <player> <message>` | `msg`, `message`, `tell`, `w` | `glacierhub.members.social.msg` |
| `/glacierreply <message>` | `reply`, `r` | `glacierhub.members.social.msg` |
| `/glacierreport <player> <reason>` | `report` | `glacierhub.members.social.report` |
| `/glaciergui [menu]` | `gui`, `menu` | `glacierhub.members.customgui.open` |
| `/glacierqueue <join\|leave\|list> [server]` | `queue`, `q` | `glacierhub.members.queue.use` |
| `/glaciercosmetics` | `cosmetics`, `cos` | `glacierhub.members.cosmetics.use` |
| `/glacierpoints [player]` | `points`, `pts` | `glacierhub.members.points.use` |
| `/glacierparkour <join\|leave\|list\|top>` | `parkour`, `pk` | `glacierhub.members.parkour.use` |
| `/glacierfriend <add\|accept\|deny\|remove\|list\|tp>` | `friend`, `friends`, `f` | `glacierhub.members.friends.use` |
| `/glaciershop` | `shop` | `glacierhub.members.shop.use` |
| `/glacierleaderboards` | `leaderboards`, `lb` | `glacierhub.members.leaderboards.use` |

## Staff commands

| Command | Aliases | Permission |
| --- | --- | --- |
| `/glacierhub [help\|modules\|status\|reload]` | | `glacierhub.staff.core.use`, plus the node for each subcommand |
| `/glacierspawn <player>` | `spawn` | `glacierhub.staff.spawn.others` |
| `/glaciersetspawn` | `setspawn`, `setspawnpoint`, `ssp`, `sethub` | `glacierhub.staff.spawn.setspawn` |
| `/glacierpointsadmin <give\|take\|set\|reset> <player> [amount]` | `pointsadmin`, `pa` | `glacierhub.staff.points.manage` |
| `/glacierparkour <create\|setstart\|addcheckpoint\|setfinish\|enable\|disable\|delete> <course>` | `parkour`, `pk` | `glacierhub.staff.parkour.build` |
| `/glaciermaintenance <on\|off\|toggle\|status>` | `maintenance`, `mtoggle` | `glacierhub.staff.maintenance.use` |
| `/glaciervoterewards <status\|test> [player]` | `voterewards` | `glacierhub.staff.voterewards.use` |

`/glacierhub` on its own opens the help page. `/glacierhub reload <module>` rebuilds one module from its files. `/glacierhub reload all` does every running module and also re-reads `settings.yml` and `lang/<locale>/global.yml`.

## Who gets what

- `glacierhub.members.*` nodes are given to everyone.
- `glacierhub.admin` is given to ops and includes every other node on this page.
- Everything else has to be granted, usually through a permission plugin.

## All permissions

### Core

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

### Navigator

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierhub.members.navigator.open` | Everyone | Opening the server navigator |

### Scoreboard

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierhub.members.scoreboard.toggle` | Everyone | Toggling the hub scoreboard |

### Spawn

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierhub.members.spawn.spawn` | Everyone | Teleporting to the hub spawn |
| `glacierhub.staff.spawn.setspawn` | Admins | Changing the hub spawn |
| `glacierhub.staff.spawn.others` | Admins | Teleporting another player to the hub spawn |

### Protections

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierhub.staff.protections.bypass` | Admins | Bypasses hub protection rules |

### Utilities

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierhub.fly` | Admins | Flight when the Utilities flight feature is enabled |

### Social

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierhub.members.social.msg` | Everyone | Sending and replying to private messages |
| `glacierhub.members.social.report` | Everyone | Reporting another player to the staff team |
| `glacierhub.staff.social.reports` | Admins | Receiving report alerts sent by other players |

### Custom GUI

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierhub.members.customgui.open` | Everyone | Opening GlacierHub's custom GUI menus |

### Queue

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierhub.members.queue.use` | Everyone | Joining and leaving GlacierHub's native server queue |

### Cosmetics

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierhub.members.cosmetics.use` | Everyone | Opening the cosmetics menu |

### Points

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierhub.members.points.use` | Everyone | Checking your own points balance and other players' |
| `glacierhub.staff.points.manage` | Admins | Giving, taking, setting, and resetting player point balances |

### Parkour

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierhub.members.parkour.use` | Everyone | Joining parkour courses and viewing leaderboards |
| `glacierhub.staff.parkour.build` | Admins | Creating and editing parkour courses |

### Friends

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierhub.members.friends.use` | Everyone | Adding, removing, and teleporting to friends |

### Maintenance

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierhub.staff.maintenance.use` | Admins | Toggling server maintenance mode |
| `glacierhub.staff.maintenance.bypass` | Admins | Joining while maintenance mode is enabled |

### Vote Rewards

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierhub.staff.voterewards.use` | Admins | Checking vote rewards status and simulating votes |

### Shop

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierhub.members.shop.use` | Everyone | Opening the points shop |

### Leaderboards

| Permission | Given to | What it does |
| --- | --- | --- |
| `glacierhub.members.leaderboards.use` | Everyone | Opening the leaderboards menu |
## Permissions you define

Some nodes aren't fixed. They come from your config, so any name works.

| Where | Default nodes |
| --- | --- |
| `queue.yml`, `general.priority-permissions` | `glacierhub.queue.priority.staff` (100), `glacierhub.queue.priority.vip` (10) |
| `navigator.yml`, each entry's `permission` | none |
| `customgui.yml`, each menu and item's `permission` | none |
| `customitems.yml`, each item's `permission` | none |
| `shop.yml`, each entry's `permission` | none |
| `chatformat.yml`, each profile's `permission` | none |
| `cosmetics.yml`, each cosmetic's `permission` | see below |

### Bundled cosmetic nodes

Cosmetics without a node are open to everyone. The rest need theirs:

| Category | Open to everyone | Locked |
| --- | --- | --- |
| Hats | Bare Head, Carved Pumpkin | `hat.diamond`, `hat.golden`, `hat.skull`, `hat.dragon` |
| Wings | Bare Back, Elytra | `wing.iron`, `wing.diamond`, `wing.leather` |
| Particles | No Trail, Flames | `particle.hearts`, `particle.portal`, `particle.totem`, `particle.witch` |
| Pets | No Companion, Chicken | `pet.wolf`, `pet.parrot`, `pet.llama`, `pet.golem` |
| Gadgets | Firework Burst | `gadget.explosion`, `gadget.totem`, `gadget.teleport`, `gadget.dragon` |
| Effects | No Effect, Poof | `effect.totem`, `effect.lightning`, `effect.soul`, `effect.dragon` |

Each locked node starts with `glacierhub.cosmetics.`, for example `glacierhub.cosmetics.pet.wolf`. The bundled shop sells two of them, Hearts and Wolf, by running a LuckPerms command.
