{"id":15144135,"url":"https://github.com/cosmetic-x/pocketmine-client","last_synced_at":"2026-01-20T14:33:34.035Z","repository":{"id":237564212,"uuid":"433414730","full_name":"Cosmetic-X/PocketMine-Client","owner":"Cosmetic-X","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-10T00:44:28.000Z","size":239,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-12T22:37:33.212Z","etag":null,"topics":["baubo","cosmetic-x","cosmetics","mcbe","mcpe","pmmp","pmmp-plugin","xxarox"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Cosmetic-X.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"patreon":"xx_arox","custom":["https://paypal.me/xxarox"]}},"created_at":"2021-11-30T12:03:06.000Z","updated_at":"2024-05-01T21:17:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"0011827c-5f0c-449f-be54-209f7513014d","html_url":"https://github.com/Cosmetic-X/PocketMine-Client","commit_stats":{"total_commits":150,"total_committers":3,"mean_commits":50.0,"dds":"0.21333333333333337","last_synced_commit":"c3a49937f95770bc096c806e0b5adf3b7b40374d"},"previous_names":["cosmetic-x/pocketmine-client"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cosmetic-X%2FPocketMine-Client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cosmetic-X%2FPocketMine-Client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cosmetic-X%2FPocketMine-Client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cosmetic-X%2FPocketMine-Client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cosmetic-X","download_url":"https://codeload.github.com/Cosmetic-X/PocketMine-Client/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247517654,"owners_count":20951710,"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":["baubo","cosmetic-x","cosmetics","mcbe","mcpe","pmmp","pmmp-plugin","xxarox"],"created_at":"2024-09-26T10:22:01.579Z","updated_at":"2026-01-20T14:33:34.028Z","avatar_url":"https://github.com/Cosmetic-X.png","language":"PHP","funding_links":["https://patreon.com/xx_arox","https://paypal.me/xxarox","https://ko-fi.com/cosmeticx"],"categories":[],"sub_categories":[],"readme":"# Cosmetic-X\n\n## How to use\n### First, if you send Spam, you will be automatic-blocked, if you got rate-limited because your player count is too huge please create a ticket on out [Discord](https://discord.cosmetic-x.de).\n\n```php\n\u003c?php\nuse cosmeticx\\generic\\presence\\DiscordRichPresence;\n\n/**\n * @var int $players_online\n * @var int $max_players\n * @var \\pocketmine\\player\\Player $player \n */;\n$ends_at_presence = DiscordRichPresence::endsAt($player, \"network.com\", \"A Cosmetic-X Server\", 20); //NOTE: 20 seconds\n\n$presences = [\n    # Default Presence, uses the values from ./resources/config.yml\n    DiscordRichPresence::default($player);,\n    \n    # Normal Presence, Params: [$player, \"Network name\", \"Server name\"]\n    DiscordRichPresence::normal($player, \"network.com\", \"A Cosmetic-X Server (\" . $players_online . \" / \" . $max_players . \")\"),\n    \n    # Ending Presence, Params: [$player, \"Network name\", \"Server name\", \"20 seconds, after that it should send a new presence, if not then the default presence will be sent\"]\n    DiscordRichPresence::endsAt($player, \"network.com\", \"A Cosmetic-X Server (\" . $players_online . \" / \" . $max_players . \")\", 20); //NOTE: 20 seconds\n];\n# set presence\nsetUserPresence($presences[array_rand($presences)]);\n\n# Clear presence(if player quits the server)\nDiscordRichPresence::clear($player);\n```\n\n\n[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/cosmeticx)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosmetic-x%2Fpocketmine-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcosmetic-x%2Fpocketmine-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosmetic-x%2Fpocketmine-client/lists"}