Package com.avrix.events
Class OnPlayerBanEvent
java.lang.Object
com.avrix.events.Event
com.avrix.events.OnPlayerBanEvent
Triggered when the player ban 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
-
OnPlayerBanEvent
public OnPlayerBanEvent()
-
-
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
- Connecting a player who has been banned.adminName
- Nickname of the administrator who banned the playerreason
- Reason for blocking the player.
-