The most customizable HUD plugin
- MCPE 1.1 - 1.2
- Api 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9, 3.0.0-ALPHA10
- PocketMine, BlueLight
- 1.4.6 Released:
- Added FactionsPro and PurePerms support
- Fixed various bugs
- Namespace updated to \mystats\
- Added new poggit icon
- New API method (mystats\MyStats::getAPI())
- More concise settings (config update)
- Plugin clean-up
- Version 1.4.6 (Stable):
- Version 1.4.5 (Stable):
- Version 1.4.4 (Stable):
- Version 1.4.3 (Stable):
- Version 1.4.2 (Unstable):
- Version 1.4.1(Unstable):
- Version 1.4.0(Unstable):
- Version Latest (Unstable):
- Version 1.3.0 (Unstable):
- Version v1.2.0 (Unstable):
- Get player`s data
public function getData(Player $player): \mystats\utils\Data {
$api = \mystats\MyStats::getAPI();
return $api->getPlayerData($player);
}
- Get player`s kills
public function getData(Player $player): \mystats\utils\Data {
$api = \mystats\MyStats::getAPI();
return $api->getPlayerData($player);
}
public function getKills(Player $player): int {
$data = $this->getData($player);
return $data->getKills();
}
- description: Displays your stats
- usage: /stats
- aliases:
- ms
- mystats
- permission: ms.cmd.stats
format | description |
---|---|
%name | player`s name |
%level | player`s level |
%x, %y, %z | player`s coords |
%itemid | player`s item in hand id |
%itemname | player`s item in hand name |
%broken | broken blocks |
%placed | placed blocks |
%kills | kills |
%deaths | deaths |
%money | player`s money |
%rank | player`s rank |
%faction | player`s faction |
%online | count online players |
%version | server version |
%ip | server address |
%port | server port |
%tps | server tps |
- default config:
---
config-version: '1.4.6'
prefix: '&5&l[ &r&2MyStats &l&5]'
economy: 'false'
factions: 'false'
ranks: 'false'
mainFormat:
- '&5-- == &6[&eMyStats&6] &5== ---'
- '&3Welcome: &b%name'
- '&3You are playing on &b%level'
- '&9- &3Kills: %kills'
- '&9- &3Deaths: %deaths'
cmdFormat:
- '&5--- == &6[&eMyStats&6] &5== ---'
- '&9- &3Name: &b%name'
- '&9- &3K/D: &b%kills / %deaths'
- '&9- &3Broken Blocks: &b%broken'
- '&9- &3Placed Blocks: &b%placed'
- '&9- &3Joins: &b%joins'
filter: 'false'
defaultFormat: '1'
popupWorlds:
- Lobby
- Spawn
- PlotMe
tipWorlds:
- world
- Hub
...
# ---------------------------------------------------------------------------- #
##
### Economy
##
# Economy types: EconomyAPI
# To enable economy type Economy type
economy: 'EconomyAPI'
# ---------------------------------------------------------------------------- #
- If the EconomyAPI plugin is not found, the value of the money is set to 0.
# ---------------------------------------------------------------------------- #
##
### PurePerms
##
# Enable pureperms
ranks: 'true'
# ---------------------------------------------------------------------------- #
- If the PurePerms plugin is not found, the value of the rank is set to ' '.
- Supported Factions plugins:
- FactionsPro
- FactionsProBeta
# ---------------------------------------------------------------------------- #
##
### Factions
##
# Enable faction
factions: 'true'
# ---------------------------------------------------------------------------- #
- If the factions plugin is not found, the value of the fanction is set to ' '.