From 5dd1d45872aa4881724280df594041c334ae60f4 Mon Sep 17 00:00:00 2001 From: melontini <104443436+melontini@users.noreply.github.com> Date: Sun, 02 Jun 2024 09:53:09 +0000 Subject: [PATCH] Update Commands.md --- docs/Commands.md | 19 +++++++++++++++++-- 1 file(s) changed, 17 insertion(s)(+), 2 deletion(s)(-) diff --git a/docs/Commands.md b/docs/Commands.md --- a/docs/Commands.md +++ b/docs/Commands.md @@ -8,7 +8,22 @@ 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 @@ "element": 45 } ``` -::: \ No newline at end of file +::: -- tangled.sh