diff --git a/docs/Commands.md b/docs/Commands.md index 0f6f26c..352c4b2 100644 --- a/docs/Commands.md +++ b/docs/Commands.md @@ -8,7 +8,22 @@ All command types accept a special `condition` field, that can operate on the cu Various command types can take additional parameters. -Although Commander avoids using commands outside events, other projects might integrate commands to other contexts. This is not unsupported. +You can also use Commander commands in advancement rewards: + +```json +{ + "rewards": { + "commander:commands": [ + { + "type": "commander:print", + "text": "42" + } + ] + } +} +``` + +And other projects might integrate commands to other contexts! [[toc]] @@ -190,4 +205,4 @@ The `expression` command requires an expression which returns a number or a stri "element": 45 } ``` -::: \ No newline at end of file +:::