Package com.avrix.events
Class OnPlayerKickEvent
java.lang.Object
com.avrix.events.Event
com.avrix.events.OnPlayerKickEvent
Triggered when the player kick command is called.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGetting the event nameabstract void
handleEvent
(zombie.core.raknet.UdpConnection connection, String adminName, String reason) Called Event Handling Method
-
Constructor Details
-
OnPlayerKickEvent
public OnPlayerKickEvent()
-
-
Method Details
-
getEventName
Getting the event name- Specified by:
getEventName
in classEvent
- Returns:
- name of the event being implemented
-
handleEvent
public abstract void handleEvent(zombie.core.raknet.UdpConnection connection, String adminName, String reason) Called Event Handling Method- Parameters:
connection
- Connection of the player who was kicked.adminName
- Nickname of the administrator who kicked the playerreason
- Reason for player kick.
-