HomeJavaModsLowTpsRestart
LowTpsRestart
ModsJava

LowTpsRestart

by masterhaxixu · on Modrinth

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.2–1.21.11 · Bukkit⬇ Download for 1.21.2–1.21.11 · Paper⬇ Download for 1.21.2–1.21.11 · Purpur⬇ Download for 1.21.2–1.21.11 · Spigot
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

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:

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
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more