Package dev.itsharshxd.zentrix.api.arena
Interface ArenaSourceService
public interface ArenaSourceService
Registers source arenas installed by an external addon without a full Zentrix reload.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondefault @NotNull CompletableFuture<Boolean> isSourceBusy(@NotNull String sourceArenaName) Returns whether a runtime copy is currently being created from this source.@NotNull CompletableFuture<Boolean> isSourceRegistered(@NotNull String sourceArenaName) @NotNull CompletableFuture<ArenaSourceResult> registerSource(@NotNull String sourceArenaName) @NotNull CompletableFuture<ArenaSourceResult> unregisterSource(@NotNull String sourceArenaName) static ArenaSourceService
-
Method Details
-
registerSource
@NotNull @NotNull CompletableFuture<ArenaSourceResult> registerSource(@NotNull @NotNull String sourceArenaName) -
unregisterSource
@NotNull @NotNull CompletableFuture<ArenaSourceResult> unregisterSource(@NotNull @NotNull String sourceArenaName) -
isSourceRegistered
@NotNull @NotNull CompletableFuture<Boolean> isSourceRegistered(@NotNull @NotNull String sourceArenaName) -
isSourceBusy
@NotNull default @NotNull CompletableFuture<Boolean> isSourceBusy(@NotNull @NotNull String sourceArenaName) Returns whether a runtime copy is currently being created from this source. -
unsupported
-