Compatibility
Minecraft: Java Edition
Platforms
Tags
Creators
Details
ServerTune
ServerTune is a highly configurable Paper plugin for server performance monitoring, optimization, diagnostics and fallback protection.
It samples TPS, MSPT, CPU, memory, chunks and entities on a fixed interval. On top of that sit optional optimization modules, an on-demand plugin profiler, and a state machine that pulls the plugin's own work out of the way when the server is already struggling.
Features
- TPS, MSPT, CPU, memory, chunk, entity, player, plugin and datapack monitoring
- Configurable alerts on warning/critical/emergency thresholds
- Seven independently toggleable optimization modules
- Diagnostics engine with per-chunk hotspot ranking and severity-graded findings
- Config recommendations derived from measured samples (never auto-applied)
- On-demand plugin performance diagnostics
- Adaptive performance guard with fallback and staged recovery
- Self-monitoring: per-subsystem budgets, with over-budget modules suspended
Commands
| Command | Description | Permission | Sender |
|---|---|---|---|
/servertune / /servertune status |
Optimizer status | servertune.use |
Both |
/servertune version |
Plugin, author, API and server version | servertune.use |
Both |
/servertune reload |
Reloads configuration and refreshes modules/diagnostics | servertune.reload |
Both |
/servertune recommendations |
Suggested config changes from the last sample | servertune.recommendations |
Both |
/servertune diagnose |
Analyzes latest cached diagnostic snapshot | servertune.diagnose |
Both |
/servertune diagnose --force |
Fresh bounded main-thread sampling | servertune.diagnose.force |
Both |
/servertune diagnose plugins [seconds] |
Temporary plugin event profiling | servertune.diagnose.plugins |
Both |
/servertune diagnose plugins cancel |
Stops running window | servertune.diagnose.plugins |
Both |
/servertune profile [name] |
Shows what intervals each profile resolves to | servertune.use |
Both |
/servertune chunks |
Cached chunk totals + module state | servertune.use |
Both |
/servertune entities |
Entity totals + module states | servertune.use |
Both |
/servertune op |
Lists operators with ping for online players | servertune.op |
Both |
/servertune datapack |
On-demand static datapack risk scan | servertune.datapack |
Both |
/servertune modules |
Lists enabled and disabled modules (read-only) | servertune.use |
Both |
/servertune debug |
Per-subsystem execution timings | servertune.admin |
Both |
/servertune debug selfmonitor [on|off|status] |
Toggles SelfMonitor console logging at runtime | servertune.admin |
Both |
/servertune debug selfmonitor verbose [on|off] |
Verbose SelfMonitor logging; bare toggles | servertune.admin |
Both |
/servertune discord status |
Discord integration status | servertune.use |
Both |
/servertune discord test |
Sends a test embed via configured transport | servertune.discord.test |
Both |
/servertune discord reload |
Re-reads Discord settings/secrets | servertune.discord.reload |
Both |
/servertune health |
TPS, MSPT, CPU, memory, players, chunks, entities, status | serverhealth.use |
Both |
/servertune health version |
Plugin and server version | serverhealth.use |
Both |
/servertune health chunks |
Cached loaded chunk totals | serverhealth.use |
Both |
/servertune health entities |
Entity totals and top types | serverhealth.use |
Both |
/servertune health plugins |
Installed plugins and their enabled state | serverhealth.use |
Both |
/servertune health datapacks |
Enabled and disabled datapacks | serverhealth.use |
Both |
/servertune health diagnose |
Findings by severity from the last sample | serverhealth.diagnose |
Both |
/servertune health hotspots |
Highest-scoring chunks from the last sample | serverhealth.diagnose |
Both |
/servertune health live / /servertune health live stop |
Player-only cached health updates | serverhealth.use |
Player only |
/servertune health debug |
Collector timings and internal state | serverhealth.admin |
Both |
/servertune core |
Compact core metrics | serverhealth.core |
Both |
Permissions
All default to op; servertune.* grants everything.
Permission inheritance: every /servertune subcommand also requires servertune.use. Paper's registered /servertune diagnose branch additionally requires servertune.diagnose, including its --force and plugins children. For forced diagnostics, grant all three: servertune.use, servertune.diagnose and servertune.diagnose.force. Every /servertune health subcommand also requires serverhealth.use; /servertune core uses its separate serverhealth.core permission.
| Permission | Default | Purpose |
|---|---|---|
serverhealth.use |
op | Read-only health views |
serverhealth.core |
op | /servertune core |
serverhealth.diagnose |
op | Reads an existing sample: diagnose, hotspots |
serverhealth.admin |
op | /servertune health debug |
serverhealth.alert |
op | Receives alerts and guard state changes (not a command node) |
servertune.use |
op | Base access required for /servertune; grants no elevated leaf by itself |
servertune.reload |
op | Reload configuration |
servertune.recommendations |
op | View recommendations (read-only; changes nothing) |
servertune.diagnose |
op | Reads the cached diagnostic snapshot; also the parent gate for the registered diagnose branch |
servertune.diagnose.force |
op | Requests a fresh forced scan; not implied by servertune.diagnose |
servertune.diagnose.plugins |
op | Starts/stops temporary plugin event profiling; not implied by the cached-read permission |
servertune.op |
op | Views the operator list |
servertune.datapack |
op | Requests a static datapack risk scan |
servertune.admin |
op | Debug output and SelfMonitor runtime controls |
servertune.discord.test |
op | Send Discord test messages |
servertune.discord.reload |
op | Reload Discord configuration |
servertune.* |
op | Grants all servertune.* + serverhealth.* |
Compatibility
| Platform | Support |
|---|---|
| Java | 25 or newer (hard requirement) |
| Spigot / Bukkit | Not supported. Uses only Paper APIs |
Configuration
| Section | Controls |
|---|---|
performance.* |
Sampling profile and the health/deep-analysis intervals |
alerts.* |
Warning, critical and emergency thresholds, cooldowns, recovery notices |
optimization.modules.* |
Per-module enable switches and their tuning. Never changed by performance.profile |
fallback.* |
Trigger and recovery thresholds, staged recovery delays |
performance-guard.* |
The state machine, hysteresis, and whether it may act rather than only report |
self-monitoring.* |
Per-subsystem millisecond budgets and logging |
diagnostics.* |
Sampling budget, staleness, hotspot thresholds |
diagnostics.plugin-scan.* |
Default and maximum window, result count, minimum confidence |
recommendations.* |
Recommendation output |
Optimization modules
Entity / item — item and xp merge nearby stacks and orbs with per-chunk caps; projectile removes arrows and tridents after some intervals ; entity applies global and per-chunk caps by category. The first three are on by default, entity is off.
Redstone / block systems — hopper throttles transfers and pickups with per chunk and connected network limits; redstone rate-limits pistons and dispensers across five modes from vanilla to aggressive. Both off by default.
Chunks — chunk unloads chunks inactive past a timeout, bounded per cycle, with spawn chunk and explicit protection lists. Off by default.
Discord Integration
ServerTune includes a full Discord integration for server notifications and performance alerts.
Transports
| Transport | Description |
|---|---|
| WEBHOOK | Uses Discord webhook URL. Simple, no bot account needed. |
| BOT | Uses Discord Bot REST API. Requires bot token and channel ID. Supports richer formatting. |
Performance & Safety
-
Self-monitoring.
-
Fallback.
-
Recommendations
Links
- Discord - https://discord.gg/UHccj8G67b
Bug reports should include your Paper and Java versions, /optimizer status output, which modules are enabled, and the full stack trace if there is one. For performance complaints include /optimizer debug the fastest way to tell whether the cost is ServerTune's.
For Support Contact Discord - https://discord.gg/UHccj8G67b


