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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.bukkit.command.CommandSender
CommandSender.SpigotNested classes/interfaces inherited from interface net.kyori.adventure.audience.ForwardingAudience
ForwardingAudience.Single -
Constructor Summary
ConstructorsConstructorDescriptionTimingsReportListener(@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 TypeMethodDescriptionvoidDeprecated, 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.voiddone()Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, 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.voidsendMessage(@NotNull String message) Deprecated, for removal: This API element is subject to removal in a future version.Sends this sender a messagevoidsendMessage(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 givenIdentityto thisAudiencewith theChatTypecorresponding to the providedMessageType.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.kyori.adventure.audience.Audience
deleteMessage, openBook, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeaderAndFooter, showTitle, stopSoundMethods inherited from interface org.bukkit.command.CommandSender
sendMessage, sendMessage, sendPlainMessage, sendRichMessageMethods inherited from interface net.kyori.adventure.audience.ForwardingAudience
clearTitle, deleteMessage, filterAudience, forEachAudience, hideBossBar, openBook, playSound, playSound, playSound, pointers, resetTitle, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeaderAndFooter, sendTitlePart, showBossBar, stopSoundMethods 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, spigotMethods inherited from interface org.bukkit.permissions.Permissible
permissionValue, permissionValueMethods 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.AudienceSends a player chat message from the entity represented by the givenIdentityto thisAudiencewith theChatTypecorresponding to the providedMessageType.- Specified by:
sendMessagein interfaceAudience- Specified by:
sendMessagein interfaceCommandSender- Specified by:
sendMessagein 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.ForwardingAudienceGets the audiences.- Specified by:
audiencesin interfaceForwardingAudience- Returns:
- the audiences
-
sendMessage
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CommandSenderSends this sender a message- Specified by:
sendMessagein 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.
-