Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6231f9bf2d | ||
|
|
5a007d02f9 | ||
|
|
8be79fadc6 | ||
|
|
5c8a6b1865 | ||
|
|
9a985737d6 | ||
|
|
2597c12183 |
@@ -1,4 +1,4 @@
|
||||
# XmlStats v0.3
|
||||
# XmlStats v0.4
|
||||
|
||||
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).
|
||||
|
||||
@@ -52,4 +52,4 @@ Also you can request achievement data provided by the achievements plugin via:
|
||||
|
||||
You can request gzip compressed files by using the parameter gzip=true. This works on all files:
|
||||
|
||||
http://server:port/userstats.xml?gzip=true
|
||||
http://server:port/userstats.xml?gzip=true
|
||||
|
||||
@@ -77,7 +77,7 @@ public class Webserver {
|
||||
|
||||
this.server = HttpServer.create(this.address, 0);
|
||||
XmlStats.LogDebug("Created webserver.");
|
||||
|
||||
|
||||
this.server.createContext("/user_list.xml", new UserList());
|
||||
XmlStats.LogDebug("Created context /user_list.xml.");
|
||||
|
||||
|
||||
@@ -219,7 +219,7 @@ public class XmlStats extends JavaPlugin {
|
||||
if (registerTemp != null && registerTemp.getClass().getName().equals("com.nijikokun.register.Register") && registerTemp.isEnabled() && Methods.hasMethod()) return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Checks if is Achievements hooked.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user