Package com.sk89q.worldedit.bukkit
Class BukkitBlockCommandSender
java.lang.Object
com.sk89q.worldedit.extension.platform.AbstractNonPlayerActor
com.sk89q.worldedit.extension.platform.AbstractCommandBlockActor
com.sk89q.worldedit.bukkit.BukkitBlockCommandSender
- All Implemented Interfaces:
com.sk89q.worldedit.extension.platform.Actor
,com.sk89q.worldedit.extension.platform.Locatable
,com.sk89q.worldedit.session.SessionOwner
,com.sk89q.worldedit.util.auth.Subject
,com.sk89q.worldedit.util.Identifiable
public class BukkitBlockCommandSender
extends com.sk89q.worldedit.extension.platform.AbstractCommandBlockActor
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionBukkitBlockCommandSender
(WorldEditPlugin plugin, org.bukkit.command.BlockCommandSender sender) -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkPermission
(String permission) String[]
getName()
org.bukkit.command.BlockCommandSender
com.sk89q.worldedit.session.SessionKey
boolean
hasPermission
(String permission) 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 com.sk89q.worldedit.extension.platform.AbstractCommandBlockActor
getExtent, getLocation, setLocation
Methods inherited from class com.sk89q.worldedit.extension.platform.AbstractNonPlayerActor
canDestroyBedrock, dispatchCUIEvent, isPlayer, openFileOpenDialog, openFileSaveDialog
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
BukkitBlockCommandSender
public BukkitBlockCommandSender(WorldEditPlugin plugin, org.bukkit.command.BlockCommandSender sender)
-
-
Method Details
-
getName
-
printRaw
Deprecated. -
print
Deprecated. -
printDebug
Deprecated. -
printError
Deprecated. -
print
public void print(com.sk89q.worldedit.util.formatting.text.Component component) -
getLocale
-
getUniqueId
-
getGroups
-
checkPermission
public void checkPermission(String permission) throws com.sk89q.worldedit.util.auth.AuthorizationException - Throws:
com.sk89q.worldedit.util.auth.AuthorizationException
-
hasPermission
-
getSender
public org.bukkit.command.BlockCommandSender getSender() -
getSessionKey
public com.sk89q.worldedit.session.SessionKey getSessionKey()
-