Class CommandSource

java.lang.Object
com.earth2me.essentials.CommandSource

public class CommandSource extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • getSender

      public final CommandSender getSender()
    • getPlayer

      public final Player getPlayer()
    • sendTl

      public void sendTl(String tlKey, Object... args)
    • tl

      public String tl(String tlKey, Object... args)
    • tlComponent

      public net.kyori.adventure.text.Component tlComponent(String tlKey, Object... args)
    • sendComponent

      public void sendComponent(net.kyori.adventure.text.Component component)
    • getUser

      public final IUser getUser()
    • isPlayer

      public final boolean isPlayer()
    • setSender

      public final CommandSender setSender(CommandSender base)
    • sendMessage

      public void sendMessage(String message)
    • isAuthorized

      public boolean isAuthorized(String permission)
    • getSelfSelector

      public String getSelfSelector()
    • getDisplayName

      public String getDisplayName()