Package org.bukkit.command
Interface ProxiedCommandSender
- All Superinterfaces:
CommandSender
,Permissible
,ServerOperator
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.bukkit.command.CommandSender
CommandSender.Spigot
-
Method Summary
Modifier and TypeMethodDescriptionReturns the CommandSender which is being used to call the commandReturns the CommandSender which triggered this proxied commandMethods inherited from interface org.bukkit.command.CommandSender
getName, getServer, sendMessage, sendMessage, sendMessage, sendMessage, spigot
Methods inherited from interface org.bukkit.permissions.Permissible
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment
Methods inherited from interface org.bukkit.permissions.ServerOperator
isOp, setOp
-
Method Details
-
getCaller
Returns the CommandSender which triggered this proxied command- Returns:
- the caller which triggered the command
-
getCallee
Returns the CommandSender which is being used to call the command- Returns:
- the caller which the command is being run as
-