# Installation

Install GlacierStaff 3.0.0 and get it ready for your staff team.

## Install

1. Stop the server.
2. Put `GlacierStaff-3.0.0.jar` in `plugins/`.
3. Start the server once to generate the configs.
4. Edit the files in `plugins/GlacierStaff/`.
5. Run `/glacierstaff reload all`.

> [!WARNING]
> **3.0.0 is a clean install.** Configs from 2.0.1 and earlier are not read. Move your settings over by hand.

## First things to set

### Permissions

`glacierstaff.admin` (op by default) grants the staff commands. It leaves out exemptions and opt-ins, so these have to be granted on purpose:

- `glacierstaff.staff.staffauth.required`
- `glacierstaff.staff.discord.test`
- `glacierstaff.staff.staff.skip`
- `glacierstaff.staff.freeze.bypass` and `glacierstaff.staff.freeze.chat-bypass`
- `glacierstaff.staff.cps.exempt`
- `glacierstaff.staff.randomtp.exempt`
- `glacierstaff.staff.mining.exempt`
- `glacierstaff.staff.inventory.autosave-bypass`

Member permissions (`glacierstaff.members.*`) are given to everyone, so `/modmail`, `/report` and `/afk` work for players straight away. The full list, with who gets each node, is on the [commands page](/docs/staff/commands#all-permissions).

### Punishments

Native punishments are on by default. If you already use another punishment plugin, set `native.enabled: false` in `modules/punish.yml` and point the menu buttons at your plugin's commands. See [moderation](/docs/staff/moderation).

### Vanish levels

Give each rank a level, so moderators can't see admins who are vanished:

```text
glacierstaff.staff.vanish.level.3
glacierstaff.staff.vanish.see.level.3
```

### Modules that start off

`staffauth` and `discord` start disabled because they need secrets set as environment variables. Follow [staff auth and Discord](/docs/staff/staff-auth-and-discord) before turning them on.

## Storage and networks

SQLite works with no setup. For more than one server, use MySQL or MongoDB plus Redis. See [shared storage](/docs/network/storage) and [Redis](/docs/network/redis).

## Checking it worked

```text
/glacierstaff status
/glacierstaff modules
```

## When something's wrong

| What you see | Check |
| --- | --- |
| A staff member is missing from `/stafflist` | They need `glacierstaff.staff.staff.listed` and must not have `glacierstaff.staff.staff.skip` |
| Staff don't get report, ModMail, CPS or mining alerts | Each alert has its own node. See the alert table on the [commands page](/docs/staff/commands#who-gets-what) |
| Protected staff can't verify with Staff Auth | `GLACIERSTAFF_STAFFAUTH_KEY` has to be set in the server's environment. Without it, verification is refused rather than skipped |
| A module shows as failed in `/glacierstaff status` | Run `/glacierstaff status <module>` for the error. Modules that need storage stay off while the database is unreachable |
| Staff Mode tools sit in the real inventory | ProtocolLib isn't installed or isn't a compatible version. Your items are journalled to `recovery/` first either way |
| Staff chat or freezes don't cross servers | Redis must be on, with the same `namespace`, on every server. See [Redis](/docs/network/redis) |

## Coming from the previous plugin name

Moving an existing install to the Glacier names is covered in [moving to Glacier](/docs/network/migrating).
