MyStats

MyStats

por poggit-archive
No disponible

Incompatible con la versión actual de PocketMine-MP — Could not load plugin 'MyStats': Incompatible API version (plugin requires one of: 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9, 3.0.0-ALPHA10, 3.0.0-ALPHA11, 3.0.0-ALPHA12) · Probado en PocketMine-MP 5.50.0 (PHP 8.4.27).

VariosEconomíaEstadísticaspocketmine
6visitas
0descargas

API:

  • Get player`s data

public function getData(Player player): \mystats\utils\Data { api = \mystats\MyStats::getAPI(); return api−>getPlayerData(api->getPlayerData(player); }

  • Get player`s kills

public function getData(Player player): \mystats\utils\Data { api = \mystats\MyStats::getAPI(); return api−>getPlayerData(api->getPlayerData(player); }

public function getKills(Player player): int { data = this−>getData(this->getData(player); return $data->getKills(); }

Commands:

Stats command

  • description: Displays your stats

  • usage: /stats

  • aliases:

  • ms

  • mystats

  • permission: ms.cmd.stats

Pictures:

MyStats

Format list:

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

%ping player's ping

Config:

  • 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 ...

Enabling economy:

----------------------------------------------------------------------------

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.

Enanling ranks (PurePerms) or factions:

ranks (PurePerms):

----------------------------------------------------------------------------

PurePerms

Enable pureperms

ranks: 'true'

----------------------------------------------------------------------------

  • If the PurePerms plugin is not found, the value of the rank is set to ' '.

factions:

  • 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 ' '.