Server Restart Plugin
PluginLicenseRef-All-Rights-Reserved

Server Restart Plugin

An Easy to use Server Restart Plugin

34
Downloads
0
Followers
3 months ago
Updated
📦
1
Versions

📖About Server Restart Plugin

SERVER-RESTART v1.0

DEVELOPER: Mattis
VERSION: 1.0.0
COMPATIBILITY: Paper, Folia (1.21.1+)
LICENSE: Custom / All Rights Reserved


OVERVIEW
Server-Restart is a high-performance system management tool built specifically for competitive SMP environments. It ensures that server reboots occur without data loss or unfair player deaths by integrating directly with combat systems and player session management.

KEY FEATURES

  • Combat-Safe Execution: Automatically clears combat tags before the final disconnect sequence to prevent combat-logging penalties.
  • Layered Notification System: Synchronized alerts across Chat and ActionBar to ensure 100% visibility for all online players.
  • Login Prevention: Integrated Join-Blocker that activates during the final phase to maintain database integrity during shutdown.
  • Folia Native Architecture: Built using the GlobalRegionScheduler for thread-safe operation on modern multi-core server engines.

COMMANDS AND PERMISSIONS

  • /restart
    Triggers the 30-second synchronized shutdown sequence.
    Permission: fallcore.staff.restart

RESTART SEQUENCE PROTOCOL

  1. INITIAL PHASE (30s - 10s): Global chat alerts and periodic acoustic signals.
  2. CRITICAL PHASE (5s - 1s): Frequent ActionBar updates and high-priority audio cues. Join-Blocker is engaged.
  3. TERMINATION (0s): Final combat tag clearance followed by a forced secure kick and server shutdown.

TECHNICAL REQUIREMENTS

  • Java 21 or higher.
  • Paper or Folia 1.21.1 or higher.
  • Built-in support for Adventure/MiniMessage formatting.