BossBar, ActionBar, Title, and Hologram API for Minecraft 1.8.X
Lightweight and dependency-free — ideal for plugin developers using Spigot 1.8.8. Includes Static + Animated Holograms using ArmorStands.
Display-API is published to Sonatype Maven Central:
🔗 https://search.maven.org/artifact/com.arctyll/display-api
<dependencies>
<dependency>
<groupId>com.arctyll</groupId>
<artifactId>display-api</artifactId>
<version>1.0</version>
</dependency>
</dependencies>
repositories {
mavenCentral()
}
dependencies {
implementation 'com.arctyll:display-api:1.0'
}
repositories {
mavenCentral()
}
dependencies {
implementation("com.arctyll:display-api:1.0")
}
GitHub: https://github.com/Arctyll/DisplayAPI
- BossBars with full color + style support
- ActionBars with duration control
- Titles + Subtitles with animation
- Static & Animated Holograms (via ArmorStands)
- ️No external dependencies
- Built for Spigot 1.8.8
BossBar bar = new BossBar("Server Restarting", 100);
bar.setColor("PURPLE");
bar.setStyle("SOLID");
bar.sendToPlayer(player);
bar.updateHealth(player, 50);
bar.removeFromPlayer(player);
bar.sendToAll();
PURPLE
(default)RED
BLUE
GREEN
YELLOW
WHITE
PINK
SOLID
(default)SEGMENTED_6
SEGMENTED_10
SEGMENTED_12
SEGMENTED_20
ActionBar action = new ActionBar("You're now in combat!", 5); // 5 seconds
action.sendToPlayer(player);
action.sendToAll();
Title title = new Title();
title.sendToPlayer(player, "Level Up!", "You reached level 10!", 10, 70, 20);
title.sendToAll("Welcome!", "Good luck!", 10, 60, 10);
Durations are in ticks (20 ticks = 1 second)
HologramManager manager = new HologramManager(plugin);
Location loc = player.getLocation();
List<String> lines = Arrays.asList("&aHello", "&eWelcome to the server!");
manager.createHologram(
1, "static", loc, lines, true, "WelcomeHologram", true
);
manager.createHologram(
2,
"animated",
player.getLocation().add(0, 2, 0),
Arrays.asList("&cRed Text", "&aGreen Text", "&9Blue Text"),
true,
"AnimatedHologram",
true
);
- Minecraft 1.8.8 (Spigot)
- Other versions untested — contributions welcome
- ActionBar system & original README structure by @vNoobblade
Pull requests and issues welcome!
Use the PR Template
MIT License — Free to use, just give credit.