Compatibility
Minecraft: Java Edition
1.20–1.20.1
Platforms
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Licensed Apache-2.0
Published 2 years ago
Updated 2 years ago
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 value before action is taken
lowest-tps: 5
# Highest percentage of ram usage before action is taken
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'