IMPORTANT!!! READ ME!!!!
All packages in version 1.3.1 were addressed to com.github.mrivanplays, not to net.mrivansoft.
ALL API INCLUDED THINGS ARE FOUND IN com.github.mrivanplays.bungee.bossbar.api
BarColor and BarStyle are in sub package of the api package called "style"!!!
VERY IMPORTANT!!!!!!
WARNING! THIS IS A DEVELOPER API! IF YOU ARE A SERVER OWNER AND OTHER PLUGIN REQUIRES IT, INSTALL IT LIKE A NORMAL PLUGIN!!!!
** JAVA DOCS: https://mrivanplays.github.io/javadocs/BungeeBossbarAPI/overview-summary.html **
** SITE: https://mrivanplays.github.io/ **
Working with maven/gradle/other can be found here .
What does it do?
You can make easier bossbars on Bungeecord with this API.
Creating a simple bossbar (example code):
public class ExampleCode { // example class
private YourMain plugin ; // get instance of ur main class
public void sendBossbar ( ProxiedPlayer player, String title ) {
Bossbar bar = BossbarCreator. createBossbar ( new BarTitle ( title ) , BarColor. BLUE , BarStyle. SEGMENTED_20 , 0.4f ) ; // crreate the bossbar
bar. addPlayer ( player ) ; // add the player
plugin. getProxy ( ) . getScheduler ( ) . schedule ( plugin, ( ) -> bar. removePlayer ( player ) , 10 , TimeUnit. SECONDS ) ; // remove the player after 10 secs
}
}
There are other methods in BossbarCreator that you can use, so dont be afraid to only one of them.
IMPORTANT: Make sure to import BossbarCreator, Bossbar, BarColor and BarStyle from com.github.mrivanplays.bungee.bossbar.api
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta