public class TitleAPI
extends java.lang.Object
| Constructor and Description |
|---|
TitleAPI() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clear(java.util.Collection<? extends org.bukkit.entity.Player> players)
Clears the title message of the given collection of players
|
static void |
clear(org.bukkit.entity.Player... players)
Clears the title message of the given players
|
static void |
reset(java.util.Collection<? extends org.bukkit.entity.Player> players)
Resets the title message of the given collection of players
|
static void |
reset(org.bukkit.entity.Player... players)
Resets the title message of the given players
|
static void |
set(java.lang.String title,
java.lang.String subtitle,
int fadeIn,
int showtime,
int fadeOut,
java.util.Collection<? extends org.bukkit.entity.Player> players)
Sends a title message to the given collection of players
|
static void |
set(java.lang.String title,
java.lang.String subtitle,
int fadeIn,
int showtime,
int fadeOut,
org.bukkit.entity.Player... players)
Sends a title message to the given players
|
static void |
setShowTime(int fadein,
int show,
int fadeout,
java.util.Collection<? extends org.bukkit.entity.Player> players)
Sets the title timings of the given collection of players
|
static void |
setShowTime(int fadein,
int show,
int fadeout,
org.bukkit.entity.Player... players)
Sets the title timings of the given players
|
static void |
setSubTitle(java.lang.String subtitle,
java.util.Collection<? extends org.bukkit.entity.Player> players)
Sets the subtitle of the given collection of players.
|
static void |
setSubTitle(java.lang.String subtitle,
org.bukkit.entity.Player... players)
Sets the subtitle of the given players.
|
static void |
setTitle(java.lang.String title,
java.util.Collection<? extends org.bukkit.entity.Player> players)
Sets the title of the given collection of players and shows the title message.
|
static void |
setTitle(java.lang.String title,
org.bukkit.entity.Player... players)
Sets the title of the given players and shows the title message.
|
public static void clear(java.util.Collection<? extends org.bukkit.entity.Player> players)
players - - The collection of players whose title bar should be clearedpublic static void clear(org.bukkit.entity.Player... players)
players - - The players whose title bar should be clearedpublic static void reset(java.util.Collection<? extends org.bukkit.entity.Player> players)
players - - The players whose title bar should be resetpublic static void reset(org.bukkit.entity.Player... players)
players - - The players whose title bar should be resetpublic static void set(java.lang.String title,
java.lang.String subtitle,
int fadeIn,
int showtime,
int fadeOut,
java.util.Collection<? extends org.bukkit.entity.Player> players)
title - - Title text of the title messagesubtitle - - Subtitle text of the title messagefadeIn - - Fade in time in ticks (1 tick = 0.05 sec)showtime - - Show time in ticksfadeOut - - Fade out time in ticksplayers - - Receivers of the title messagepublic static void set(java.lang.String title,
java.lang.String subtitle,
int fadeIn,
int showtime,
int fadeOut,
org.bukkit.entity.Player... players)
title - - Title text of the title messagesubtitle - - Subtitle text of the title messagefadeIn - - Fade in time in ticks (1 tick = 0.05 sec)showtime - - Show time in ticksfadeOut - - Fade out time in ticksplayers - - Receivers of the title messagepublic static void setShowTime(int fadein,
int show,
int fadeout,
java.util.Collection<? extends org.bukkit.entity.Player> players)
fadein - - Fade in time in ticks (1 tick = 0.05 sec)show - - Show time in ticksfadeout - - Fade out time in ticksplayers - - Players whose title timings should be changedpublic static void setShowTime(int fadein,
int show,
int fadeout,
org.bukkit.entity.Player... players)
fadein - - Fade in time in ticks (1 tick = 0.05 sec)show - - Show time in ticksfadeout - - Fade out time in ticksplayers - - Players whose title timings should be changedpublic static void setSubTitle(java.lang.String subtitle,
java.util.Collection<? extends org.bukkit.entity.Player> players)
subtitle - - The new subtitle of the title messageplayers - - Players whose subtitle should be changedpublic static void setSubTitle(java.lang.String subtitle,
org.bukkit.entity.Player... players)
subtitle - - The new subtitle of the title messageplayers - - Players whose subtitle should be changedpublic static void setTitle(java.lang.String title,
java.util.Collection<? extends org.bukkit.entity.Player> players)
title - - The showable title messageplayers - - Receivers of the title messagepublic static void setTitle(java.lang.String title,
org.bukkit.entity.Player... players)
title - - The showable title messageplayers - - Receivers of the title message