Skip to content
/ KDR Public

KDR, Kill Death Ratio plugin which keeps track of players kill and death count along with kill to death ratio.

License

Notifications You must be signed in to change notification settings

ifera-mc/KDR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KDR Banner

KDR

HitCount License Poggit Release
HitCount GitHub license Poggit-CI

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.

About

KDR, Kill Death Ratio plugin which keeps track of players kill and death count along with kill to death ratio.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages