Files
firefrost-operations-manual/docs/tasks/staggered-server-restart-system
Claude c20dd12684 feat: Complete Staggered Server Restart System
Created comprehensive automated restart system for all 11 Minecraft servers:

Deployment Plan (300+ lines):
- Architecture and flow diagram
- Feature list (staggered, warnings, skip logic, Discord notifications)
- Complete configuration structure
- 5-phase deployment guide
- Cron scheduling options
- Discord webhook integration
- Advanced features roadmap
- Troubleshooting guide

Python Script (250+ lines):
- Pterodactyl API integration
- Staggered restart logic (one server at a time)
- Player warnings (5min, 3min, 1min, 30sec)
- Optional skip if players online
- Discord notifications (start, per-server, complete, errors)
- Error handling and retries
- Comprehensive logging
- JSON configuration file support

Features:
- Prevents all servers down simultaneously
- Maintains player access during restarts
- Configurable delay between restarts (default: 5 min)
- Warning messages to players before restart
- Discord notifications throughout process
- Restart order optimized (simple → complex)
- ATM10 last (memory leak priority)

Ready to deploy when SSH access available (2 hours setup).

Task: Staggered Server Restart System (Tier 3)
FFG-STD-002 compliant
2026-02-17 22:44:45 +00:00
..

Staggered Server Restart System

Status: Planning
Priority: Tier 3 - Automation
Time: 2 hours
Last Updated: 2026-02-16

Overview

Automated staggered restart system for game servers. Prevents all servers restarting simultaneously, maintains player access.

Requirements

  • Restart servers one at a time
  • 5-minute spacing between restarts
  • Warning messages to players
  • Skip servers with active players
  • Configurable restart window
  • Pterodactyl API integration

Implementation

  • Python script with Pterodactyl API
  • Cron scheduling
  • Discord notifications
  • Skip logic for active servers

Success Criteria

  • Automated staggered restarts
  • Players warned before restart
  • No simultaneous restarts
  • Active servers skipped

Fire + Frost + Foundation 💙🔥❄️