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

Method onCommand

include/endstone/command/command_executor.h:40–43  ·  view source on GitHub ↗

* Executes the given command, returning its success. * * @param sender Source of the command * @param command Command which was executed * @param args Passed command arguments * @return true if the execution is successful, otherwise false */

Source from the content-addressed store, hash-verified

38 * @return true if the execution is successful, otherwise false
39 */
40 virtual bool onCommand(CommandSender &sender, const Command &command, const std::vector<std::string> &args)
41 {
42 return false;
43 }
44};
45} // namespace endstone

Callers 1

executeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected