Klasse ReloadCommand

java.lang.Object
de.delinkedde.mobarenareborn.command.commands.ReloadCommand
Alle implementierten Schnittstellen:
MobArenaCommand

public final class ReloadCommand extends Object implements MobArenaCommand
/ma reload - re-reads the plugin configuration from disk.

Guarded by Permissions.ADMIN_RELOAD, which is granted to operators by default.

  • Konstruktordetails

    • ReloadCommand

      public ReloadCommand(@NotNull @NotNull ConfigManager config, @NotNull @NotNull Messages messages)
      Parameter:
      config - the configuration manager to reload
      messages - the message renderer used for output
  • Methodendetails

    • register

      public void register(@NotNull @NotNull com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> root)
      Beschreibung aus Schnittstelle kopiert: MobArenaCommand
      Attaches this subcommand to the root /ma builder.
      Angegeben von:
      register in Schnittstelle MobArenaCommand
      Parameter:
      root - the root literal builder to extend, typically via ArgumentBuilder.then(com.mojang.brigadier.builder.ArgumentBuilder)