Class ReloadCommand
java.lang.Object
de.craftsblock.craftsnet.command.commands.ReloadCommand
- All Implemented Interfaces:
CommandExecutor
Command executor for the reload command.
This class implements the
CommandExecutor interface and provides functionality to handle the "reload" command.- Since:
- 3.0.5-SNAPSHOT
-
Constructor Summary
ConstructorsConstructorDescriptionReloadCommand(CraftsNet craftsNet) Constructs a new instance of the reload command. -
Method Summary
-
Constructor Details
-
ReloadCommand
Constructs a new instance of the reload command.- Parameters:
craftsNet- The CraftsNet instance for which the reload command was registered
-
-
Method Details
-
onCommand
public void onCommand(@NotNull @NotNull Command command, @NotNull @NotNull String alias, @NotNull @NotNull String[] args, @NotNull @NotNull Logger logger) Executes the reload command.- Specified by:
onCommandin interfaceCommandExecutor- Parameters:
command- The command to be executed.alias- The alias name of the command used to access it.args- The arguments passed with the command.logger- The logger for outputting messages or logging.
-