ModsJava
⭐TitleAPI │ Broadcast Titles, Actionbars │ And more
Java mod listed for Minecraft 1.15–1.18. Download on the author's site.
⬇ Download on Spigot
TitleAPI is a library that can help you with sending Titles, Subtitles, and Actionbars.
TitleAPI has features such as sending title, subtitle and actionbar to all players, sending actionbar for a selected time and much more.
You can find JavaDocs here
Spoiler: Code
Code (Text):
@EventHandler
public void onJoin(PlayerJoinEvent event) {
Player player = event.getPlayer();
TitleSender.sendTitle("&f&l> &6WELCOME &f<", "&f"+player.getName(), player);
ActionbarSender.broadcastActionBar("&6&l> &fPLAYER &6"+player.getName()+" &fJOINED. SAY &bHELLO TO HIM &6<");
}
public void onJoin(PlayerJoinEvent event) {
Player player = event.getPlayer();
TitleSender.sendTitle("&f&l> &6WELCOME &f<", "&f"+player.getName(), player);
ActionbarSender.broadcastActionBar("&6&l> &fPLAYER &6"+player.getName()+" &fJOINED. SAY &bHELLO TO HIM &6<");
}
Spoiler: Code
Code (Text):
@EventHandler
public void onEntityDeath(EntityDeathEvent event) {
Player player = event.getEntity().getKiller().getPlayer();
TitleSender.sendTitle("&f&lYou killed &e"+event.getEntity().getName(), player);
ActionbarSender.broadcastActionBar("&6&l"+player.getName()+" &fkilled entity &5"+event.getEntity().getName());
}
public void onEntityDeath(EntityDeathEvent event) {
Player player = event.getEntity().getKiller().getPlayer();
TitleSender.sendTitle("&f&lYou killed &e"+event.getEntity().getName(), player);
ActionbarSender.broadcastActionBar("&6&l"+player.getName()+" &fkilled entity &5"+event.getEntity().getName());
}
Do you want to contribute, help or make fork of TitleAPI? No problem, TitleAPI is open source and you can find source code on GitHub
Need help? I decided to create discord server.
Click here to join.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.15, 1.16, 1.17
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
⭐TitleAPI │ Broadcast Titles, Actionbars │ And more is a free Minecraft Java mod. Compatible with Minecraft 1.15, 1.16, 1.17, 1.18. Downloaded 265 times (via Spigot). Download it and open it directly in the game.