{"id":15143561,"url":"https://github.com/ifera-mc/cps","last_synced_at":"2025-10-23T20:30:37.511Z","repository":{"id":52271646,"uuid":"161646890","full_name":"ifera-mc/CPS","owner":"ifera-mc","description":"A simple plugin which checks the clicks of a player per second.","archived":false,"fork":false,"pushed_at":"2021-04-30T00:36:48.000Z","size":96,"stargazers_count":19,"open_issues_count":0,"forks_count":9,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-01-30T20:51:42.670Z","etag":null,"topics":["api","clicks","cps","php","plugin","pmmp","pocketmine-mp","second"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ifera-mc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-13T13:58:22.000Z","updated_at":"2024-10-10T20:11:30.000Z","dependencies_parsed_at":"2022-09-11T12:41:22.994Z","dependency_job_id":null,"html_url":"https://github.com/ifera-mc/CPS","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ifera-mc%2FCPS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ifera-mc%2FCPS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ifera-mc%2FCPS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ifera-mc%2FCPS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ifera-mc","download_url":"https://codeload.github.com/ifera-mc/CPS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237882172,"owners_count":19381176,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","clicks","cps","php","plugin","pmmp","pocketmine-mp","second"],"created_at":"2024-09-26T10:01:57.239Z","updated_at":"2025-10-23T20:30:32.207Z","avatar_url":"https://github.com/ifera-mc.png","language":"PHP","readme":"![CPS Banner](https://github.com/JackMD/CPS/blob/master/meta/cps.png)\n# CPS\n\n| License | Poggit |\n|:--:|:--:|\n|[![GitHub license](https://img.shields.io/github/license/JackMD/CPS.svg)](https://github.com/JackMD/CPS/blob/master/LICENSE)|[![Poggit-CI](https://poggit.pmmp.io/ci.shield/Ifera/CPS/CPS)](https://poggit.pmmp.io/ci/Ifera/CPS/CPS)|\n\n### A simple plugin which checks the clicks of a player per second. With in-built support for ScoreHud version 6.0+.\n\n### Available Tags:\n\n| Tag | Description |\n|:--:|:--:|\n|`{cps.cps}`|Shows the cps of the player on ScoreHud|\n\n### API\n\nCPS provides a simple API for developers wishing to use this plugin.\u003cbr /\u003e\n- First you need to get hold of the plugin. You can do so by:\u003cbr /\u003e\n```php\n$cps = Server::getInstance()-\u003egetPluginManager()-\u003egetPlugin(\"CPS\");\nif($cps instanceof \\JackMD\\CPS\\CPS){\n    //do whatever\n}\n```\n- Then you can get the click of a player via:\u003cbr /\u003e\n```php\n/** @var pocketmine\\Player $player */\n$clicks = $cps-\u003egetClicks($player);\n```\n- You can take a look at [CPS](https://github.com/JackMD/CPS/blob/master/src/JackMD/CPS/CPS.php) for more info.\n\n### Credits\n[DaPigGuy](https://github.com/DaPigGuy) for most of the code.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fifera-mc%2Fcps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fifera-mc%2Fcps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fifera-mc%2Fcps/lists"}