Class IllegalPacketEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
com.destroystokyo.paper.event.player.IllegalPacketEvent
Deprecated.
Not used
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Field Summary
Fields inherited from class org.bukkit.event.player.PlayerEvent
player
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.static @NotNull HandlerList
Deprecated.Deprecated.Deprecated.getType()
Deprecated.boolean
Deprecated.static void
process
(@NotNull Player player, @Nullable String type, @Nullable String kickMessage, @NotNull Exception exception) Deprecated.void
setKickMessage
(@Nullable String kickMessage) Deprecated.void
setShouldKick
(boolean shouldKick) Deprecated.Methods inherited from class org.bukkit.event.player.PlayerEvent
getPlayer
Methods inherited from class org.bukkit.event.Event
asynchronous, callEvent, getEventName, isAsynchronous
-
Constructor Details
-
Method Details
-
isShouldKick
public boolean isShouldKick()Deprecated. -
setShouldKick
public void setShouldKick(boolean shouldKick) Deprecated. -
getKickMessage
Deprecated. -
setKickMessage
Deprecated. -
getType
Deprecated. -
getExceptionMessage
Deprecated. -
getHandlers
Deprecated.- Specified by:
getHandlers
in classEvent
-
getHandlerList
Deprecated. -
process
public static void process(@NotNull @NotNull Player player, @Nullable @Nullable String type, @Nullable @Nullable String kickMessage, @NotNull @NotNull Exception exception) Deprecated.
-