A Bukkit plugin that exposes ZCore player statistics over HTTP.
Built for Minecraft Beta 1.7.3 servers running Tsunami and ZCore.
| Endpoint | Description |
|---|---|
GET /api/server |
Server status, player count, total economy, total playtime |
GET /api/players/online |
List of online players with stats |
GET /api/leaderboard |
All players with stats |
GET /api/players/:name |
Single player lookup with full stats and balance |
name, kills, deaths, playtime, playtime_ms, blocks_placed, blocks_broken, mobs_killed, damage_dealt, damage_taken, blocks_traveled, first_join, last_join, online, rank, prefix, balance (player lookup only)
- Run
mvn package - Output JAR is in
target/ZCoreAPI-1.0.0.jar
- Drop the built JAR into your server's
plugins/folder - Start the server
- A
config.propertiesfile is generated inplugins/BMC-WebStats/
plugins/BMC-WebStats/config.properties:
port=6465
cors-origin=*| Option | Description | Default |
|---|---|---|
port |
HTTP server port | 6465 |
cors-origin |
Allowed CORS origin (* for any, or a specific domain) |
* |