LagSpikeGuardian Your All-in-One Solution for Server Stability
━━━━━━━━━━━❖━━━━━━━━━━━
As a developer and server enthusiast, I know the biggest challenge for any server owner is lag. It can come from anywhere—a forgotten mob farm, a massive item spill, or a broken redstone machine. I created **LagSpike Guardian** to be a smarter, all-in-one solution. Instead of just blindly clearing entities, this plugin actively monitors your server's health and provides you with the tools to both automatically prevent lag and diagnose it yourself. It's powerful, lightweight, and designed to give you peace of mind.
⭐ Features
✅ Intuitive GUI Control Panel: Manage all major features through a clean and easy-to-use in-game menu (`/lagspike gui`).
✅ Automatic TPS Monitoring: Intelligently clears entities only when your server's TPS drops below a configured threshold.
✅ Scheduled Item Sweeper: Proactively cleans up dropped items on a timer, with configurable warnings and a protected-item list.
✅ Smart Redstone Limiter: Detects and temporarily disables hyperactive redstone clocks that cause server lag.
✅ Powerful Diagnostic Tools: Use `/lagspike topchunks` to instantly find the laggiest chunks on your server.
✅ Full Admin Control: Manually clear items or mobs on demand, and reload the entire configuration without a server restart.
✅ 100% Configurable: Every message, color, timer, and setting can be changed in the `config.yml`.
✅ User-Friendly Commands: All commands feature full tab-completion for ease of use.
Commands & Permissions
Command
Permission
Description
/lagspike gui
lagspike.admin
Opens the main GUI control panel.
/lagspike status
(none)
Shows the server's current TPS, entities, and memory.
/lagspike reload
lagspike.admin
Reloads the entire plugin configuration.
/lagspike clear <items|mobs>
lagspike.clear
Manually clears all items or configured mobs.
/lagspike topchunks
lagspike.diagnostics
Shows the top 5 chunks with the most entities.
*(All permissions default to OP)*
⚙️ Default Configuration
Code (YAML):
# (Your full config.yml goes here)
Installation
Download the `LagSpikeGuardian.jar` file.
Place the JAR in your server's `plugins` folder.
Restart your server.
Support & Donations If you have suggestions, find a bug, or need help, please
join our Discord Server!
If you enjoy this plugin and find it useful, please consider supporting its development. Every donation is greatly appreciated!
Support me on Patreon