Performance Monitor

The Performance Monitor provides real-time statistics about your server's health, allowing you to quickly check if things are running smoothly.

Configuration

Located at plugins/ClearLaggEnhanced/modules/performance/config.yml.

enabled: true

# How often (in ticks) to update performance stats
update-interval: 20

Features

TPS (Ticks Per Second)

The standard measure of server performance. Ideally, this should be at 20.00. If it drops below 19.00, your server is experiencing lag.

MSPT (Milliseconds Per Tick)

MSPT tells you how long it takes for the server to calculate a single tick.

  • MSPT < 50: Running smoothly (20 TPS).
  • MSPT > 50: Starting to lag (TPS will drop).

Memory Usage

Track how much RAM the server is currently using vs. how much is allocated.

Commands

To view the current performance stats, use:

  • /cl tps
  • /cl status

PlaceholderAPI Integration

The performance stats are also available as placeholders if you have PlaceholderAPI installed.