Download Auto Restart — Minecraft Mods — MetaMods
Auto Restart

Auto Restart

Active

Downloads

0

Last update

1 year ago

Versions

1.17.1 — 1.21.1
Server
Forge
Utils

Auto Restart

Version Compatibility

Supported Versions

The mod only works with Minecraft versions for which it has been officially released. This is an exclusively server-side solution - it does not function on the client side.

Main Features

This mod automates the Minecraft server restart process, offering several activation options:

  • Scheduled Restarts - configuration of regular reboots at specified times
  • Restart on Empty Server - automatic restart when the server is empty with configurable delay
  • Restart on Low TPS - activation when server performance drops below a set level for a specified duration
  • Emergency Restart - automatic recovery after crashes

Configuration Setup

The configuration file is located in the "serverconfig" folder within the world directory and is named "auto_restart-server.toml". Main parameters:

Basic Restart Settings

  • use_external_restart_script - use of external restart script
  • restart_command - command to restart the server (active only when external script is disabled)

Automatic Restart

  • enabled - enable automatic restarts
  • times - restart time in 24-hour format (e.g.: "14:00", "16:32")
  • on_crash - restart on crash
  • warning_times - warnings before upcoming restart (5s, 7m, 2h)

Restart on Empty Server

  • enabled - activate function
  • delay - delay before restart (5s, 7m, 2h)

Restart on Low TPS

  • enabled - enable performance monitoring
  • minium_tps_level - minimum acceptable TPS level
  • delay - duration TPS must remain low

Commands

  • /restart - immediate server restart

Installation and Setup

Shell scripts (for Linux) or batch files (for Windows) are required for the mod to function. This solution is Forge-only and will not be ported to Fabric.

Logo author: Muse31. The mod can be freely used in non-commercial modpacks.

Project members
GeheimagentNr1

GeheimagentNr1

Developer

Created: 16 Apr 2023

ID: 8997