Interface DeathmatchService
public interface DeathmatchService
Deathmatch state and nonblocking startup.
start(dev.itsharshxd.zentrix.api.game.ZentrixGame) may be called from
any thread; Bukkit lifecycle events are dispatched synchronously.- Since:
- 1.3.0
-
Method Summary
Modifier and TypeMethodDescription@NotNull Optional<org.bukkit.World> getWorld(@NotNull ZentrixGame game) getWorldName(@NotNull ZentrixGame game) booleanisActive(@NotNull ZentrixGame game) booleanisPreparing(@NotNull ZentrixGame game) @NotNull CompletableFuture<DeathmatchStartResult> start(@NotNull ZentrixGame game)
-
Method Details
-
isPreparing
-
isActive
-
getWorld
-
getWorldName
-
start
@NotNull @NotNull CompletableFuture<DeathmatchStartResult> start(@NotNull @NotNull ZentrixGame game)
-