Sueta

[API] TitleAPI [1.7 | 1.8 | 1.9]

2.1.4

Simple Library to send Titles to Players

·Plugin

TitleManager is a simple Library to send Titles from Minecraft 1.8 to Players.


I enjoy making all of my plugins for free, but I need your help to keep them for free.

Depends on PacketListenerAPI & PlayerVersion.

Features

  • Send Titles
  • Send SubTitles
  • Send Title Timings
  • Client-Crash prevention by checking the Client Version

Example Usage

@EventHandler
public void onJoin(PlayerJoinEvent e) {
    TitleAPI.sendTimings(e.getPlayer(), 20, 40, 20);

    TextComponent subTitle = new TextComponent("And I am a Subtitle");
    subTitle.setColor(ChatColor.BLUE);
    TitleAPI.sendSubTitle(e.getPlayer(), subTitle);

    TextComponent title = new TextComponent("I am a Title!");
    title.setColor(ChatColor.BLUE);
    TitleAPI.sendTitle(e.getPlayer(), title);
}

Will result in
HxN1tsR.png

Maven

<repository>
    <id>inventive-repo</id>
    <url>https://repo.inventivetalent.org/content/groups/public/</url>
</repository>

<dependency>
  <groupId>org.inventivetalent</groupId>
  <artifactId>titleapi</artifactId>
  <version>2.1.1</version>
</dependency>

APIManager
This API is compatible with APIManager.
Click here for information on how to implement it.

SlZOd2EkUm9kI1J3YW1GeUooVWtXa2QzZFdGPk4rSmFWelV3WVZoYWJHUiNSbk5hVnpVdytHMDVlVnAzUCswa0okUk1NMEp6WkZka2NHSnBPRDBrSiRSalIzZypXakpzZFZ7V1Vue2tSM2hzVVZaKCRrcHVXbSpqYms1d1lqITBPVXBZV20qamJrNXdZaiEwYihSI1o+UWw=

Please leave a rating if you like this resource.
Donations to support me or this resource are also very much appreciated.

Similar projects

Plugin →