Overview: The Auto Restart plugin allows Minecraft servers to automatically restart on a schedule or via a flexible timer, keeping the server running smoothly with minimal downtime.
Key Features:
Schedule automatic restarts at specific times.
Flexible timer-based restarts (e.g., /autorestart 12h).
Broadcast warnings before restarts at 5 min, 1 min, 30s, 10s, and 5–1 second intervals.
Configurable restart times and warning durations.
Commands for managing restarts and checking status.
Commands:
/autorestart reload – Reloads the plugin configuration.
/autorestart times – Shows scheduled restart times and remaining timer countdown.
/autorestart now – Forces an immediate restart.
/autorestart [time] – Sets a timer-based restart (e.g., /autorestart 12h).
/autorestart cancel – Cancels the active timer-based restart.
How It Works:
Timer-based restarts broadcast messages to all players and run alongside scheduled restarts.
Only one timer can be active at a time; setting a new timer replaces the previous one.
Warning messages follow the same intervals as scheduled restarts.
Timers persist until the server restarts or the timer is manually canceled.

Supports both daily scheduled restarts and flexible timer-based restarts, with clear countdowns and warnings to ensure smooth server operation.