Files
XmlStats/README.md
Pascal Koenig c4f7db2d0d Implemented optional gzip compression, some verbose output and the
registry pattern to organize object references.
2011-08-28 18:52:53 +02:00

30 lines
1.1 KiB
Markdown

# XmlStats
This plugin for the Bukkit Minecraft Server API ([Homepage](http://bukkit.org) | [Github](https://github.com/Bukkit/Bukkit )) offers the possibility to access some playerstats via xml files. The provided data is basically generated by [Stats](https://github.com/nidefawl/Stats).
## Install
To install the plugin, simply place the compiled **XmlStats.jar** in your servers plugin directory and execute the /reload-command on your server. The plugin will create it's config file in the /plugins/XmlStats directory. To enable the webserver of the plugin you have to edit the config.yml, set the following value and reload the server again:
options.webserver-enabled: true
## Usage
Afterwards you can access the following xml files:
For a list of all known players on your server:
http://server:port/users.xml
For the added up stats of all known players:
http://server:port/userstats.xml
To fetch the stats of the given user:
http://server:port/userstats.xml?player=username
To get data provided by the iConomy plugin:
http://server:port/money.xml