Class CLICommandSender

java.lang.Object
com.sk89q.worldedit.cli.CLICommandSender
All Implemented Interfaces:
com.sk89q.worldedit.extension.platform.Actor, com.sk89q.worldedit.session.SessionOwner, com.sk89q.worldedit.util.auth.Subject, com.sk89q.worldedit.util.Identifiable

public class CLICommandSender extends Object implements com.sk89q.worldedit.extension.platform.Actor
  • Constructor Details

    • CLICommandSender

      public CLICommandSender(CLIWorldEdit app, org.apache.logging.log4j.Logger sender)
  • Method Details

    • getUniqueId

      public UUID getUniqueId()
      Specified by:
      getUniqueId in interface com.sk89q.worldedit.util.Identifiable
    • getName

      public String getName()
      Specified by:
      getName in interface com.sk89q.worldedit.extension.platform.Actor
    • printRaw

      @Deprecated public void printRaw(String msg)
      Deprecated.
      Specified by:
      printRaw in interface com.sk89q.worldedit.extension.platform.Actor
    • print

      @Deprecated public void print(String msg)
      Deprecated.
      Specified by:
      print in interface com.sk89q.worldedit.extension.platform.Actor
    • printDebug

      @Deprecated public void printDebug(String msg)
      Deprecated.
      Specified by:
      printDebug in interface com.sk89q.worldedit.extension.platform.Actor
    • printError

      @Deprecated public void printError(String msg)
      Deprecated.
      Specified by:
      printError in interface com.sk89q.worldedit.extension.platform.Actor
    • print

      public void print(com.sk89q.worldedit.util.formatting.text.Component component)
      Specified by:
      print in interface com.sk89q.worldedit.extension.platform.Actor
    • canDestroyBedrock

      public boolean canDestroyBedrock()
      Specified by:
      canDestroyBedrock in interface com.sk89q.worldedit.extension.platform.Actor
    • getGroups

      public String[] getGroups()
      Specified by:
      getGroups in interface com.sk89q.worldedit.util.auth.Subject
    • hasPermission

      public boolean hasPermission(String perm)
      Specified by:
      hasPermission in interface com.sk89q.worldedit.util.auth.Subject
    • checkPermission

      public void checkPermission(String permission) throws com.sk89q.worldedit.util.auth.AuthorizationException
      Specified by:
      checkPermission in interface com.sk89q.worldedit.util.auth.Subject
      Throws:
      com.sk89q.worldedit.util.auth.AuthorizationException
    • isPlayer

      public boolean isPlayer()
      Specified by:
      isPlayer in interface com.sk89q.worldedit.extension.platform.Actor
    • openFileOpenDialog

      public File openFileOpenDialog(String[] extensions)
      Specified by:
      openFileOpenDialog in interface com.sk89q.worldedit.extension.platform.Actor
    • openFileSaveDialog

      public File openFileSaveDialog(String[] extensions)
      Specified by:
      openFileSaveDialog in interface com.sk89q.worldedit.extension.platform.Actor
    • dispatchCUIEvent

      public void dispatchCUIEvent(com.sk89q.worldedit.internal.cui.CUIEvent event)
      Specified by:
      dispatchCUIEvent in interface com.sk89q.worldedit.extension.platform.Actor
    • getLocale

      public Locale getLocale()
      Specified by:
      getLocale in interface com.sk89q.worldedit.extension.platform.Actor
    • getSessionKey

      public com.sk89q.worldedit.session.SessionKey getSessionKey()
      Specified by:
      getSessionKey in interface com.sk89q.worldedit.session.SessionOwner