title-api
Library to use titles in Spigot server
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.
<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.
dependencies {
implementation 'xyz.tozymc.spigot:title-api:1.0'
}
Manual
If your project doesn't have any build tools, you can install it manually.
- Download the library in github release.
- Import
title-api-1.0-all.jarfile to your project.
How to use
Title
// 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
TitleApi.sendActionbar(player, message);
License
Distributed under the MIT License. See LICENSE for more information.
External Links
- Javadoc: javadoc.io
- GitHub: github.com
- OSS Index: ossindex.sonatype.org
- Spigot Resources: spigotmc.org
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta