Class BroadcastSentEvent

java.lang.Object
org.bukkit.event.Event
dev.itsharshxd.zentrix.api.events.ZentrixEvent
dev.itsharshxd.zentrix.api.events.broadcast.BroadcastSentEvent

public final class BroadcastSentEvent extends ZentrixEvent
Called after a broadcast was sent. A notification; nothing about the delivery can change.

Main thread; only fired while a listener is registered.

Since:
1.8.0
  • Constructor Details

  • Method Details

    • getBroadcastId

      @NotNull public @NotNull String getBroadcastId()
      The broadcast's id.
    • getType

      @NotNull public @NotNull BroadcastType getType()
      How it was shown.
    • getOrigin

      @NotNull public BroadcastDeliverEvent.Origin getOrigin()
      Where the broadcast comes from and what sent it.
    • getRecipients

      @NotNull public @NotNull Set<UUID> getRecipients()
      The players it was sent to.
    • getHandlers

      @NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
      Description copied from class: ZentrixEvent
      Gets the handler list for this event.
      Overrides:
      getHandlers in class ZentrixEvent
      Returns:
      The handler list
    • getHandlerList

      @NotNull public static @NotNull org.bukkit.event.HandlerList getHandlerList()