MCPcopy Create free account
hub / github.com/EndstoneMC/endstone / execute

Method execute

include/endstone/command/command.h:53–56  ·  view source on GitHub ↗

* Executes the command, returning its success * * @param sender Source of the command * @param args Arguments passed to the command * @return true if the execution was successful, otherwise false */

Source from the content-addressed store, hash-verified

51 * @return true if the execution was successful, otherwise false
52 */
53 [[nodiscard]] virtual bool execute(CommandSender &sender, const std::vector<std::string> &args) const
54 {
55 return false;
56 }
57
58 /**
59 * Returns the name of this command

Callers 1

Calls

no outgoing calls

Tested by 1