Auto Restart

Quick rating

Auto Restart

No reviews yet

Adds auto restarting to Minecraft servers.

Mod Loaders
Forge
NeoForge
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Where It Runs
Dedicated Server Only

Runs on a dedicated server only; does not work in singleplayer.

About

Project Details

Type
Mod
License
All Rights Reserved
Latest Version
Auto Restart 1.21.1-3.0.1
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

About

Description

Version 3.X.X

For older versions of the mod, check the wiki.

This mod restarts the Minecraft server by itself or with an external restart script.
The mod can only be used on the server side and won't work on the client side.


You need a server to play with friends? You don't know how to set up one? Just rent an already configured server!

BisectHosting Promotion Banner

Click on the picture above, select a plan (with recommended at least 6 GB),
use my code agent to get 25% off your first month and enjoy playing with your friends!


Support

Supported Versions Image

Minecraft versions, for which the mod is not released, are not supported.
You can find a text version here.

Features

  • Restarting the server at specified times
  • Restarting the server with a delay, if it is empty
  • Restarting the server, if the TPS are below a specified level for a specified time

Server Config

The config file can be found in the "serverconfig" folder in the "world" folder and is named "auto_restart-server.toml". The name of the world folder is set for servers in the "server.properties" file.

  • restart – Options for restarting:
    • use_external_restart_script – Is the server started by an external restart script?
    • restart_command – Command that is executed on Server stopped to restart the server. Only called if "use_external_restart_script" is false.
  • auto_restart – Option for auto restarting:
    • enabled – Should the Server do automatic restarts?
    • times – Times in 24-hour format on which the server will automatically restart. Examples: "14:00", "16:32"
    • on_crash – Should the server be automatically restarted when it crashes.
    • warning_times – Times before an auto restart of the server, a restart warning should be shown. Examples:
    • 5s – For a message 5 seconds before a restart
    • 7m – For a message 7 minutes before a restart
    • 2h – For a message 2 hours before a restart
  • on_empty_restart – Options for restart, if the server is empty:
    • enabled – Should the server restart, if no players are online?
    • delay – Delay after the server should restart, if it is empty. Examples:
    • 5s – For a delay 5 seconds
    • 7m – For a delay 7 minutes
    • 2h – For a delay 2 hours
  • low_tps_restart – Options for restart, if the TPS of server or its dimensions are low:
    • enabled – Should the server restart, if it is below a TPS level for a specified time?
    • minium_tps_level – TPS level below which the server is restarted, if it lasts for the specified time.
    • delay – Delay, that the server must be below the defined TPS level, in order for it to be restarted. Examples:
    • 5s – For a delay 5 seconds
    • 7m – For a delay 7 minutes
    • 2h – For a delay 2 hours

Commands

  • /restart – Restarts the server

How to set up the mod?

To use the mod, one or more shell (sh or Linux) or batch (bat or cmd on Windows) scripts/files are needed.
To set up everything to use this mod, please check the Setup Guide.


Thanks for the logo to Muse31.
You can use this mod in non-commercial modpacks without asking.
You can find more mods from me on CurseForge or Modrinth.

This is a Forge mod only until 1.21.1. This is a NeoForge mod only starting 1.21.1. There will be no Fabric version. It will not be backported.

Version 3.X.X

For older versions of the mod, check the wiki.

This mod restarts the Minecraft server by itself or with an external restart script.
The mod can only be used on the server side and won't work on the client side.


You need a server to play with friends? You don't know how to set up one? Just rent an already configured server!

BisectHosting Promotion Banner

Click on the picture above, select a plan (with recommended at least 6 GB),
use my code agent to get 25% off your first month and enjoy playing with your friends!


Support

Supported Versions Image

Minecraft versions, for which the mod is not released, are not supported.
You can find a text version here.

Features

  • Restarting the server at specified times
  • Restarting the server with a delay, if it is empty
  • Restarting the server, if the TPS are below a specified level for a specified time

Server Config

The config file can be found in the "serverconfig" folder in the "world" folder and is named "auto_restart-server.toml". The name of the world folder is set for servers in the "server.properties" file.

  • restart – Options for restarting:
    • use_external_restart_script – Is the server started by an external restart script?
    • restart_command – Command that is executed on Server stopped to restart the server. Only called if "use_external_restart_script" is false.
    • auto_restart – Option for auto restarting:
      • enabled – Should the Server do automatic restarts?
      • times – Times in 24-hour format on which the server will automatically restart. Examples: "14:00", "16:32"
      • on_crash – Should the server be automatically restarted when it crashes.
      • warning_times – Times before an auto restart of the server, a restart warning should be shown. Examples:
        • 5s – For a message 5 seconds before a restart
        • 7m – For a message 7 minutes before a restart
        • 2h – For a message 2 hours before a restart
    • on_empty_restart – Options for restart, if the server is empty:
      • enabled – Should the server restart, if no players are online?
      • delay – Delay after the server should restart, if it is empty. Examples:
        • 5s – For a delay 5 seconds
        • 7m – For a delay 7 minutes
        • 2h – For a delay 2 hours
    • low_tps_restart – Options for restart, if the TPS of server or its dimensions are low:
      • enabled – Should the server restart, if it is below a TPS level for a specified time?
      • minium_tps_level – TPS level below which the server is restarted, if it lasts for the specified time.
      • delay – Delay, that the server must be below the defined TPS level, in order for it to be restarted. Examples:
        • 5s – For a delay 5 seconds
        • 7m – For a delay 7 minutes
        • 2h – For a delay 2 hours

Commands

  • /restart – Restarts the server

How to set up the mod?

To use the mod, one or more shell (sh or Linux) or batch (bat or cmd on Windows) scripts/files are needed.
To set up everything to use this mod, please check the Setup Guide.


Thanks for the logo to Muse31.
You can use this mod in non-commercial modpacks without asking.
You can find more mods from me on CurseForge or Modrinth.

This is a Forge mod only until 1.21.1. This is a NeoForge mod only starting 1.21.1. There will be no Fabric version. It will not be backported.

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~160,000
Total Downloads
CurseForge
~150,000
Modrinth
~7,000
Last Updated
CurseForge
Modrinth
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works