Skip to content
/SLASHPLAY

How to enable JMX monitoring on a Minecraft server

Set enable-jmx-monitoring=true in server.properties and restart the server. Tick time stats are then exposed over Java JMX for monitoring tools.

enable-jmx-monitoring

Controls whether the server exposes tick time statistics through Java JMX for monitoring tools.

enable-jmx-monitoring=<value>

Examples

enable-jmx-monitoring=true

Expose tick metrics over JMX.

Values

ValueWhat it does
true On
falseDefault Off

Arguments

valueRequired
The value to write after the equals sign.

What it does

Turns on a JMX bean with average tick times that monitoring tools can read. You also need the matching JVM flags to open a JMX port. Leave it off unless you run JMX based monitoring.

Good to know

  • Changes take effect after a server restart.

Run it on your server

On a SLASHPLAY server, type it in the Console tab without the leading slash; in game, operators type it in chat with the slash. New to this? Start a Minecraft server first.

Your own
Minecraft server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.