{"id":15143566,"url":"https://github.com/sky-min/bossbarapi","last_synced_at":"2025-07-12T17:36:35.085Z","repository":{"id":40423617,"uuid":"435400863","full_name":"sky-min/bossbarapi","owner":"sky-min","description":"pmmp 4.0 bossbarapi virion","archived":false,"fork":false,"pushed_at":"2023-06-28T21:08:00.000Z","size":35,"stargazers_count":24,"open_issues_count":0,"forks_count":4,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-09-27T10:01:57.890Z","etag":null,"topics":["bossbarapi","pmmp","pocketmine"],"latest_commit_sha":null,"homepage":"https://poggit.pmmp.io/ci/sky-min/bossbarapi/bossbarapi","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sky-min.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":"2021-12-06T07:31:24.000Z","updated_at":"2024-08-25T19:17:20.000Z","dependencies_parsed_at":"2023-01-19T21:18:36.149Z","dependency_job_id":null,"html_url":"https://github.com/sky-min/bossbarapi","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/sky-min%2Fbossbarapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sky-min%2Fbossbarapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sky-min%2Fbossbarapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sky-min%2Fbossbarapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sky-min","download_url":"https://codeload.github.com/sky-min/bossbarapi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219867933,"owners_count":16555812,"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":["bossbarapi","pmmp","pocketmine"],"created_at":"2024-09-26T10:01:58.235Z","updated_at":"2024-10-09T23:05:24.211Z","avatar_url":"https://github.com/sky-min.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bossbarapi\n![Screenshot_20220101-234521_Minecraft](https://user-images.githubusercontent.com/81374952/147854399-6c663dfe-786e-4298-902d-5b72edf066f9.jpg)\n\npmmp 4.0 virion\n\n# how to use\n## Send BossBar\n```php\nBossBarAPI::getInstance()-\u003esendBossBar(Player $player, string $title, int $channel, float $percent, int $color);\n//$channel is 0~\n```\ncolor list\n```php\nBossBarAPI::COLOR_PINK\nBossBarAPI::COLOR_BLUE\nBossBarAPI::COLOR_RED\nBossBarAPI::COLOR_GREEN\nBossBarAPI::COLOR_YELLOW\nBossBarAPI::COLOR_PURPLE\nBossBarAPI::COLOR_WHITE\n```\n## Change Title\n**you have to send BossBar already.**\n```php\nBossBarAPI::getInstance()-\u003esetTitle(Player $player, string $title, int $channel);\n```\n## setPercent\n**you have to send BossBar already.**\n```php\nBossBarAPI::getInstance()-\u003esetPercent(Player $player, float $percent, int $channel);\n```\n## hideBossBar\n**you have to send BossBar already.**\n```php\nBossBarAPI::getInstance()-\u003ehideBossBar(Player $player, int $channel = 0);\n```\n## others\n**If you want to automatically delete player channel information when player left**\n```php\nBossBarHandler::autoDeleteData(Plugin $plugin);\n```\n**Please be careful**\n [issue](https://github.com/sky-min/bossbarapi/issues/5)\n\nIf the world is unloaded, please delete the player channel information and send bossbar again\n```php\nBossBarAPI::getInstance()-\u003edeleteData(Player $player);\nBossBarAPI::getInstance()-\u003esendBossBar(...)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsky-min%2Fbossbarapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsky-min%2Fbossbarapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsky-min%2Fbossbarapi/lists"}