Skip to content
/ CPS Public
forked from ifera-mc/CPS

A simple plugin which checks the clicks of a player per second.

License

Notifications You must be signed in to change notification settings

AL3XPI/CPS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CPS Banner

CPS

HitCount License Poggit Release
HitCount GitHub license Poggit-CI

A simple plugin which checks the clicks of a player per second.

API

CPS provides a simple API for developers wishing to use this plugin.

  • First you need to get hold of the plugin. You can do so by:
$cps = Server::getInstance()->getPluginManager()->getPlugin("CPS");
if($cps instanceof \JackMD\CPS\CPS){
    //do whatever
}
  • Then you can get the click of a player via:
/** @var pocketmine\Player $player */
$clicks = $cps->getClicks($player);
  • You can take a look at CPS for more info.

Credits

DaPigGuy for most of the code.

About

A simple plugin which checks the clicks of a player per second.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%