# Installation

Put the JAR in place, choose storage, and scope the hub to the right worlds.

## Fresh install

1. Stop the server.
2. Put `GlacierHub-2.0.1.jar` in `plugins/`. Remove any older GlacierHub JAR.
3. Start the server once so the config files are generated.
4. Check the console for configuration warnings.
5. Choose a storage backend in `plugins/GlacierHub/storage.yml`. SQLite is the default and needs no setup.
6. Run `/glacierhub reload all` after editing, or restart.

ProtocolLib is no longer needed. Leave it installed only if other plugins use it.

## Shared servers: set the world scope first

> [!WARNING]
> **Do this before players join.** On a fresh install the hub features apply to every world, including clearing inventories on join. If your hub shares a server with survival, creative or anything else, limit it to the hub worlds.

Set `general.worlds` in both `modules/utilities.yml` and `modules/protections.yml`:

```yaml
general:
  worlds: [hub, hub_nether]
  excluded-worlds: []
```

An empty list or `"*"` means every world. `excluded-worlds` removes worlds from whatever `worlds` matched.

## Updating from 1.4.1

1. Stop the server and back up `plugins/GlacierHub`.
2. Replace the JAR.
3. Start the server.

Your 1.4.1 files are still read. New options are only added to freshly generated files, so if you want a new default, back the file up, delete it, and let GlacierHub write it again. The console warns about any file with a missing, invalid or too-new `schema-version`.

The full list of changes is in the 2.0.0 release notes.

## Recovery files

> [!CAUTION]
> **Never delete anything in `plugins/GlacierHub/recovery/`.** Those files hold inventories and player settings that GlacierHub still has to give back after a crash.

Before PvP mode or a hotbar item replaces part of an inventory, the original is written there. If the server stops mid-swap, the player gets their items back on startup or on their next join, even if the module that took them has since been turned off.

## Checking it worked

```text
/glacierhub status
/glacierhub modules
```

`status` reports the plugin and which modules are running. `modules` opens the module menu, where you can turn modules on and off.

## When something's wrong

| What you see | Check |
| --- | --- |
| Inventories cleared in survival or other worlds | `general.worlds` in `utilities.yml` and `protections.yml`. See the world scope section above |
| The navigator does nothing when you click a server | The entry's `server` must match the proxy's name for it. On Velocity, `bungee-plugin-message-channel = true` |
| `%vault_rank%` and similar show as raw text | PlaceholderAPI and the expansions listed on the [placeholders page](/docs/hub/placeholders) |
| No sidebar on Folia | Expected. Folia has no scoreboard API, so the scoreboard module stays off |
| A module shows as failed in `/glacierhub status` | The console line just before it. Modules that need storage stay off while the database is unreachable |
| A config change didn't apply | `/glacierhub reload <module>`. Storage settings need a restart |

## Coming from the previous plugin name

If you're moving an existing install over to the Glacier names, follow [moving to Glacier](/docs/network/migrating).
