Skip to content

Performance monitor

Cyrusbye720 edited this page Jun 6, 2026 · 3 revisions

Performance monitor

Periodically edits a single Discord message with the server's current TPS, MSPT, memory usage, and a small history graph.

Configuration

performance:
  enabled: true
  update-interval: 60
  tps-warning: 18.0
  tps-critical: 15.0
  memory-warning: 80

Thresholds

  • tps-warning — above this TPS the server is shown as green.
  • tps-critical — between tps-critical and tps-warning the server is shown as yellow.
  • memory-warning — above this percentage of used memory the server is shown as yellow; below it, the colour follows TPS.

/tps and the performance embed use the same thresholds.

Compatibility

On Spigot and generic Bukkit implementations, Bukkit.getTPS() is not available. ZDiscord probes for the API once at startup and falls back to a constant 20.0 if it is missing, so the embed still renders.


ZDiscord v1.1.0 · Home · Issues · Source

Clone this wiki locally