XmlStats

XmlStats

About this plugin

XmlStats hooks into several plugins and populates a tiny own webserver to deliver the data got from the plugins. So you are able to extract plugin generated data from the minecraft server and display the data on your own website for example.

At this very early point of development, XmlStats only supports the following plugins:

  • Stats
  • All major Economy plugins (via Register)
  • Achievements

For the later development i am planning to support much more plugins, like

  • BetterShop
  • ChestShop

Also i am planning to improve the support of iConomy and implement some kind of authentication, so not everybody can access the provided data.

Installation

After dropping the jar file or unpacking the zip archive into your servers plugin directory, simply reload your server.

Usage

Ingame

At this time of the development an Op is able to reload the plugin without reloading the whole server:

/xmlstats reload

Via browser

To get data from my plugin simply access the following xml files:

For a list of all known players on your server:

http://server:port/user_list.xml 

For the added up stats of all known players:

http://server:port/user_stats.xml?sum=*

To fetch the stats of the given user:

http://server:port/user_stats.xml?user=username

Or to fetch the stats of a list of users:

http://server:port/user_stats.xml?user=user1,user2

You can combine these parameters, so you can receive the sum of some users and specific stats:

http://server:port/user_stats.xml?sum=user1,user2&user=* 

To get data provided by the iConomy plugin:

http://server:port/user_balances.xml?user=*
http://server:port/user_balances.xml?sum=*

Also you can request achievement data provided by the achievements plugin via:

http://server:port/achievements_list.xml
http://server:port/user_achievements.xml?user=*

You can request gzip compressed files by using the parameter gzip=true. This works on all files:

http://server:port/userstats.xml?gzip=true

Keep in mind: 9123 is the default port that can be changed in the plugins config.yml!

Support the development

If you like this plugin, you can support the development in many different ways.

The easiest way is to post feature- and change-requests to Github and i would totally appreciate it if you would clone my repository and would send in some changes. :)


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Recent Files

Bukkit