Class RemoteArenaPropertiesChangeEvent
java.lang.Object
org.bukkit.event.Event
de.marcely.bedwars.api.event.remote.RemoteArenaPropertiesChangeEvent
Gets called whenever properties of a remote arena changed.
Keep in mind that this event is async.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Some properties of the arena.Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
ConstructorDescriptionRemoteArenaPropertiesChangeEvent
(RemoteArena arena, Set<RemoteArenaPropertiesChangeEvent.Property> properties) -
Method Summary
Modifier and TypeMethodDescriptiongetArena()
Gets the arena of which the properties have change.static HandlerList
Gets the properties that have changed.Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
RemoteArenaPropertiesChangeEvent
public RemoteArenaPropertiesChangeEvent(RemoteArena arena, Set<RemoteArenaPropertiesChangeEvent.Property> properties)
-
-
Method Details
-
getArena
Gets the arena of which the properties have change.- Returns:
- The involved arena
-
getProperties
Gets the properties that have changed.- Returns:
- The changed properties
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-