Name | Narrate |
Syntax | narrate [<text>] (targets:<player>|...) (format:<script>) (per_player) (from:<uuid>) |
Short Description | Shows some text to the player. |
Full Description | Prints some text into the target's chat area. If no target is specified it will default to the attached player or the console.
Accepts the 'format:<script>' argument, which will reformat the text according to the specified format script. See Format Script Containers. Optionally use 'per_player' with a list of player targets, to have the tags in the text input be reparsed for each and every player. So, for example, "- narrate 'hello <player.name>' targets:<server.online_players>" would normally say "hello bob" to every player (every player sees the exact same name in the text, ie bob sees "hello bob", steve also sees "hello bob", etc) but if you use "per_player", each player online would see their own name (so bob sees "hello bob", steve sees "hello steve", etc). Optionally, specify 'from:<uuid>' to indicate that message came from a specific UUID (used for things like the vanilla client social interaction block option). |
Related Tags | None
|
Usage Example |
|
Usage Example |
|
Usage Example |
|
Group | player |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/player/NarrateCommand.java#L38 |