Home›Java›Mods›⭐TitleAPI │ Broadcast Titles, Actionbars │ And more
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
[​IMG]
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.


[​IMG]
You can find JavaDocs here

[​IMG]
[​IMG]
​
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<");
    }
[​IMG]
​
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());
    }

[​IMG]
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

[​IMG]
Need help? I decided to create discord server.
Click here to join.​
Quick facts

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.

Explore more