Class TitleMessage

java.lang.Object
ml.karmaconfigs.api.bungee.makeiteasy.TitleMessage

public final class TitleMessage extends Object
Title message
  • Constructor Summary

    Constructors
    Constructor
    Description
    TitleMessage​(@NotNull net.md_5.bungee.api.connection.ProxiedPlayer p, @Nullable String t)
    Initialize the title class
    TitleMessage​(@NotNull net.md_5.bungee.api.connection.ProxiedPlayer p, @Nullable String t, @Nullable String s)
    Initialize the title class
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Send the title
    void
    send​(int showIn, int keepIn, int hideIn)
    Send the title

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 player
      t - the title text
      s - 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 player
      t - 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 title
      keepIn - the time to keep in
      hideIn - the time that will take to completely hide the title