Mastering Scheduled Server Restarts with RestartAnnounce
Keeping a Minecraft server running smoothly often means scheduling regular restarts to clear memory, apply updates, or simply reset the world. The challenge has always been communicating those restarts to players without flooding the chat or relying on staff to manually spam warnings. Enter RestartAnnounce, a clever plugin that leverages Minecraft's own scoreboard system to display a visible countdown timer, ensuring everyone knows exactly when the server will shut down. No more missed messages, no more confusion — just a clean, automated process that keeps your community informed.
What Makes RestartAnnounce Stand Out
Unlike traditional broadcast plugins that send chat messages, RestartAnnounce integrates directly with the scoreboard sidebar. This means players see a persistent timer ticking down, making it impossible to ignore. The plugin has been battle-tested on the BeastsMC network for over a month without any issues, proving its reliability in a live environment. It's not just a timer; it's a full-featured restart management tool that can operate entirely on its own, even when no staff are online.
One of the most appreciated aspects is how it handles interval restarts. Instead of cluttering the screen with a permanent countdown, the timer only appears when there are less than 60 minutes remaining until the next scheduled shutdown. This keeps the player interface clean during normal gameplay while still delivering critical information when it matters most.
Core Features at a Glance
- Scoreboard-based countdown: Displays a visible timer on the sidebar, ensuring all players see the restart warning.
- Automatic server shutdown: Once the timer hits zero, the server shuts down gracefully — no manual intervention needed.
- Future scheduling: Set a restart to occur hours or even days later, perfect for planned maintenance windows.
- Interval restarts: Configure recurring restarts at fixed intervals, with the timer only appearing in the final hour.
- Simple command structure: Easy-to-remember commands for staff, with clear permission nodes for role-based access.
Getting Started: Commands and Permissions
RestartAnnounce keeps things straightforward with a minimal set of commands. Whether you're scheduling a quick reboot or checking when the next restart will happen, everything is at your fingertips.
Available Commands
/sr <seconds>— Schedule a restart to occur in the specified number of seconds./sr reload— Reload the plugin's config.yml, which also cancels any active scheduled or interval restarts./sr time— Check the remaining time until the next planned restart./cancelrestart— Immediately cancel any currently scheduled restart.
Permission Nodes
restartannounce.admin— Grants access to/srand/cancelrestart.restartannounce.reload— Allows usage of/sr reload.restartannounce.time— Allows usage of/sr time.
Assigning these permissions through your preferred permissions plugin (like LuckPerms) gives you granular control over who can manage restarts, preventing accidental disruptions from untrained moderators.
Automating the Full Restart Cycle with a Startup Script
By design, RestartAnnounce only shuts down the server — it doesn't bring it back up. That's a deliberate choice to avoid hacky workarounds. Instead, you can pair it with a simple startup script that automatically relaunches the server after a shutdown. This turns the plugin into a fully autonomous restart system.
To set this up, create two files in your server directory. First, run.sh:
#!/bin/sh
SERVERDIR="/path/to/the/server/directory"
screen -S "Minecraft" bash -c "sh $SERVERDIR/loop.sh"
Then, loop.sh:
#!/bin/sh
STARTUPLINE="java -Xincgc -Xmx2G -jar craftbukkit.jar"
while true
do
$STARTUPLINE
echo "If you want to completely stop the server process now, press Ctrl+C before the time is up!"
echo "Rebooting in:"
for i in 5 4 3 2 1
do
echo "$i..."
sleep 1
done
echo "Rebooting now!"
done
Make both files executable with chmod +x run.sh loop.sh, then start your server using ./run.sh. This script will keep the server running in a loop, automatically restarting it after every shutdown triggered by RestartAnnounce.
Real-World Reliability and Community Feedback
Having been deployed on BeastsMC servers for over a month, RestartAnnounce has proven its stability. Server administrators report a significant drop in player complaints about unexpected downtime, and the scoreboard timer has become a natural part of the gameplay experience. It's especially useful for networks that run multiple servers, as you can schedule staggered restarts without needing a staff member online at odd hours.
For those who enjoy tinkering with their server setup, getting this mod running is straightforward. Many players find that using a modern launcher simplifies the entire process. For instance, the foxygame.net launcher provides a flexible environment where you can download and manage server-side mods directly from its menu, making it a breeze to keep plugins like RestartAnnounce up to date without manual file transfers.
Configuring the Plugin to Fit Your Server
The plugin's config.yml file allows you to customize the countdown format, interval durations, and even the message displayed on the scoreboard. You can adjust the warning threshold (default 60 minutes) to suit your community's preferences. For example, a high-traffic minigame server might want a shorter warning to avoid disrupting fast-paced rounds, while a survival server could benefit from a longer heads-up.
Because the plugin uses the scoreboard system, it's compatible with other plugins that also manipulate the sidebar, though you may need to assign a dedicated scoreboard slot to avoid conflicts. Always test on a staging environment before rolling out to production.
Conclusion: A Smarter Way to Handle Restarts
RestartAnnounce transforms a mundane administrative task into a seamless, player-friendly experience. By ditching chat spam in favor of a clear visual countdown, it respects your players' time and keeps them engaged. The ability to schedule restarts in advance, combined with automatic shutdowns and an optional startup script, means your server can maintain itself around the clock. Whether you're running a small private world or a large network, this plugin is a worthy addition to your toolkit — reliable, lightweight, and refreshingly straightforward.