Easy Auto Restart
ModAdds auto restarting to Minecraft servers.
Description
Easy Auto Restart
Easy Auto Restart is a lightweight Fabric mod designed to add simple automatic restarting capabilities to your Minecraft server. It focuses on doing one thing well: managing restarts and executing your start script when the server stops.
Commands
All commands require Operator (OP) permissions.
/restart- Stops the server immediately and triggers the restart script.
/cancelrestart- Cancels any currently running restart countdown.
/easyautorestart restart- Initiates a restart sequence with a 1-minute countdown.
/easyautorestart add <HH:mm>- Adds a new daily auto-restart time (e.g.,
/easyautorestart add 04:00).
- Adds a new daily auto-restart time (e.g.,
/easyautorestart remove <HH:mm>- Removes an existing daily restart time.
/easyautorestart list- Displays all currently scheduled daily restart times.
Configuration
The configuration file is generated at config/easy-auto-restart.json. You can edit this file directly or use the in-game commands to manage schedules.
{
"dailyRestartTimes": [
"04:00",
"16:00"
],
"scriptPath": "./start.sh",
"executeScript": true
}
- dailyRestartTimes: A list of times (24-hour format) when the server should automatically restart.
- scriptPath: The path to the script that launches your server.
- Windows users should point this to their
.batfile (e.g.,./start.bat). - Linux users should point this to their
.shfile (e.g.,./start.sh).
- Windows users should point this to their
- executeScript: If set to
true, the mod attempts to run the file atscriptPathwhen the server stops. Set tofalseif you only want the mod to stop the server (e.g., if you use an external wrapper like Pterodactyl or Docker).
Installation & Setup
- Move the
.jarfile into your server'smodsfolder. - Start the server once to generate the config.
- Important: Ensure you have a valid start script (
start.batorstart.sh) in your server's root directory. The mod relies on this script to bring the server back up after it stops.
Compatibility
Mod Loaders
Game Versions
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Star Crop
This is mod seed from game stardew valley.
Simple Automation
A small mod with some simple items/blocks for Minecraft
Craftable Froglights
Craft pearlescent, verdant and ochre froglights
MWE
A mod designed for PVP players with lots of QOL and unique features : enhancements for chat, tablist, hitcolor, hitbox,...
Consistent Aim
Switch and keep the camera type to first person when you are aiming
Better Combat Reach Fix
Fixes the incompatibility between the Better Combat mod and the vanilla forge:entity_reach attribute, making the actual...