Metrics

Metrics in DAPL

What is it?

Plugin Metrics/ MCStats is a service that was created by myself around 5 months ago (the start of January). It serves to be more open than other closed-off plugin stats systems while at the same time striving to provide incredible possibilities in what can be done with it. All data is for the most part public and you can view the same data plugin authors can view.

A very large percentage of Bukkit-enabled servers are somehow affected by Plugin Metrics / MCStats. There are over 80,000 servers reporting during peak times of the day (which is over 400 requests/second). Metrics represent over 500 plugins that make up our servers and define how our servers work. Of these are ones almost everyone will have heard of: Essentials, Vault, mcMMO, ChestShop, LWC, and many other excellent plugins. Even the Bukkit fork CB which is not a plugin uses this.

What does it do?

mcstats.org stats It does stat collecting. Much like Minecraft's official stats but this does not cover the same aspects Metrics covers. Plugins can optionally submit and graph custom data, for example Vault creates pie graphs of what Econ/Perm/Chat plugins are hooked.

Metrics does not download any files to install itself. It is bundled directly with the plugin and reads from the same config file as every other metrics-enabled plugin. Some plugins add in a second opt out (which only one needs to be activated) and some allow you to opt out from in-game (for example, Essentials), however all will contain at least one opt-out inside plugins/Plugin Metrics/config.yml

Ok, but what exactly is read/sent?

It is not possible for Metrics to control the plugin in any way except for plugin-specific code the plugin author implements. As mentioned before, nothing is downloaded, so what you get is what the plugin author implemented.

The following data is read from the server in some way or another:

  • File Contents of plugins/Plugin Metrics/config.yml (created if not existent)
  • Players currently online (not max player count)
  • Server version string (the same version string you see in /version)
  • Plugin version of the metrics-supported plugin
  • Mineshafter status - it does not properly propagate Metrics requests however it is a very simple check and does not read the filesystem

The following data is sent to http:mcstats.org:

  • Metrics revision of the implementing class
  • Server's GUID
  • Players currently online (not max player count)
  • Server version string (the same version string you see in /version)
  • Plugin version of the metrics-supported plugin

DragonAntiPvpLeaver (DAPL) custom data send to mcstats.org

  • ListenerMode
  • WorldGuard version
  • Factions version

You can disable the each custom data in the config.yml of the plugin under the metrics section.

How to disable Metrics complety?

  1. Go to plugins/Plugin Metrics/config.yml
  2. Set opt-out to true

I used text from the thread: https:forums.bukkit.org/threads/updater-2-1-easy-safe-and-policy-compliant-auto-updating-for-your-plugins-new.96681/


Comments

Posts Quoted:
Reply
Clear All Quotes