Package org.bukkit.command
Interface ProxiedCommandSender
-
- All Superinterfaces:
CommandSender
,Permissible
,ServerOperator
public interface ProxiedCommandSender extends CommandSender
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.bukkit.command.CommandSender
CommandSender.Spigot
-
-
Method Summary
All Methods Instance Methods Abstract Methods 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 command-
Methods inherited from interface org.bukkit.command.CommandSender
getName, getServer, 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 Detail
-
getCaller
@NotNull CommandSender getCaller()
Returns the CommandSender which triggered this proxied command- Returns:
- the caller which triggered the command
-
getCallee
@NotNull CommandSender getCallee()
Returns the CommandSender which is being used to call the command- Returns:
- the caller which the command is being run as
-
-