[API] title-api icon

[API] title-api -----

Library to use titles in Spigot server.



title-api
Library to use titles in Spigot server

[​IMG] [​IMG] [​IMG] [​IMG] [​IMG]


This library will help you to send titles in your server. You can send a title to the player by sending it to the player's title or the player's actionbar. The title message supports color codes and hex colors. So it will become easier to send titles to players.

Notes: This is a library, not a complete spigot plugin.

Requirements
The source code used is java 8 and built under jdk1.8.0_291. Any java version lower than java 8 will cause errors.

  • Java 8 or later
  • Spigot 1.8 or later
Installation
There are many ways to install libraries to your plugin dependencies. You can follow this instruction.

Maven
Add this section inside <dependencies> tag in your pom.xml.
HTML:
<dependency>
  <groupId>xyz.tozymc.spigot </groupId>
  <artifactId>title-api </artifactId>
  <version>1.0 </version>
</dependency>

Gradle

Follow this instruction if your build tool is Gradle.
Code (Java):
dependencies {
    implementation   'xyz.tozymc.spigot:title-api:1.0'
}
Manual
If your project doesn't have any build tools, you can install it manually.

  1. Download the library in github release.
  2. Import title-api-1.0-all.jar file to your project.
How to use
Title

Code (Java):
// Directly
TitleApi. sendTitle (player, title, subtitle, fadeIn, stay, fadeOut ) ;

// Using title object
Title title = new Title (title, subtitle, fadeIn, stay, fadeOut ) ;
TitleApi. sendTitle (player, title ) ;
Actionbar
Code (Java):
TitleApi. sendActionbar (player, message ) ;
License
Distributed under the MIT License. See LICENSE for more information.

External Links

Resource Information
Author:
----------
Total Downloads: 144
First Release: Jul 24, 2021
Last Update: Jul 24, 2021
Category: ---------------
All-Time Rating:
0 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings