Earlier Versions
| Name | Size | Uploaded | Game Version | Downloads | |
| StatsMC-java16.jar release | 8.47 KB | Jun 19, 2022 | 1.17 | 3 | Download |
| StatsMC.jar release | 6.96 KB | May 18, 2022 | 1.18.2 | 15 | Download |
| StatsMC.jar release | 6.90 KB | Mar 10, 2022 | 1.18.2 | 37 | Download |
Description
Description
This plugin creates API that returns vanilla player statistics on “<ip>:11236/mcstats/all_players/”. It requires port 11236 to be opened in your hosting settings.
Api entry points:
/mcstats/all_players/
args:
statistic– the name of statistic
block_type – the name of material (if statistic requires one. example: DROP statistic requires type of item (material) that is dropped)
entity_type – the name of entity (if statistic requires one. example: KILL_ENTITY statistic requires type of entity that is killed)
return:
Dict of player names as keys and their stat values as values.
example: {"jeb_": 1234, "Notch": 700, "Herobrine": 900}
/mcstats/list
args:
No args needed
return:
list of all tracked statistics. All items from this list can be used in statistic argument of /mcstats/all_players/
example: ["DAMAGE_DEALT", "DAMAGE_TAKEN", ... "STRIDER_ONE_CM"]
/mcstats/list/materials
args:
No args needed
return:
list of all materials. All items from this list can be used in block_type argument of /mcstats/all_players/
example: ["AIR", "STONE", ... "POTTED_FLOWERING_AZALEA_BUSH"]
/mcstats/list/entities
args:
No args needed
return:
list of all entities. All items from this list can be used in statistic entitytype of /mcstats/allplayers/
example: ["DROPPED_ITEM", "EXPERIENCE_ORB", ..."CREEPER", ... "PLAYER", "UNKNOWN"]
Get 0.05 TON 💎
Download
Add a comment