How to Set Up Automatic Server Restarts
Learn how to schedule automatic restarts to keep your Minecraft server running smoothly.
Regular restarts help clear memory leaks, refresh loaded chunks, and keep your server running at peak performance. Most servers benefit from restarting every 6-12 hours.
Setting Up Scheduled Restarts
Open Schedules
Access the XGamingServer panel and go to Schedules in the sidebar.
Create a new schedule
Click Create Schedule. Set a name like "Auto Restart" and set your cron timing (e.g., every 6 hours: 0 */6 * * *).
Add a warning message
Add a task: Send Command with value:
say Server restarting in 60 seconds. Please save your progress!Add a delay
Add a 60-second delay to give players time to prepare.
Add the restart action
Add a task: Send Power Action → Restart.
💡 Tip: For busy servers, consider restarting during low-traffic hours (e.g., 4 AM and 4 PM) rather than every X hours.
Recommended Restart Frequency
| Server Type | Restart Frequency |
|---|---|
| Vanilla / Paper (small) | Every 12-24 hours |
| Paper + plugins | Every 6-12 hours |
| Modded (Forge/Fabric) | Every 6-8 hours |
| Heavy modpacks | Every 4-6 hours |
📝 Note: If your server maintains a stable 20 TPS without restarts, you don't necessarily need scheduled restarts. They're most useful for modded servers and servers with many plugins.
See also: Performance Guide | How Much RAM
If you need help, join our Discord.
How is this guide?

How to Fix Player Skins Not Showing on Your Server
Troubleshoot and fix issues with player skins appearing as Steve or Alex on your Minecraft server.
Minecraft Server Types Explained (Vanilla, Paper, Forge, Fabric)
Compare all Minecraft server types — Vanilla, CraftBukkit, Spigot, Paper, Purpur, Forge, Fabric, and more.