From 518f2daeeb4be97ca9b87416c5939054bb75ed5f Mon Sep 17 00:00:00 2001 From: Pascal Koenig Date: Sat, 27 Aug 2011 19:16:24 +0200 Subject: [PATCH] Updated the README-file --- README.md | 15 +++++++++++++-- src/de/sockenklaus/XmlStats/XmlStats.java | 2 +- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 231cb15..d4eb34b 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,17 @@ This plugin for the Bukkit Minecraft Server API ([Homepage](http://bukkig.org) | ## Usage -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 XmlStats.conf, set the following value and reload the server again: +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: - xmlstats-enabled = true \ No newline at end of file + options.webserver-enabled: true + +Afterwards you can access the following xml files: + + http://server:port/users.xml for a list of all known players on your server. + http://server:port/userstats.xml for the stats of all known players + +The following commands are planned but not implemented yet: + + http://server:port/userstats.xml?id=username to fetch the stats of the given user + http://server:port/money.xml to get data provided by the iConomy plugin + http://server:port/money.xml?id=username self-explanatory \ No newline at end of file diff --git a/src/de/sockenklaus/XmlStats/XmlStats.java b/src/de/sockenklaus/XmlStats/XmlStats.java index aae88e2..cd183ec 100644 --- a/src/de/sockenklaus/XmlStats/XmlStats.java +++ b/src/de/sockenklaus/XmlStats/XmlStats.java @@ -60,7 +60,7 @@ public class XmlStats extends JavaPlugin { } } else { - LogWarn("Webserver ist derzeit in der "+getDataFolder().getPath()+"/"+settings.getSettingsFilename()+" deaktiviert."); + LogWarn("Webserver ist derzeit in der "+settings.getSettingsFilename()+" deaktiviert."); }