Class SubEditServerEvent
java.lang.Object
org.spongepowered.api.event.impl.AbstractEvent
net.ME1312.SubServers.Client.Sponge.Event.SubEditServerEvent
Server Edit Event
-
Field Summary
Fields inherited from class org.spongepowered.api.event.impl.AbstractEvent
currentOrder
-
Constructor Summary
ConstructorDescriptionSubEditServerEvent
(UUID player, String server, Pair<String, ?> edit) Server Edit Event -
Method Summary
Methods inherited from class org.spongepowered.api.event.impl.AbstractEvent
init
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.spongepowered.api.event.Event
getContext, getSource
-
Constructor Details
-
SubEditServerEvent
Server Edit Event- Parameters:
player
- Player Adding Serverserver
- Server to be Editededit
- Edit to make
-
-
Method Details
-
getServer
Gets the Server to be Edited- Returns:
- The Server to be Edited
-
getPlayer
Gets the player that triggered the Event- Returns:
- The Player that triggered this Event or null if Console
-
getEdit
Gets the edit to be made- Returns:
- Edit to be made
-
getCause
Deprecated.Use simplified methods where availableGets the cause of this Event
-