Package co.aikar.timings
Class TimingsReportListener
java.lang.Object
co.aikar.timings.TimingsReportListener
- All Implemented Interfaces:
Audience
,ForwardingAudience
,Pointered
,CommandSender
,MessageCommandSender
,Permissible
,ServerOperator
@Deprecated(forRemoval=true)
public class TimingsReportListener
extends Object
implements ForwardingAudience, MessageCommandSender
Deprecated, for removal: This API element is subject to removal in a future version.
Timings will be removed in the future
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.bukkit.command.CommandSender
CommandSender.Spigot
Nested classes/interfaces inherited from interface net.kyori.adventure.audience.ForwardingAudience
ForwardingAudience.Single
-
Constructor Summary
ConstructorDescriptionTimingsReportListener
(@NotNull List<CommandSender> senders) Deprecated, for removal: This API element is subject to removal in a future version.TimingsReportListener
(@NotNull List<CommandSender> senders, @Nullable Runnable onDone) Deprecated, for removal: This API element is subject to removal in a future version.TimingsReportListener
(@NotNull CommandSender senders) Deprecated, for removal: This API element is subject to removal in a future version.TimingsReportListener
(@NotNull CommandSender sender, @Nullable Runnable onDone) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Gets the audiences.void
done()
Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.void
sendMessage
(@NotNull String message) Deprecated, for removal: This API element is subject to removal in a future version.Sends this sender a messagevoid
sendMessage
(Identity source, Component message, MessageType type) Deprecated, for removal: This API element is subject to removal in a future version.Sends a player chat message from the entity represented by the givenIdentity
to thisAudience
with theChatType
corresponding to the providedMessageType
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.kyori.adventure.audience.Audience
deleteMessage, openBook, removeResourcePacks, removeResourcePacks, removeResourcePacks, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeaderAndFooter, sendResourcePacks, sendResourcePacks, showTitle, stopSound
Methods inherited from interface org.bukkit.command.CommandSender
sendMessage, sendMessage, sendPlainMessage, sendRichMessage, sendRichMessage
Methods inherited from interface net.kyori.adventure.audience.ForwardingAudience
clearResourcePacks, clearTitle, deleteMessage, filterAudience, forEachAudience, hideBossBar, openBook, playSound, playSound, playSound, pointers, removeResourcePacks, removeResourcePacks, resetTitle, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeaderAndFooter, sendResourcePacks, sendTitlePart, showBossBar, stopSound
Methods inherited from interface org.bukkit.command.MessageCommandSender
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, getName, getServer, hasPermission, hasPermission, isOp, isPermissionSet, isPermissionSet, name, recalculatePermissions, removeAttachment, sendMessage, sendMessage, sendMessage, setOp, spigot
Methods inherited from interface org.bukkit.permissions.Permissible
permissionValue, permissionValue
Methods inherited from interface net.kyori.adventure.pointer.Pointered
get, getOrDefault, getOrDefaultFrom
-
Constructor Details
-
TimingsReportListener
Deprecated, for removal: This API element is subject to removal in a future version. -
TimingsReportListener
public TimingsReportListener(@NotNull @NotNull CommandSender sender, @Nullable @Nullable Runnable onDone) Deprecated, for removal: This API element is subject to removal in a future version. -
TimingsReportListener
Deprecated, for removal: This API element is subject to removal in a future version. -
TimingsReportListener
public TimingsReportListener(@NotNull @NotNull List<CommandSender> senders, @Nullable @Nullable Runnable onDone) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getTimingsURL
Deprecated, for removal: This API element is subject to removal in a future version. -
done
public void done()Deprecated, for removal: This API element is subject to removal in a future version. -
done
Deprecated, for removal: This API element is subject to removal in a future version. -
sendMessage
public void sendMessage(@NotNull Identity source, @NotNull Component message, @NotNull MessageType type) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:net.kyori.adventure.audience.Audience
Sends a player chat message from the entity represented by the givenIdentity
to thisAudience
with theChatType
corresponding to the providedMessageType
.- Specified by:
sendMessage
in interfaceAudience
- Specified by:
sendMessage
in interfaceCommandSender
- Specified by:
sendMessage
in interfaceForwardingAudience
- Parameters:
source
- the identity of the source of the messagemessage
- a messagetype
- the type- See Also:
-
audiences
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:net.kyori.adventure.audience.ForwardingAudience
Gets the audiences.- Specified by:
audiences
in interfaceForwardingAudience
- Returns:
- the audiences
-
sendMessage
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CommandSender
Sends this sender a message- Specified by:
sendMessage
in interfaceCommandSender
- Parameters:
message
- Message to be displayed- See Also:
-
addConsoleIfNeeded
public void addConsoleIfNeeded()Deprecated, for removal: This API element is subject to removal in a future version.
-