Home›Java›Mods›SwagRestartScheduler
SwagRestartScheduler
ModsJava

SwagRestartScheduler

Java mod listed for Minecraft 1.21. Download on the author's site.

⬇ Download on Spigot
screenshot-1791157550982-30.png SwagRestartScheduler adds automated scheduled and manual server restarts for Paper, built on SwagAPI, with a full countdown and warning system, TPS-based performance triggers, pre-restart backups, crash-loop protection, and Discord notifications. Restart schedules, warnings, grace-period rules, and backups can be edited live in-game through a GUI, or offline through YAML files.
Features:
- Named restart schedules: any number of schedules in schedules.yml, each with its own days, times, timezone, and priority
- Manual restarts: /srestart now [reason] and /srestart in <time> [reason], cancellable with /srestart cancel
- Warning broadcasts: configurable countdown thresholds with chat messages, titles, sounds, an action-bar countdown, and a final-moments boss bar
- Grace period: delay a restart while players are in combat, in protected worlds, or while enough players are online
- Pre-restart commands: run console commands at configured offsets before the restart, with optional PlaceholderAPI substitution
- Pre-restart backups: zips or copies configured world folders before restarting, with maintenance-mode lockout and automatic pruning of old backups
- TPS-based performance triggers: automatically schedule or force a restart when average TPS stays below a threshold
- Crash-loop safe mode: detects the JVM dying without a clean shutdown and temporarily suppresses restarts if it happens repeatedly
- Discord notifications: scheduled restart, manual restart, server-online, and crash-loop alerts published through SwagAPI's shared event bus for DiscordUtils to relay
- In-game GUI: /srestart gui for browsing and editing schedules without touching YAML
- Web config editor: a browser-based form for building config.yml and schedules.yml, served through SwagAPI's shared web panel
- Restart logging: every restart is appended to both a YAML log and a CSV log
Requirements: Paper 1.20.4+, Java 21, SwagAPI (hard dependency, the plugin will not enable without it). DiscordUtils, PlaceholderAPI, and CombatLogX are optional.
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

SwagRestartScheduler is a free Minecraft Java mod. Compatible with Minecraft 1.21. Downloaded 6 times (via Spigot). Download it and open it directly in the game.

Explore more