- 1.8
- 1.9
- 1.10
- 1.11
- 1.12
ConnorLinfoot
An easy to use API for developers to take advantage of the new Title feature in Minecraft 1.8 & 1.9.
Latest build should work with all 1.8, 1.9 + Versions now (If not let me know!)
Other Versions (In case 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 which 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");
FadeIn, Stay and FadeOut work as a int and are in ticks, 20 = 1 second.
GitHub Repo (Source): https://github.com/connorlinfoot/TitleAPI
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..