Low TPS / High RAM Automatic Restart
0.8Restarts the server if the TPS/RAM is smaller/larger or equal to the preset number
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:
Plugin is not disabled by default
If you have any questions dm me on discord at masterhaxixu
or join the discord server
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
Permissions:
lowtpsrestart.reload - Permission to reload the plugin
Commands:
/lowtpsrestart reload OR /ltr reload (NEEDS lowtpsrestart.reload permission)Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta