Class SubEditServerEvent
java.lang.Object
org.bukkit.event.Event
net.ME1312.SubServers.Client.Bukkit.Event.SubEditServerEvent
- All Implemented Interfaces:
SubEvent
Server Edit Event
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
ConstructorDescriptionSubEditServerEvent
(UUID player, String server, Pair<String, ?> edit) Server Edit Event -
Method Summary
Modifier and TypeMethodDescriptiongetEdit()
Gets the edit to be madestatic HandlerList
Gets the player that triggered the EventGets the Server to be EditedMethods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
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
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-