public class TimingsReportListener extends Object implements net.kyori.adventure.audience.ForwardingAudience, MessageCommandSender
net.kyori.adventure.audience.ForwardingAudience.Single
CommandSender.Spigot
Constructor and Description |
---|
TimingsReportListener(@NotNull CommandSender senders) |
TimingsReportListener(@NotNull CommandSender sender,
@Nullable Runnable onDone) |
TimingsReportListener(@NotNull List<CommandSender> senders) |
TimingsReportListener(@NotNull List<CommandSender> senders,
@Nullable Runnable onDone) |
Modifier and Type | Method and Description |
---|---|
void |
addConsoleIfNeeded() |
@NotNull Iterable<? extends net.kyori.adventure.audience.Audience> |
audiences() |
void |
done() |
void |
done(@Nullable String url) |
@Nullable String |
getTimingsURL() |
void |
sendMessage(net.kyori.adventure.identity.Identity source,
net.kyori.adventure.text.Component message,
net.kyori.adventure.audience.MessageType type) |
void |
sendMessage(@NotNull String message)
Sends this sender a message
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clearTitle, hideBossBar, openBook, playSound, playSound, resetTitle, sendActionBar, sendMessage, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeaderAndFooter, showBossBar, showTitle, stopSound
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, getName, getServer, hasPermission, hasPermission, isOp, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment, sendMessage, sendMessage, sendMessage, setOp, spigot
sendMessage, sendMessage
audience, audience, empty, openBook, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeaderAndFooter, toAudience
public TimingsReportListener(@NotNull @NotNull CommandSender senders)
public TimingsReportListener(@NotNull @NotNull CommandSender sender, @Nullable @Nullable Runnable onDone)
public TimingsReportListener(@NotNull @NotNull List<CommandSender> senders)
public void done()
public void sendMessage(@NotNull @NotNull String message)
CommandSender
sendMessage
in interface CommandSender
message
- Message to be displayedAudience.sendMessage(net.kyori.adventure.text.Component)
public void addConsoleIfNeeded()
public 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 net.kyori.adventure.audience.ForwardingAudience
sendMessage
in interface CommandSender
Copyright © 2021. All rights reserved.