Package org.bukkit.command
Interface ProxiedCommandSender
- All Superinterfaces:
- Audience,- CommandSender,- ForwardingAudience,- ForwardingAudience.Single,- Permissible,- Pointered,- ServerOperator
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.bukkit.command.CommandSenderCommandSender.SpigotNested classes/interfaces inherited from interface net.kyori.adventure.audience.ForwardingAudienceForwardingAudience.Single
- 
Method SummaryModifier and TypeMethodDescriptiondefault Audienceaudience()Gets the audience.Returns the CommandSender which is being used to call the commandReturns the CommandSender which triggered this proxied commanddefault voidsendMessage(Identity source, Component message, MessageType type) Sends a player chat message from the entity represented by the givenIdentityto thisAudiencewith theChatTypecorresponding to the providedMessageType.Methods inherited from interface net.kyori.adventure.audience.AudiencedeleteMessage, openBook, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeaderAndFooter, showTitle, stopSoundMethods inherited from interface org.bukkit.command.CommandSendergetName, getServer, name, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlainMessage, sendRichMessage, spigotMethods inherited from interface net.kyori.adventure.audience.ForwardingAudience.Singleaudiences, clearTitle, deleteMessage, filterAudience, forEachAudience, get, getOrDefault, getOrDefaultFrom, hideBossBar, openBook, playSound, playSound, playSound, pointers, resetTitle, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeaderAndFooter, sendTitlePart, showBossBar, stopSoundMethods inherited from interface org.bukkit.permissions.PermissibleaddAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, permissionValue, permissionValue, recalculatePermissions, removeAttachmentMethods inherited from interface org.bukkit.permissions.ServerOperatorisOp, setOp
- 
Method Details- 
getCallerReturns the CommandSender which triggered this proxied command- Returns:
- the caller which triggered the command
 
- 
getCalleeReturns the CommandSender which is being used to call the command- Returns:
- the caller which the command is being run as
 
- 
sendMessagedefault void sendMessage(@NotNull Identity source, @NotNull Component message, @NotNull MessageType type) Description copied from interface:net.kyori.adventure.audience.AudienceSends a player chat message from the entity represented by the givenIdentityto thisAudiencewith theChatTypecorresponding to the providedMessageType.- Specified by:
- sendMessagein interface- Audience
- Specified by:
- sendMessagein interface- CommandSender
- Specified by:
- sendMessagein interface- ForwardingAudience
- Specified by:
- sendMessagein interface- ForwardingAudience.Single
- Parameters:
- source- the identity of the source of the message
- message- a message
- type- the type
- See Also:
 
- 
audienceDescription copied from interface:net.kyori.adventure.audience.ForwardingAudience.SingleGets the audience.- Specified by:
- audiencein interface- ForwardingAudience.Single
- Returns:
- the audience
 
 
-