Minecraft Plugin

This plugin monitors some metrics that are available on Minecraft servers. It can keep track of multiple Minecraft servers.

Metrics

  • Active players
  • Max players

Configure the plugin

To enable the plugin, edit the /etc/agent360-custom.ini file and add the following lines:

[minecraft]
enabled=yes
hosts=127.0.0.1:8000,127.0.0.2:8000...

The hosts value can accept multiple Minecraft hosts, comma separated. You can also just monitor a single host.

Test the plugin

Run the sudo -u agent360 agent360 test minecraft command and see if it returns any data.

Now you can restart the agent with the service agent360 restart command.

Create Charts

You can now create a chart on the Dashboard with your Minecraft metrics. On the Metrics page, select Minecraft as metric type, then select online to create a chart of your active and online players.