Auto Restart

Adds auto restarting to Minecraft servers.

Редакция NLZONE · 3 мин чтения · 1 просмотр
Auto Restart
Скачать Auto Restart1.17.1 – 26.3 · с официальной страницы: modrinth.com
Перейти к загрузке

Что это

Adds auto restarting to Minecraft servers.

  • Тип: мод
  • Загрузчик: forge, neoforge
  • Версии Minecraft: 1.17.1 – 26.3
  • Скачиваний на Modrinth: 9 432

Подробно

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!

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!

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

- 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

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

- restart – Options for restarting: - useexternalrestartscript – Is the server started by an external restart script? - restartcommand – Path of the script, that is executed on Server stopped to restart the server. Only called if "useexternalrestartscript" is false. It must only contain the path of the script, without any other commands or arguments (i.e. "/opt/minecraft/start.sh", not "bash start.sh" or "start.sh nogui"). - autorestart – 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" - oncrash – Should the server be automatically restarted when it crashes. Only used with "restartcommand". An external restart script restarts the server after a crash anyway. - warningtimes – 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 - onemptyrestart – 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 - lowtpsrestart – Options for restart, if the TPS of server or its dimensions are low: - enabled – Should the s

Как установить

Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.

Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.

Редакция NLZONE

Пишем о серверах, модах и играх, в которые играем сами. Нашли ошибку — напишите нам, исправим.

Комментарии 0

Комментарии к этому материалу отключены.

Читайте также