HitCount | License | Poggit | Release |
---|---|---|---|
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.
- 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.
- Put the plugin in your plugins folder.
- Start and then stop the server.
- Edit the
config.yml
to suit your needs. - Restart and enjoy...
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.