Adds a restart command to dedicated servers.
So you don't have to run /stop and run the start script again. Also supports scheduling restarts at intervals, or when no players have been online for some time.
Everything is fully configurable in the restart-server.json config file. You can reload the mod's config using /reload.

Dependencies
Incompatibilities
- None that I'm aware of right now.
FAQ
Q: Forge pls?
A: No. I don't have the time to learn another modding framework, however you can port over the mod yourself if you want, the source code is open.
Q: Will you backport this mod?
A: No.
Q: Does this mod work in multiplayer?
A: Yes.
Q: Does only the server need this mod or does the client need it too?
A: Only the server needs this mod. Singleplayer/LAN is not supported.
How to Install Restart Server (Mod)
Restart Server by Steveplays is verified for Fabric, Quilt across Minecraft versions 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4 (latest release: 1.2.0+mc1.18.x, file size: 44 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4) and platform (Fabric, Quilt).
- Make sure you have the compatible loader or environment installed for Fabric, Quilt.
- Move the downloaded Restart Server file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version- Compatibility for the Fabric Permissions API
- Compatibility for the Fabric Permissions API
- Updated to Minecraft 1.20
### Fixed
- Player join causes server to instantly restart
- Player join causes server to instantly restart
- Add option to send restart message to actionbar
- Add option to disable restart script (closes #3)
- Add option to disable stopping the server
- Add option to open restart script in a new terminal window (closes #1)
- Add restart warnings/countdown (by Arnokeesman in #10)
- Add disconnect messages (by Arnokeesman in #10)
### Bugfixes
- Remove
restart-server.mixins.json, fixing a warning (closes #2) - Fix relative paths (closes #5)
- Fix backport to Minecraft
1.18.x
### Development stuff
- Move icon files
- CI/CD (#11)
- Add option to send restart message to actionbar
- Add option to disable restart script (closes #3)
- Add option to disable stopping the server
- Add option to open restart script in a new terminal window (closes #1)
- Add restart warnings/countdown (by Arnokeesman in #10)
- Add disconnect messages (by Arnokeesman in #10)
### Bugfixes
- Remove
restart-server.mixins.json, fixing a warning (closes #2) - Fix relative paths (closes #5)
- Fix backport to Minecraft
1.18.x
### Development stuff
- Move icon files
- CI/CD (#11)
- First release!**
/restartcommand- Restart scheduling on interval
- Restart scheduling after no players have been online for a bit
- Config file support
/reloadsupport for reloading config