
Minecraft servers, if left running constantly, will continually increase their RAM usage. Regularly restarting your server is incredibly important to avoid this, and the Scheduled Restart mod allows you to easily automate the process.
This mod is based on ruin9999's Simple Server Restart mod, with some small improvements.
How to use
In order to allow the mod to restart the server, the config setting startScriptPath must be set to the name of the server's startup script. The startup script will be a .bat file on Windows systems, or a .sh file on Unix systems, and will likely be named "start", "entrypoint" or something similar.
If your server does not have a startup script, you will need to make one yourself. Make sure the contents of the startup script are the same as the command used to run the server. It should look something like this: java -Xmx128M -Xms1024M -jar server.jar nogui. Do not use this command, use the one that is used to start your server.
The schedule of automatic restarts is fully configurable in the config file. By default, the server will restart at midnight every day, with a warning in chat 5 minutes in advance, and another 30 seconds in advance. The server will also by default restart if no players are online for an hour.
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 26.1
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
- Ships as scheduled-restart-mc26.1.0-1.2.2.jar — drop this file into the mods folder
- Download size: 34 KB
- Download link checked 31 Aug 2026 — working
These come from our own check of the pack file, not from the source page.