Server Restart Command
Lets server owners restart dedicated Minecraft servers in game or the console.
- Loaders
- Fabric
- Downloads on Modrinth
- 107
- Followers on Modrinth
- 0
- versions
- 3
- Updated
- July 8, 2026Jul 8
- Published
- in 2026
At a glance
Install on the server only; players don't need it
🔁 Server Restart Command
A simple server-side Fabric mod that lets Minecraft server owners restart their server from in-game or from the server console.
No client install needed. Players do not need this mod.
✅ What does it do?
Minecraft servers normally cannot start themselves again after they stop.
This mod fixes that by starting a small Java relauncher before the server shuts down.
The relauncher waits for the old server process to fully close, then starts the server again.
Simple. Clean. Useful.
🧠 How restarting works
When you run the restart command, the mod tries to restart the server in this order:
- Uses
start.baton Windows orstart.shon macOS/Linux, if the file exists. - Uses
launchCommandfrom the config file, if it is set. - Uses a safe fallback command:
java -Xmx4G -jar fabric-server-launch.jar nogui⚠️ Fallback RAM warning
If the mod has to use the fallback 4 GB RAM command, it will warn operators after the server starts again.
This warning means the owner should set the real launch command in the config file for better restart behavior.
💬 Commands
/restart
/restartserver
/restart <delay_seconds>
/restartserver <delay_seconds>⏱️ Example
/restart 60This restarts the server after 60 seconds.
📦 Requirements
- Minecraft
26.1,26.1.1,26.1.2, or26.2 - Fabric Loader
0.19.3or newer
⚙️ Config file
config/server-restart-command.properties🛠️ Example config
launchCommand=java -Xmx12G -jar fabric-server-launch.jar nogui
preferStartScript=true
defaultDelaySeconds=5
permissionLevel=4
defaultRamWarningDelaySeconds=60📝 Important notes
- This mod is server-side only.
- Players do not need to install it.
- This does not reload the server.
- This means it is not the same as reloading datapacks.
- It fully stops the server, then starts it again.
- Operators can use the restart command by default.
- For best results, use a proper
start.bat,start.sh, orlaunchCommand.
🧱 Made for server owners who want one simple thing
Restart the server without touching the server window every time.
FAQ
How to install Server Restart Command?
Install Fabric for your Minecraft version, download Server Restart Command for the same version and loader, put the file into the mods folder and launch the game with the loader profile.
Which Minecraft versions does Server Restart Command support?
Server Restart Command has builds for Minecraft 26.1–26.2.
Is Server Restart Command needed on the server?
Server only — players don't need to install it