All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Scheduled Restart

Scheduled Restart

by Samcask • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

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.

How to Install Scheduled Restart (Mod)

Scheduled Restart by Samcask is verified for Fabric across Minecraft versions 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4 (latest release: 1.2.2, file size: 34 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4) and platform (Fabric).
  2. Make sure you have the compatible loader or environment installed for Fabric.
  3. Move the downloaded Scheduled Restart file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.2 26.1.x
Fabric
8mo ago 1
1.21.x 1.20.x
Fabric
8mo ago 1
1.20.x 1.19.x
Fabric
8mo ago 1
1.18.x 1.17.x
Fabric
8mo ago 1
1.16.x
Fabric
8mo ago 1
1.16.x
Fabric
8mo ago 1
1.15.x
Fabric
8mo ago 1
1.21.x
Fabric
last yr. 1
1.20.x 1.19.x
Fabric
last yr. 1
1.18.x
Fabric
last yr. 1
1.17.x
Fabric
last yr. 1
1.21.x
Fabric
last yr. 1
1.20.x 1.19.x
Fabric
last yr. 1
1.18.x
Fabric
last yr. 1
1.17.x
Fabric
last yr. 1
1.21.x
Fabric
last yr. 1
1.20.x 1.19.x
Fabric
last yr. 1
1.18.x
Fabric
last yr. 1
1.17.x
Fabric
last yr. 1
1.21.x
Fabric
last yr. 1
1.20.x 1.19.x
Fabric
last yr. 1
1.18.x
Fabric
last yr. 1
1.17.x
Fabric
last yr. 1
1.18.x
Fabric
last yr. 1
1.17.x
Fabric
last yr. 1
1.21.x 1.20.x 1.19.x
Fabric
last yr. 1
1.21.8
Fabric
last yr. 1
Scheduled Restart Icon
Download Scheduled Restart
Select game version
Select platform