Class TitleMessage
java.lang.Object
ml.karmaconfigs.api.bungee.makeiteasy.TitleMessage
Title message
-
Constructor Summary
ConstructorsConstructorDescriptionTitleMessage(@NotNull net.md_5.bungee.api.connection.ProxiedPlayer p, @Nullable String t)Initialize the title classTitleMessage(@NotNull net.md_5.bungee.api.connection.ProxiedPlayer p, @Nullable String t, @Nullable String s)Initialize the title class -
Method Summary
-
Constructor Details
-
TitleMessage
public TitleMessage(@NotNull @NotNull net.md_5.bungee.api.connection.ProxiedPlayer p, @Nullable @Nullable String t, @Nullable @Nullable String s)Initialize the title class- Parameters:
p- the playert- the title texts- the subtitle text
-
TitleMessage
public TitleMessage(@NotNull @NotNull net.md_5.bungee.api.connection.ProxiedPlayer p, @Nullable @Nullable String t)Initialize the title class- Parameters:
p- the playert- the title text
-
-
Method Details
-
send
public void send()Send the title -
send
public void send(int showIn, int keepIn, int hideIn)Send the title- Parameters:
showIn- the time that will take to completely show the titlekeepIn- the time to keep inhideIn- the time that will take to completely hide the title
-