ICommandExecute - friendlyhj/ZenUtils GitHub Wiki

ICommandExecute

The ICommandExecute function is called whenever the associated command is executing.

Importing the package

It might be required for you to import the package if you encounter any issues, so better be safe than sorry and add the import. import mods.zenutils.command.ICommandExecute;

Parameters

The ICommandExecute Function is a function with the following parameters (in this order):

  • ZenCommand command: the command is executed
  • IServer server: the server where the command is executed
  • ZenUtilsCommandSender sender: the sender that executes the command
  • String[] args: the command arguments
⚠️ **GitHub.com Fallback** ⚠️