Class ServerSwitchListener
java.lang.Object
de.simonsator.partyandfriends.main.listener.ServerSwitchListener
- All Implemented Interfaces:
net.md_5.bungee.api.plugin.Listener
The class with the ServerSwitchEvent
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ServerSwitchListener
void
onServerSwitch
(net.md_5.bungee.api.event.ServerSwitchEvent pEvent) Will be executed if a player switches the server
-
Constructor Details
-
ServerSwitchListener
public ServerSwitchListener()Initials the object
-
-
Method Details
-
getInstance
-
onServerSwitch
public void onServerSwitch(net.md_5.bungee.api.event.ServerSwitchEvent pEvent) Will be executed if a player switches the server- Parameters:
pEvent
- The ServerSwitchEvent event
-