Command (as OP)
Execute commands as an operator

Usage

1
op(erator)?(s)?
Copied!

Examples

1
- 'op: kick ${input}'
Copied!
1
- 'op: kick ${input} ; broadcast I just kicked ${input}'
Copied!

Note

As of now, the only way Bukkit can make this action work is by granting the player OP, executing the command and then removing the OP. This process can lead to serious problems with hackers trying to execute operator commands when they click on the button while the server is lagging (= slower process).
It is recommended to use the console action type instead when possible, or else, give the player the correct permission before and removing it after the command.
Last modified 1yr ago
Copy link