PerfAutoRestart
Scheduled and manual server restarts with live countdown warnings, action bar, sounds, cross-server Redis sync, and Discord webhook alerts.
Paper and Folia 1.21 - 26.x
Support
Report bugs and get support here: https://discord.gg/VvM6k2eBDa
Features
• Folia support – Runs on Paper and Folia backends
• Scheduled restarts – Daily or per-weekday schedules with automatic countdown start
• Countdown warnings – Fully customizable MiniMessage chat warnings at configurable intervals
• Action bar countdown – Live restart timer on screen with per-milestone messages
• Warning sounds – Configurable sound, volume, and pitch per countdown interval
• Manual restart – Start a countdown instantly with a custom delay
• Extend and cancel – Add time to an active countdown or stop it with broadcast feedback
• Cross-server global restart – Trigger restarts on all linked backends via Redis with server exclusions
• Targeted server restart – Restart a specific backend by server key over Redis
• Skip when empty – Optionally skip scheduled restarts when no players are online
• Player kick – Kicks players before restart with a custom kick message and skip permission for staff
• Restart commands – Runs configurable console commands when the countdown ends
• Discord webhooks – Embeds for countdown started, restart executing, cancelled, and skipped-empty
• PlaceholderAPI – Countdown and next-restart placeholders for scoreboards and TAB
• Update checker – Notifies operators when a new plugin version is available
Placeholders
%perfautorestart_countdown_active% – true or false while a countdown is running
%perfautorestart_countdown_seconds% – Remaining seconds on the active countdown
%perfautorestart_countdown_time% – Remaining time in long format
%perfautorestart_countdown_time_compact% – Remaining time in compact format
%perfautorestart_countdown_time_clock% – Remaining time as mm:ss
%perfautorestart_server% – Configured server name for this backend
%perfautorestart_next_restart% – Date and time of the next scheduled restart
%perfautorestart_next_restart_in% – Time until the next scheduled restart
Commands
/autorestart now [seconds] – Start a restart countdown on this server (perfautorestart.admin)
/autorestart now (server-key) [seconds] – Start a countdown on a remote server via Redis (perfautorestart.admin)
/autorestart global [seconds] – Start a countdown on all non-excluded servers via Redis (perfautorestart.global)
/autorestart extend [seconds] – Add seconds to the active countdown (perfautorestart.admin)
/autorestart cancel – Cancel the active countdown (perfautorestart.admin)
/autorestart list – Show active countdown or next scheduled restart (perfautorestart.admin)
/autorestart reload – Reload config and messages (perfautorestart.admin)
