Interface Command
public interface Command
- Since:
- CAC v. 5.4.30
- Author:
- micartey
-
Method Summary
-
Method Details
-
execute
Implement a command hook that will be executed by cardinal for custom commands. Here an example for the parameters when running the command "cac flag"- Parameters:
sender- the command sender (player or console)command- the command e.g. "cac"args- array of arguments e.g. ["cac", "flag"]raw- the raw string e.g. "/cac flag"- Returns:
- true when the command matches
-