Compatibility
Minecraft: Java Edition
26.2
26.1.x
1.21.x
1.20.1–1.20.6
Platforms
Tags
Creators
Details
Licensed MIT
Published 2 days ago
Updated last month
OptimizationForLB
OptimizationForLB is a lightweight server optimization and performance alert plugin built for Paper and Purpur servers.
It automatically monitors server TPS, player ping, and server RAM usage, sending clear warning alerts when performance drops.
Features
- TPS Monitoring: Sends warnings when server performance drops to 17 TPS or lower. Sends repeated alerts when TPS reaches 15 or lower.
- Ping Monitoring: Alerts players experiencing high ping to inform them of connection latency.
- RAM Monitoring: Tracks server memory usage in GB and alerts when RAM starts filling up.
- Clean Messages: All warnings are formatted clearly in red chat messages.
- Fully Configurable: Easily customize all thresholds and messages in config.yml.
Commands and Permissions
- /opt status - View current server TPS, RAM usage, and player ping (Permission: optimizationforlb.admin)
- /opt reload - Reload the plugin configuration (Permission: optimizationforlb.admin)
- /opt help - Show command help (Permission: optimizationforlb.admin)
Configuration Example
plugin:
prefix: "&8[&cOptimizationForLB&8] "
tps-monitoring:
enabled: true
max-warning-tps: 17.0
drop-alert:
enabled: true
message: "&cWARNING: Server TPS dropped to &e{tps}&c!"
critical-alert:
enabled: true
threshold: 15.0
interval-seconds: 6
message: "&cWARNING: Low server TPS detected! Current TPS: &e{tps}&c!"
ping-monitoring:
enabled: true
check-interval-seconds: 10
high-ping-threshold-ms: 200
player-warning-message: "&cWARNING: Your ping is currently high (&e{ping} ms&c). You may experience latency."
memory-monitoring:
enabled: true
check-interval-seconds: 15
usage-threshold-percent: 85.0
min-free-gb: 1.0
warning-message: "&cWARNING: Server RAM is filling up! Used: &e{used_gb} GB / &e{max_gb} GB (&e{percent}% used)."


