You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 18, 2020. It is now read-only.
WolverinDEV edited this page Aug 16, 2016
·
2 revisions
Playerplayer = (Player) BungeeCord.getInstance().getPlayer("WolverinDEV");
BossBarManagermanager = player.getBossBarManager(); //Getting manager instanceBossBarbar = manager.createNewBossBar(); //Creating a new bar instancebar.setColor(BarColor.RED); //Setting the bar colorbar.setDivision(BarDivision.NO_DIVISION); //Removing the divisionsbar.setHealth(0.75F); //Setting the healthbar.setMessage(ChatSerializer.fromMessage("§aHello world")); //Set the bar messagebar.display(); //Display the barbar.hide(); //Hide the barUUIDbarUUID = bar.getUuid(); //Get the bar uuidbar = manager.getBossBar(barUUID); //Get bar from uuidmanager.deleteBossBar(bar); //Delete a barmanager.getActiveBossBars(); //Getting all visible barsmanager.getAllBossBars(); //Getting all bars