TitleAPI [1.8 - 1.17] icon

TitleAPI [1.8 - 1.17] -----

A easy to use API for developers to take advantage of the new Title feature in Minecraft 1.8.



An easy to use API for developers to take advantage of the new Title feature in Minecraft 1.8 and later.
The latest build should work with all 1.8, and later versions now (If not let me know!)

Other Versions (In case the latest build doesn't work):
1.7/1.8 Protocol Hack: http://www.spigotmc.org/resources/titleapi.1325/download?version=4390

Spigot 1.8: http://www.spigotmc.org/resources/titleapi.1325/download?version=6904

Spigot 1.8.3: http://www.spigotmc.org/resources/titleapi.1325/download?version=17987

Spigot 1.8.4/1.8.5/1.8.6/1.8.7/1.9: http://www.spigotmc.org/resources/titleapi.1325/download?version=25750


If you're a server owner:
The TitleAPI may be required in a plugin that has directed you to this page, download the plugin and put it in your 'plugins' directory and boom, you're good to go!

There is also a '/title' command added in version 1.1, this can be used for normal use on the server.

Config (Version 1.3+):
%player% will be replaced with the player name.

Code (Text):
Title On Join: false
Title Message: "Welcome"
Subtitle Message: "%player% to my server"
Tab Header Enabled: false
Tab Header Message: "My Server"
Tab Footer Message: "My IP"


If you're a developer:
The TitleAPI is simple and easy to use, first download and import the plugin into your project.

You will want to import it as a dependency into your plugin.yml just so no errors occur.

To call the API it's as simple as:
Code (Text):
TitleAPI.sendTitle(player,fadeIn,stay,fadeOut,"Title","Subtitle");
Title or Subtitle can be null if you wish to only send one or the other.

There is also now a option for setting the tab header and footer.
Code (Text):
TitleAPI.sendTabTitle(player,"Header","Footer");
Code (Text):
TitleAPI.sendTitle(player,fadeIn,stay,fadeOut,"Message");
Code (Text):
TitleAPI.sendSubtitle(player,fadeIn,stay,fadeOut,"Message");
Code (Text):
TitleAPI.sendFullTitle(player,fadeIn,stay,fadeOut,"Title Message","Subtitle Message");

FadeIn, Stay and FadeOut work as a int and are in ticks, 20 = 1 second.

Note: If you are writing code for a newer version of Bukkit, you should use the native APIs for sendTitle on Player, rather than using this plugin.

Note: Old versions of the plugin are no longer supported in any way.

Please submit bugs, questions, issues and suggestions on GitHub https://github.com/ConnorLinfoot/TitleAPI/issues Do not PM me, I will not respond. Please check GitHub issues for solutions first and read the full information on this page..
Resource Information
Author:
----------
Total Downloads: 69,946
First Release: Oct 3, 2014
Last Update: Jul 23, 2021
Category: ---------------
All-Time Rating:
51 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings