public interface ProxiedCommandSender extends CommandSender, net.kyori.adventure.audience.ForwardingAudience.Single
CommandSender.Spigot
Modifier and Type | Method and Description |
---|---|
default net.kyori.adventure.audience.Audience |
audience() |
@NotNull CommandSender |
getCallee()
Returns the CommandSender which is being used to call the command
|
@NotNull CommandSender |
getCaller()
Returns the CommandSender which triggered this proxied command
|
default void |
sendMessage(net.kyori.adventure.identity.Identity source,
net.kyori.adventure.text.Component message,
net.kyori.adventure.audience.MessageType type) |
getName, getServer, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, spigot
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment
isOp, setOp
audiences, clearTitle, hideBossBar, openBook, playSound, playSound, resetTitle, sendActionBar, sendMessage, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeaderAndFooter, showBossBar, showTitle, stopSound
audience, audience, empty, openBook, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeaderAndFooter, toAudience
@NotNull @NotNull CommandSender getCaller()
@NotNull @NotNull CommandSender getCallee()
default void sendMessage(@NotNull net.kyori.adventure.identity.Identity source, @NotNull net.kyori.adventure.text.Component message, @NotNull net.kyori.adventure.audience.MessageType type)
sendMessage
in interface net.kyori.adventure.audience.Audience
sendMessage
in interface CommandSender
sendMessage
in interface net.kyori.adventure.audience.ForwardingAudience
sendMessage
in interface net.kyori.adventure.audience.ForwardingAudience.Single
@NotNull default net.kyori.adventure.audience.Audience audience()
audience
in interface net.kyori.adventure.audience.ForwardingAudience.Single
Copyright © 2021. All rights reserved.