Module gomint.api

Class PlayerKickEvent


  • public class PlayerKickEvent
    extends PlayerEvent
    Version:
    1.0 This event is fired when the server decides to disconnect a player.
    Author:
    geNAZt
    • Constructor Detail

      • PlayerKickEvent

        public PlayerKickEvent​(EntityPlayer player,
                               String message)
        Construct a new player kick event
        Parameters:
        player - The player which is going to be kicked
        message - The message with which the player is going to be kicked
    • Method Detail

      • getMessage

        public String getMessage()
        Get the message with which this user is kicked
        Returns:
        the message with which is the user kicked