Class PlayerChatEvent


public final class PlayerChatEvent extends ResultedEvent<ResultedEvent.GenericResult>
Represents an event that fires when a player sends a chat message.
  • Constructor Details

    • PlayerChatEvent

      public PlayerChatEvent(@NotNull @NotNull Player player, @NotNull @NotNull String message)
  • Method Details

    • player

      @NotNull public @NotNull Player player()
    • message

      @NotNull public @NotNull String message()