Configuration
Files, global settings, time formats, translations and where custom entries keep their text.
Files
| File | Contents |
|---|---|
settings.yml |
Language, date format, time zone and Redis |
storage.yml |
SQLite, MySQL or MongoDB |
modules.yml |
Which modules are on |
modules/<module>.yml |
Each module’s settings: cooldowns, permissions, materials, slots, sounds |
lang/<locale>/*.yml |
Everything players read: messages, menu titles, item names and lore, PlaceholderAPI output |
recovery/ |
Staff Mode inventory journals. Don’t edit or delete |
staffauth/ |
Staff Auth credentials. Back up with the encryption key |
Custom entries you add yourself (punish menu buttons, freeze screen items, staff chat channels, extra staff-mode items) keep their name and lore next to their settings in modules/<module>.yml, so you don’t edit two files for one button.
settings.yml
locale: en
date-format: "yyyy-MM-dd HH:mm"
time-zone: ""
redis:
enabled: false
host: localhost
port: 6379
password: ""
staff-state:
enabled: true
namespace: glacierstaff
date-formatis a JavaDateTimeFormatterpattern used by every module.time-zonetakes values likeUTCorEurope/Berlin. Empty uses the server’s zone.- Redis is covered in Redis.
Schema versions
Every file has a schema-version. When an installed file’s version differs from the bundled one, the console reports it instead of rewriting your file. Missing options use the bundled default.
Formats
- Durations:
500ms,3s,5m,1h,7d. - Colours:
&codes and&#RRGGBBhex. - Message placeholders:
{name}tokens.
The bundled defaults use the Frosted Steel palette. Statuses use symbols as well as colour, so they read without colour too:
| Symbol | Meaning |
|---|---|
✔ |
Success |
✖ |
Error |
⚠ |
Warning |
✦ |
Information |
◷ |
Cooldown |
Translations
Only English is bundled. Copy lang/en/ to lang/<locale>/, edit it, and set locale in settings.yml. Missing keys fall back to English.
Menus
Most menus share the same options:
gui:
size: 54
items-per-page: "AUTO"
filler:
enabled: true
material: "LIGHT_GRAY_STAINED_GLASS_PANE"
border:
enabled: true
material: "GRAY_STAINED_GLASS_PANE"
size must be a multiple of 9.
Storage
SQLite works with no setup. Switch backend in storage.yml to mysql or mongodb to share data across servers. If the database is unreachable, only the modules that store data stay off. See storage backends.