Package org.bukkit.command
Interface ProxiedCommandSender
- All Superinterfaces:
CommandSender
,Permissible
,ServerOperator
public interface ProxiedCommandSender extends CommandSender
-
Method Summary
Modifier and Type Method Description CommandSender
getCallee()
Returns the CommandSender which is being used to call the commandCommandSender
getCaller()
Returns the CommandSender which triggered this proxied commandMethods inherited from interface org.bukkit.command.CommandSender
getName, getServer, sendMessage, sendMessage
Methods inherited from interface org.bukkit.permissions.Permissible
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment
-
Method Details
-
getCaller
CommandSender getCaller()Returns the CommandSender which triggered this proxied command- Returns:
- the caller which triggered the command
-
getCallee
CommandSender getCallee()Returns the CommandSender which is being used to call the command- Returns:
- the caller which the command is being run as
-