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.
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