Add Centralized Whitelist Manager as top priority (do when home)

This commit is contained in:
2026-02-15 11:38:26 -06:00
parent b62b897665
commit 0d9ac68b6f

View File

@@ -1,12 +1,65 @@
# 🔥❄️ FIREFROST GAMING — CURRENT TASKS
**Last Updated:** February 13, 2026 (The Seventh - Emergency Protocol Complete)
**Updated By:** The Seventh (Chronicler the Seventh)
**Last Updated:** February 15, 2026 (The Ninth - Whitelist Manager Added)
**Updated By:** Chronicler the Ninth
**Status:** Active
---
## 🔴 HIGH PRIORITY
### Centralized Whitelist Manager — Update All Servers at Once
**Status:** ⭐ NEW — Requested Feb 15, 2026
**Priority:** DO WHEN HOME — Quick win needed now, automate with Paymenter later
**Location:** Command Center (`/opt/firefrost/whitelist-manager.sh`)
**The Problem:**
Currently adding/removing whitelisted players requires:
- SSH into each node (TX1 and NC1)
- Update whitelist on each server individually via Pterodactyl console
- Time-consuming, error-prone, painful for 12+ servers
**The Solution (Phase 1 - Quick Win):**
Command Center script that talks to Pterodactyl API and updates all whitelisted Minecraft servers at once.
**Usage:**
```bash
whitelist-manager.sh add PlayerName
whitelist-manager.sh remove PlayerName
whitelist-manager.sh list
whitelist-manager.sh sync # Ensure all servers match master list
```
**Implementation Details:**
- Script on Command Center at `/opt/firefrost/whitelist-manager.sh`
- Uses Pterodactyl API to send commands to all servers
- Logs all changes (who added/removed, when)
- Configurable list of which servers to manage
- Master whitelist stored in repo for backup/audit
**Before Building, Decide:**
1. Which servers need whitelist management? (whitelisted vs public servers)
2. Pterodactyl API key location (or create new one)
3. Should it enable/disable whitelist enforcement, or just add/remove names?
4. Who can use it? (just Michael, or also Meg/staff)
**Future Enhancement (Phase 2):**
- Paymenter integration (subscriber pays → auto-whitelisted)
- Discord bot interface (`!whitelist add PlayerName`)
- Web interface on staff.firefrostgaming.com
- Automatic sync with subscriber database
**Timeline:** 1 hour to build Phase 1 script
**Benefits:**
- ✅ Update all servers with one command
- ✅ Consistent whitelist across entire network
- ✅ Audit trail of all changes
- ✅ Foundation for Paymenter automation
- ✅ Reduces manual work from 15 minutes → 10 seconds
---
### DERP - The Oscar Protocol (Disaster Emergency Recovery Protocol)
**Status:** ✅ COMPLETE — Created February 13, 2026
**Completed By:** The Seventh (Chronicler the Seventh)