Перейти к содержимому
Mineforgian

LowTpsRestart

Simple and lightweight TPS/RAM Monitoring/Restart plugin

Загрузки
603
Подписчики
6
Обновлён
9 марта 2026 г.
Лицензия
Apache-2.0

Опубликован 7 сентября 2023 г.

Low TPS Restart

This plugin lets you monitor your TPS (Ticks Per Second) or Ram Usage and take action depending on the values set in the config.

Commands:

  • /lowtpsrestart reload Reloads config
  • /ltr reload Alias for the above command

Config:

#Is plugin enabled or not.
enabled: true
#Should the plugin check for low TPS or not
tps-module: true
#Should the plugin check for high ram usage or not
ram-module: true
#lowest tps to trigger server restart
lowest-tps: 5
# percentage of ram being used from total amount
highest-ram-usage: 90
#TPS/Ram Checks in seconds
interval: 5
#restart message that gets broadcasted when server restarts. Set it to "NONE" if you don't want a message to be sent
restart-message: '<red>[<yellow>Low TPS Restart<red>]<reset> <bold>Server Restarting due to low TPS/Memory'
#Command to be reset if the plugin has seen high ram usage or low TPS
command-to-be-sent: restart
#Discord Webhook functionality
webhook-enabled: false
#The Webhook URL
webhook-url: 'WEBHOOK_URL'
# Optional override for webhook messages
server-name: ""

tps_triggered_embed:
  title: 'Server Restarted'
  description: 'The server `{server}` was restarted due to the TPS being (`{tps}`/{tps_limit}).'
  color: 16711680
ram_triggered_embed:
  title: 'Server Restarted'
  description: 'The server `{server}` was restarted due to high RAM usage ({ram_usage}%/{ram_limit}%).'
  color: 16711680

Ченджлог

0.8Релиз1.21.9, 1.21.10, 1.21.11 · 9 марта 2026 г.

Added configurable embeds

0.7Релиз1.21.9, 1.21.10, 1.21.11 · 4 марта 2026 г.
  • Changed to Paper API From Spigot
  • Changed way that embeds are constructed and sent
  • Added FastStats Tracking for me :)
0.6Релиз1.20, 1.20.1 · 7 сентября 2023 г.

Updated from 1.19.2, fixed minor bugs and changed it to use Paper API

Комментарии

Загружаем…