A simple plugin which checks the clicks of a player per second.
GPL-3.0 License
License | Poggit |
---|---|
Tag | Description |
---|---|
{cps.cps} |
Shows the cps of the player on ScoreHud |
CPS provides a simple API for developers wishing to use this plugin.
$cps = Server::getInstance()->getPluginManager()->getPlugin("CPS");
if($cps instanceof \JackMD\CPS\CPS){
//do whatever
}
/** @var pocketmine\Player $player */
$clicks = $cps->getClicks($player);
DaPigGuy for most of the code.