Package com.sk89q.worldedit.cli
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
checkPermission
(String permission) void
dispatchCUIEvent
(com.sk89q.worldedit.internal.cui.CUIEvent event) String[]
getName()
com.sk89q.worldedit.session.SessionKey
boolean
hasPermission
(String perm) boolean
isPlayer()
openFileOpenDialog
(String[] extensions) openFileSaveDialog
(String[] extensions) void
print
(com.sk89q.worldedit.util.formatting.text.Component component) void
Deprecated.void
printDebug
(String msg) Deprecated.void
printError
(String msg) Deprecated.void
Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.sk89q.worldedit.extension.platform.Actor
getDisplayName, printDebug, printError, printInfo, sendAnnouncements
-
Constructor Details
-
CLICommandSender
-
-
Method Details
-
getUniqueId
- Specified by:
getUniqueId
in interfacecom.sk89q.worldedit.util.Identifiable
-
getName
- Specified by:
getName
in interfacecom.sk89q.worldedit.extension.platform.Actor
-
printRaw
Deprecated.- Specified by:
printRaw
in interfacecom.sk89q.worldedit.extension.platform.Actor
-
print
Deprecated.- Specified by:
print
in interfacecom.sk89q.worldedit.extension.platform.Actor
-
printDebug
Deprecated.- Specified by:
printDebug
in interfacecom.sk89q.worldedit.extension.platform.Actor
-
printError
Deprecated.- Specified by:
printError
in interfacecom.sk89q.worldedit.extension.platform.Actor
-
print
public void print(com.sk89q.worldedit.util.formatting.text.Component component) - Specified by:
print
in interfacecom.sk89q.worldedit.extension.platform.Actor
-
canDestroyBedrock
public boolean canDestroyBedrock()- Specified by:
canDestroyBedrock
in interfacecom.sk89q.worldedit.extension.platform.Actor
-
getGroups
- Specified by:
getGroups
in interfacecom.sk89q.worldedit.util.auth.Subject
-
hasPermission
- Specified by:
hasPermission
in interfacecom.sk89q.worldedit.util.auth.Subject
-
checkPermission
public void checkPermission(String permission) throws com.sk89q.worldedit.util.auth.AuthorizationException - Specified by:
checkPermission
in interfacecom.sk89q.worldedit.util.auth.Subject
- Throws:
com.sk89q.worldedit.util.auth.AuthorizationException
-
isPlayer
public boolean isPlayer()- Specified by:
isPlayer
in interfacecom.sk89q.worldedit.extension.platform.Actor
-
openFileOpenDialog
- Specified by:
openFileOpenDialog
in interfacecom.sk89q.worldedit.extension.platform.Actor
-
openFileSaveDialog
- Specified by:
openFileSaveDialog
in interfacecom.sk89q.worldedit.extension.platform.Actor
-
dispatchCUIEvent
public void dispatchCUIEvent(com.sk89q.worldedit.internal.cui.CUIEvent event) - Specified by:
dispatchCUIEvent
in interfacecom.sk89q.worldedit.extension.platform.Actor
-
getLocale
- Specified by:
getLocale
in interfacecom.sk89q.worldedit.extension.platform.Actor
-
getSessionKey
public com.sk89q.worldedit.session.SessionKey getSessionKey()- Specified by:
getSessionKey
in interfacecom.sk89q.worldedit.session.SessionOwner
-