Klasse ArenaAdminCommands
java.lang.Object
de.delinkedde.mobarenareborn.command.commands.ArenaAdminCommands
- Alle implementierten Schnittstellen:
MobArenaCommand
Lifecycle administration commands:
create, remove, enable,
disable and arenas.
The mutating commands require Permissions.ADMIN_SETUP; listing requires
Permissions.COMMAND_ARENAS. All operate on an arena by name and are usable from the
console.
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungArenaAdminCommands(@NotNull MobArenaPlugin plugin, @NotNull ArenaManager arenas, @NotNull SessionManager sessions, @NotNull Messages messages, @NotNull StashStore stashStore) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidregister(@NotNull com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> root) Attaches this subcommand to the root/mabuilder.
-
Konstruktordetails
-
ArenaAdminCommands
public ArenaAdminCommands(@NotNull @NotNull MobArenaPlugin plugin, @NotNull @NotNull ArenaManager arenas, @NotNull @NotNull SessionManager sessions, @NotNull @NotNull Messages messages, @NotNull @NotNull StashStore stashStore) - Parameter:
plugin- the owning plugin, used for error loggingarenas- the arena managersessions- the session manager backing the force commandsmessages- the message renderer
-
-
Methodendetails
-
register
public void register(@NotNull @NotNull com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> root) Beschreibung aus Schnittstelle kopiert:MobArenaCommandAttaches this subcommand to the root/mabuilder.- Angegeben von:
registerin SchnittstelleMobArenaCommand- Parameter:
root- the root literal builder to extend, typically viaArgumentBuilder.then(com.mojang.brigadier.builder.ArgumentBuilder)
-