No disponible

Incompatible con la versión actual de PocketMine-MP — Could not load plugin 'KDR': Incompatible API version (plugin requires one of: 3.0.0) · Probado en PocketMine-MP 5.50.0 (PHP 8.4.27).

Variospocketmine
4visitas
0descargas

KDR

A KDR, Kill Death Ratio plugin for your Minecraft Bedrock Server. Allows you to keep track of players kills, deaths and kill to death ratio.

Features

  • Keep track of players kills.

  • Keep track of players deaths.

  • Keep track of players kill to death ratio.

  • Two storage ways are supported:

  • Yaml

  • SQLite3

  • Simple and neat API for developers.

How to setup?

  • Put the plugin in your plugins folder.

  • Start and then stop the server.

  • Edit the config.yml to suit your needs.

  • Restart and enjoy...

API

KDR provides a simple way api for the developers.

First of all you need to get the KDR Instance.

KDR::getInstance();

  • To get the kill count of a player:

KDR::getInstance()->getProvider()->getPlayerKillPoints($player);

  • To get the death count of a player:

KDR::getInstance()->getProvider()->getPlayerDeathPoints($player);

  • To get the kill to death ratio of a player:

KDR::getInstance()->getProvider()->getKillToDeathRatio($player);

And thats about it. Let me know if I missed out on something.