MineJMX

2.3k Downloads

MineJMX - Minecraft Server Statistics Exported Via JMX

Version: v1.2.1

This plugin allows a server admin to gather Statistics on their minecraft server

These statistics are exported through JMX. Meaning you get all the JVM level

statistics as well as the minecraft specific statistics. This can then be imported

into a monitoring application

Features:

  • Java VM Stats ( threads , memory usage , CPU usage )
  • Minecraft Server Level Stats ( total number of blocks placed , .... )
  • Minecraft Player Level Stats ( Kills , Deaths , Number of Things placed

Plugin is hosted on GitHub https://github.com/dkhenry/Minecraft-JMX-Plugin

You can download the most recent compiled jar from BukkitDev

Any Server Administrator who is interested can have their Server added to my Instance of performanceondemand.com

Send me an PM and I will get you set up with access. It will give you nice graphs and reports from these stats

Installation & Configuration:

Just drop the .jar file in your plugins directory. the plugin takes care of starting the PlatformMbean Server.

On first run it will make a MineJMX.properties file. Edit this file and change the username , password and port

You can then connect to the JMX serving using JConsole MX4J or any other JMX client

The default connection string is

service:jmx:rmi:///jndi/rmi://<Your IP>:9999/jmxrmi

Notes

If you are trying to connect to the server that is behind a NAT then you will need to add an additional field to the config file the hostname field needs to be set to your public IP address. Also you will need to forward the JMX port thropugh your router.

Changelog:

Version 1.2.1

  • Updated to newest version of Bukkit

Version 1.1.1

  • Minor BugFixes

Version 1.1.0

  • Added support for Server Ticks
  • Added Support for Server Lag
  • Added Support for lots of Non Player things
  • Moved where we are storing some of the NPE Stats
  • Added Support for Environmental Deaths on players and NPE ( For anyone using a MobSpawner )
  • Various Bugfixs

Version 1.0.1

  • Added Support for Slimes
  • Added Initial Support for distance traveled
  • Added support for Mobs Killed by Enviroment

Version 1.0.0

  • Added support for more metrics
  • Added a Persistence Layer with SQLite to have counter values survive Server Reboots
  • Move Build system to Maven ( Not really relevant to anyone but developers )
  • Added Block Decay and Spread Stats
  • Fixed Various Counter Bugs

Version 0.0.2

  • Better support for Block Level Stasticics
  • Bug Fixes
  • Switched some of the counters to 64Bits

Version 0.0.1

  • Initial Release ( Supports Most Interesting Metrics )