Advanced Restart

A highly-configurable plugin for automatically stopping and restarting servers.

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

Что это

A highly-configurable plugin for automatically stopping and restarting servers.

  • Тип: мод
  • Загрузчик: bukkit, paper, purpur, spigot
  • Версии Minecraft: 1.19 – 1.21.9
  • Скачиваний на Modrinth: 3 496

Подробно

About Advanced Restart is a lightweight and highly-configurable plugin. It can automatically restart your server with a variety of triggers such as runtime, lag, inactivity and you can even schedule restarts daily or throughout week.

Features: - Schedule Restarts - Periodic Restarts - Warn players before restart - Restart if TPS drops too low - Restart if RAM usage gets to high - Multiple shutdown methods - Almost everything in the plugin is configurable - + more

yaml AdvancedRestart by txsla / NBT Archives Messages are formatted with MiniMessage Format generator: https://webui.advntr.dev/ Documentation: https://docs.advntr.dev/minimessage/format.html set messages to null to disable

Restarts daily or a certain day/time of the week Use the format 'ddd-hh:mm' ; Use 24h time Days are MON, TUE, WED, THU, FRI, SAT, SUN or ALL for daily scheduledRestart: enabled: false schedule: - 'ALL-12:00' - 'TUE-02:45' - 'Fri-14:45' message: ' - Scheduled Server Restart - '

Restart if server has been running for a certain amount of time periodicRestart: enabled: false duration: 1440 #minutes message: ' Server runtime: %RUNTIME minutes - Restarting '

Sets a warning period before restart Only applies to periodicRestart and scheduledRestart restartWarning: # Sends a message x seconds before the server restarts secondsWarn: enabled: true seconds: 5 countdown: true # send the message every second? message: ' Server restarting in %S seconds! ' # Sends a message x minutes before the server restarts minuteWarn: enabled: false minutes: 5 countdown: true # send the message every minute? message: ' Server restarting in %M minutes! '

Restarts server when there are no players online Timer cycles from first player join Will NOT restart server if no players have joined inactiveRestart: enabled: false timer: 300 # seconds message: ' No players online: Restarting '

Restart if server gets too laggy lagRestart: lowTPS: enabled: false minTPS: 10 # TPS checks: 3 # how many consecutive failed checks before restart, lower number will restart sooner message: ' Server TPS dropped below %TPS - Restarting ' lowMemory: enabled: false maxMemUsage: 4096 # MB checks: 5 # how many consecutive failed checks before restart, lower number will restart sooner message: ' Server RAM usage exceeded %MEM - Restarting '

Server shutdown method 1 = Bukkit.shutdown() 2 = Bukkit.spigot().restart() 3 = only run shutdown commands shutd

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

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

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

Редакция NLZONE

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

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

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

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