Back to mods
Scheduled Restart project artwork

Modrinth · Minecraft mod

Scheduled Restart

Allows for automatically restarting your server on a schedule.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Scheduled Restart release should I use?

Updated 8 months ago
Latest stable file 1.2.2
Game version 26.1, 26.1.1, 26.1.2
Loader Fabric

Scheduled Restart 1.2.2 targets 26.1, 26.1.1, 26.1.2 with Fabric. Do not install it on the client. It must be installed on the dedicated server. All 1 required mods have matching files.

Where it goes

Is Scheduled Restart required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

Client Not supported
Dedicated server Required
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked server-only.

What else does Scheduled Restart 1.2.2 need?

1.2.2. Change the file and its required mods may change too.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup.

Fabric API Needed by Scheduled Restart 1.2.2
required
Matching file found Matched file: 0.161.0+26.2

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Scheduled Restart without breaking your instance.

Built for Scheduled Restart 1.2.2. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.2.2. It targets 26.1, 26.1.1, 26.1.2 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.2.2. It opens that exact file at the source.

About this project

What does Scheduled Restart add?

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.

Project description from Modrinth.

Pick your setup

Scheduled Restart by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

42 available setups

Showing the newest 12 of 42 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Scheduled Restart versions and loaders

27 of 27 releases match

Looking for an older file? The official Modrinth project page is in Resources.