Configuration
File layout, schema versions, colours, translations and world scoping.
File layout
plugins/GlacierHub/
|-- settings.yml locale
|-- modules.yml which modules are on
|-- storage.yml sqlite | mysql | mongodb
|-- modules/<id>.yml one file per module
|-- lang/en/<id>.yml every message, per module
`-- recovery/ crash-recovery journals (do not edit)
Module files hold behaviour: slots, materials, cooldowns, sounds, permissions. Language files hold everything a player reads.
Every bundled file has comments next to its options. Files generated by 2.0.0 don’t have them. To get the commented copy, back a file up, delete it and reload.
Schema versions
Every file starts with a schema-version. GlacierHub never overwrites your files:
- Options missing from your copy use the bundled default.
- An older file is read with compatibility rules and left as it is.
- A missing, invalid or newer-than-supported version is reported in the console instead of being rewritten.
To pick up new defaults, back the file up, delete it, and reload or restart. Then copy your custom settings back.
Reloading
/glacierhub reload navigator
/glacierhub reload all
A reload stops the module, builds it again from the current files and starts it, without changing whether it’s enabled. reload all also re-reads settings.yml and lang/<locale>/global.yml. Storage settings still need a restart.
Colours
Text accepts legacy & codes and hex colours as &#RRGGBB. The bundled defaults use the Frosted Steel palette:
| Role | Hex |
|---|---|
| Primary | #A0B4C8 |
| Secondary | #647F9C |
| Highlight | #E2E8F0 |
| Muted text | #94A3B8 |
| Dark accent | #25374D |
| Surface | #151F2C |
Durations
Durations are written as 500ms, 3s, 5m, 1h or 7d. A plain number is read as seconds, so older files keep working.
Translations
- Copy
lang/en/tolang/<locale>/, for examplelang/de/. - Translate the files.
- Set
locale: deinsettings.ymland reload.
Any key missing from your translation falls back to English.
World scope
Utilities and Protections only act in the worlds you list:
general:
worlds: [hub]
excluded-worlds: []
An empty list or "*" means every world. A file from an older install that has no worlds key at all keeps the old all-worlds behaviour.
Storage
Points, cosmetics, login streaks, parkour times, friends, shop purchases, vote data and the maintenance switch are stored in the backend chosen in storage.yml. See storage backends for the options. Changing the backend does not move existing data.