Class WrapperPlayServerSystemChatMessage

java.lang.Object
com.github.retrooper.packetevents.wrapper.PacketWrapper<WrapperPlayServerSystemChatMessage>
com.github.retrooper.packetevents.wrapper.play.server.WrapperPlayServerSystemChatMessage

public class WrapperPlayServerSystemChatMessage extends PacketWrapper<WrapperPlayServerSystemChatMessage>
Introduced in 1.19. WrapperPlayServerChatMessage is used for broadcasting messages sent by clients. This on the other hand is used whenever the vanilla server needs to send the client a message. For example, join messages, quit messages, etc...
  • Field Details

    • HANDLE_JSON

      @Deprecated public static boolean HANDLE_JSON
      Deprecated.
  • Constructor Details

    • WrapperPlayServerSystemChatMessage

      public WrapperPlayServerSystemChatMessage(PacketSendEvent event)
    • WrapperPlayServerSystemChatMessage

      @Deprecated public WrapperPlayServerSystemChatMessage(@NotNull @NotNull ChatType type, net.kyori.adventure.text.Component message)
      Deprecated.
    • WrapperPlayServerSystemChatMessage

      @Deprecated public WrapperPlayServerSystemChatMessage(@NotNull @NotNull ChatType type, String messageJson)
      Deprecated.
    • WrapperPlayServerSystemChatMessage

      public WrapperPlayServerSystemChatMessage(boolean overlay, net.kyori.adventure.text.Component message)
    • WrapperPlayServerSystemChatMessage

      @Deprecated public WrapperPlayServerSystemChatMessage(boolean overlay, String messageJson)
      Deprecated.
  • Method Details