endstone::CommandExecutor
Represents a class which contains a single method for executing commands.
Functions:
| Name | Description |
|---|---|
onCommand |
onCommand
bool onCommand(CommandSender &sender, const Command &command,
const std::vector<std::string> &args)Executes the given command, returning its success.
Parameters:
senderSource of the commandcommandCommand which was executedargsPassed command arguments
Returns:
true if the execution is successful, otherwise false
Last updated on