Class BroadcastMessageEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.server.ServerEvent
org.bukkit.event.server.BroadcastMessageEvent
All Implemented Interfaces:
Cancellable

public class BroadcastMessageEvent extends ServerEvent implements Cancellable
Event triggered for server broadcast messages such as from Server.broadcast(net.kyori.adventure.text.Component) (String, String)}. This event behaves similarly to AsyncChatEvent in that it should be async if fired from an async thread. Please see that event for further information.