{"repo":"inxomnyaa/apibossbar","free":true,"listed":false,"github":"https://github.com/inxomnyaa/apibossbar","clone":"git clone https://github.com/inxomnyaa/apibossbar.git","description":"A simple virion API for Minecraft Bossbars for PocketMine-MP","language":"PHP","stars":57,"topics":["api","virion","bossbar","bossbarapi","oop","pmmp-virion","pmmp","boss-bar-api","title","minecraft"],"license":"GPL-3.0","category":"api-integrations-sdks","readme_excerpt":"apibossbar A simple api virion to create, send, modify and use Minecraft's boss mob indicator bars in Plugins for PocketMine-MP Advantages It is quite easy to use this API - It uses a single object - Fluent setters (use multiple functions in 1 line) - Cleaner code - Easier to understand - No worrying about the used entity id - 2 types of bars (BossBar is same for all players, DiverseBossBar can be modified per player) - No \"API::function()\" calls, just object methods - Changeable entity (Can be used for actual boss mobs i.e.) Types There are 2 types of boss bars. - BossBar: is used for shared data, so all registered players see the same bar. - DiverseBossBar: is used for unique data, their data can be changed per player. They can also be set in a batch for multiple players, and will use default values if no specific data is set for a player. The default data is set like on a shared BossBar API & usage A very basic example can be seen here: BossBarTest. For a more advanced example you could check out BossAnnouncement Create a new boss bar Set the title and/or subtitle Set the color Set the fill percentage Add and remove players Hide and show bar Get and set the entity the bar is assigned to Single line example --- DiverseBossBar has some additional methods to set data per player: Reset the data to its defaults Set & get title for players Set percentage for players Disclaimer & Information Coded and maintained by XenialDan Feel free to open issues with suggestions and bug repor","default_branch":null,"files":null,"tree":[],"storefront":"/r/inxomnyaa","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/inxomnyaa/apibossbar/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}