γ½οΈxBossBar API
π» XBossBar API
The XBossBarAPI provides static methods to interact programmatically with xBossBar. You can create, manage, and delete bossbars, add/remove players, and customize colors, styles, and titles directly from your code without instantiating the API.
π Installation
Add the repository and dependency for xBossBar.
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.xDrygo</groupId>
<artifactId>xBossBar</artifactId>
<version>1.0.1</version>
<scope>provided</scope>
</dependency>
After adding the dependency, add xBossBar as a dependency in your plugin.
name: MyPlugin
main: com.example.MyPlugin.MyPlugin
version: 1.0
depend:
- xBossBar
π XBossBarAPI Methods
π‘ Notes
All API methods are static, so you do not need to instantiate
XBossBarAPI
.BossBar management includes creation, deletion, player management, and customization.
Events allow you to react to bossbar changes in real time.
π References
Last updated