PLUGINSUSTATISTIC
# Install
C:\Users\you\bedrock_server\plugins\endstone_ustatistic-251220-py2.py3-none-any.whl
Use the animation for reference. Follow the plugin's README for exact steps.
# README
UStatistic
Introductions
- 9 types of statistical indicators
- Free of tedious file editing
- Support with full GUI forms
- Support with hot reloading
- Support with localized multi-language
Installation
- Endstone 0.10.0+
- 251220
- Optional pre-plugin
- Ensure you have downloaded the correct version and installed all required pre-plugins
- Place the
.whlfile into your server'spluginsfolder - Restart your server
- Enter the command
/ubdto call out the main form of UStatistic
File structure
plugins/
├─ ustatistic/
│ ├─ statistical_data.json
│ ├─ lang/
│ │ ├─ zh_CN.json
│ │ ├─ en_US.jsonConfiguration
statistical_data.json
{
"umaru rize": {
"break_count": 0,
"place_count": 0,
"death_count": 0,
"kill_player_count": 0,
"kill_mob_count": 0,
"online_time": 0,
"pick_up_item_count": 0,
"drop_item_count": 0,
"move_distance": 0
}
}Localized multi-language
- Currently supported localized languages for UStatistic:
-
zh_CN -
en_US
- How to add more languages to UStatistic? Here we use Japanese for an example.
- Create a file named
ja_JP.jsonand place it intolangfolder - Copy all key-value pairs from
en_US.jsonand paste them intoja_JP.json - Refer to the English values and translate them all into Japanese, then save the file.
- Restart your server, and you're all done!
- Create a file named
- If you'd like your translated language to be included as one of the official languages of this plugin, feel free to shoot over a PR.
API
"""
Read only
Ustatistic provides two types of API.
For type A, you can get the data of all players for the specified statistical indicators,
and it returns a dict.
For type B, you can get the data of a specified player for a specified statistical indicator,
and it returns an int.
"""
# Type A
self.server.plugin_manager.get_plugin("ustatistic").api_get_statistical_data(statistical_type: str) -> dict
# Type B
self.server.plugin_manager.get_plugin("ustatistic").api_get_player_statistical_data(statistical_type: str, player_name: str) -> int
"""
What is statistical type?
Statistical type is used to specify a statistical indicator, you can select one of the following values for input.
- break_count
- place_count
- death_count
- kill_mob_count
- kill_player_count
- drop_item_count
- pick_up_item_count
- move_distance
- online_time
"""Plugins
- U-Beautiful-Chat
- UPlayer (Plugin in press)
Not an official Minecraft product. Not approved by or associated with Mojang or Microsoft.
© 2023–2026 EndstoneMC
Not an official Minecraft product. Not approved by or associated with Mojang or Microsoft.