Klasse PlayerIllegalStateEvent


public final class PlayerIllegalStateEvent extends PlayerEvent
Triggered when an "illegal state" error occurs for a player. In general this happens if there is some sort of desync between the client and the server, or more precisely, if the client is doing something that's not plausible for the server (caused by desync, modified game files, or bugs etc).
If too many "illegal state" errors occur are caused by a player, he will be kicked from the server (threshold can be changed in server.properties).
  • Methodendetails

    • getCause

      public String getCause()