Skip to Content
⚠ Under Construction
ReferenceC++ APICommandExecutor

endstone::CommandExecutor

Represents a class which contains a single method for executing commands.

Functions:

NameDescription
onCommand

onCommand

bool onCommand(CommandSender &sender, const Command &command, const std::vector<std::string> &args)

Executes the given command, returning its success.

Parameters:

  • sender Source of the command
  • command Command which was executed
  • args Passed command arguments

Returns:

true if the execution is successful, otherwise false

Last updated on