CommandAction v3 - RealMegaMinds/ActionInventoryMod GitHub Wiki
Command actions execute a command.
They look like:
{
...common fields...
"command": "",
"silent": false,
"higherLevel": 0
}
(common fields are specified in Actions v3)
This is the command to execute. This is a string.
Whether the command is from the server (true) or the player (false). This is a boolean.
Whether the command should send feedback when executed. This is a boolean.
Specifies the level that a command should be executed with. This is an integer.
Whether the player should temporarily be opped. This is a boolean.
When true, if the player was not already an op, they made an op before executing the command and deopped after completing the command.
If false, commands will cause an error if the player is not an op.