minecraft-server/docs/REBRAND_2026-04-30.md

89 lines
4.5 KiB
Markdown
Raw Normal View History

# Rebrand changelog — 2026-04-30 / 2026-05-01
**Surfaces touched:** 14 plugins, 21 files, 2,682 diff lines.
**Goal:** strip every plugin-name leak and upstream-default colour from player-facing chat. Lock palette + prefix per `docs/RACKED_BRAND.md`.
---
## Trigger
Post-auth message `This server uses AuthMeReloaded protection!` appeared on every player login. Other surfaces had similar drift: `[Lands]`, `[Homestead]`, `[SkinsRestorer]`, `[TAB]`, `Grim »`, `[ProAntiTab]` prefixes; `MiniMOTD/config.yml` carrying dead 1.16.2-era MOTDs (`salvos.ddns.net`, `BOOBIES*`, `OnlyFans*`); `&a/&c/&3` upstream colours leaking through AuthMe.
---
## Audit
Two reports compiled before any edits:
1. **Chat-string inventory** — ~150 player-facing keys catalogued across 22 plugins. Top-offenders ranked.
2. **Brand-rules confirmation** — ground-truth palette / prefix / tagline pulled from existing on-brand artifacts (MiniMOTD `main.conf`, TAB footer, Essentials `motd.txt`, HelpCommand pages, launcher theme).
Outcome: palette **monochrome + `&e` yellow accent** (memory updated from "pure monochrome" — real artifacts already used `&e` for interactive tokens).
---
## Per-plugin changes
| Plugin | Action |
|---|---|
| **AuthMe** | `welcome.txt` → 1-line branded confirmation; ~108 messages recoloured; `serverName: racked.ru`; `help_en.yml` header divider |
| **MiniMOTD** | `main.conf` kept (already on-brand); **`config.yml` deleted** (dead 1.16.2 MOTDs) |
| **Essentials** | `motd.txt` already on-brand; 4 chat formats in `config.yml`; `kits.yml` book metadata `KHobbits``racked.ru` |
| **HelpCommand** | full `/help` recolour; `&a`/`&c` page labels removed; branded headers + 36-dash dividers |
| **TAB** | `www.domain.com` + literal `ServerName` placeholders stripped; brand prefix on messages; small-caps unicode footer kept |
| **GrimAC** | `Grim »` prefix → `&8[&fracked.ru&8]&r`; hard kicks keep `&c` |
| **ProAntiTab** | rayzs.de updater **disabled**; full recolour; brand prefix |
| **CoreProtect** | ~190 strings rebranded; "Join our Discord" upstream pitch deleted |
| **SkinsRestorer** | `customHelp.message` branded (jar locale extraction needed for prefix swap) |
| **ComfyWhitelist** | kick screen redesigned to 4-line `[racked.ru] / not whitelisted / apply at racked.ru` |
| **MarriageMaster** | `lang/en.yml` — 21 tellraw JSON blocks revalidated; full recolour |
| **LPC** | `chat-format` — banned `&l` removed (touches every chat line) |
| **UltimateTimber** | config + locale recolour |
| **Homestead** | `config.yml` formatters branded; lang file deferred |
| **AuthLimbo** | header comment `RackedLimbo``AuthLimbo` (post-rename cleanup) |
**Plugins with no on-disk surface to rebrand** (jar-locale extraction needed for future pass): Multiverse-Core, WorldEdit, FastAsyncWorldEdit, LuckPerms.
**Plugins with no player chat at all:** PhantomSMP, UnexpectedSpawn, voicechat (`.properties` colour-code unreliable), Vault, VoidWorldGenerator, ProtocolLib, PlaceholderAPI, spark.
---
## Apply
1. SSH backup: `tar czf /opt/backups/mc-plugins-prerebrand-2026-04-30.tar.gz` — 224 MB (configs + lang only, DBs/userdata excluded).
2. Configs pulled to local workspace; 6 parallel agents drafted diffs.
3. All YAML + JSON validated (`yaml.safe_load`, `json.loads` for tellraw blocks).
4. 21 files copied into `/opt/docker/minecraft/plugins/` via docker namespace bypass (userns-remap host).
5. `MiniMOTD/config.yml` deleted.
6. `chown -R 101000:101000 /opt/docker/minecraft/plugins/` (container uid).
7. `docker compose restart minecraft-mc`.
---
## Side incident — 2026-05-01
Disk full (`/dev/mapper/keystone--vg-root 30G 100%`) blocked container restart. Caused by accumulated daily backup tarballs in `/opt/backups/` (~10 GB across 7 days).
**Resolution:**
1. Deleted 2 oldest daily backups (`20260428_020001`, `20260429_020001`) + `lands-migration-20260424` → freed 6.3 GB.
2. Moved `/opt/docker/minecraft``/home/docker/minecraft` (cross-FS mv, 27s for 11 GB), symlinked back to `/opt/docker/minecraft`.
3. `chown 101000:101000` on new path, `docker compose restart`.
**Result:** root LV at 46% used (was 100%); MC effective capacity ~232 GB on /home LV. Container `Done (20.556s)` clean boot post-move.
**Open follow-up:** move `/opt/backups``/home/backups` to prevent root-LV refill from rolling daily backups.
---
## Rollback
```bash
# Server-side
cd /opt/docker/minecraft
docker compose stop minecraft-mc
tar xzf /opt/backups/mc-plugins-prerebrand-2026-04-30.tar.gz -C ./
docker compose start minecraft-mc
```
Backup retained 30 days (until 2026-05-30).