Class IllegalPacketEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
com.destroystokyo.paper.event.player.IllegalPacketEvent

@Deprecated(since="1.16.4", forRemoval=true) public class IllegalPacketEvent extends PlayerEvent
Deprecated, for removal: This API element is subject to removal in a future version.
Not used
  • Constructor Details

    • IllegalPacketEvent

      @Internal public IllegalPacketEvent(@NotNull @NotNull Player player, @Nullable @Nullable String type, @Nullable @Nullable String kickMessage, @NotNull @NotNull Exception e)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • isShouldKick

      public boolean isShouldKick()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setShouldKick

      public void setShouldKick(boolean shouldKick)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getKickMessage

      @Nullable public @Nullable String getKickMessage()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setKickMessage

      public void setKickMessage(@Nullable @Nullable String kickMessage)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getType

      @Nullable public @Nullable String getType()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getExceptionMessage

      @Nullable public @Nullable String getExceptionMessage()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getHandlers

      @NotNull public @NotNull HandlerList getHandlers()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getHandlers in class Event
    • getHandlerList

      @NotNull public static @NotNull HandlerList getHandlerList()
      Deprecated, for removal: This API element is subject to removal in a future version.