Skip to content

Commit

Permalink
i fixed it now
Browse files Browse the repository at this point in the history
my thing wasnt saving earlier but now has
  • Loading branch information
Dreamedc2015 committed Oct 19, 2020
1 parent e0aa817 commit a7a6131
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions documentation/tellraw.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,27 @@
# What is tellraw
tellraw sends a JSON message to selected or all players
being usefull for sending plain messages to players ingame
![](/assets/images/)

![](/assets/images/Documentation/tellrawshow.png)
# Format
```tellraw <target: target> <raw json message: json>```
this is how the tell raw command is formated
## broken down
``` <target: target>```
The target is expressed as a playername or player groups such as ``@a`` ``@r`` ``@s`` ``@p``
```<raw json message: json>```
this is expressed with `{"rawtext":[{"text":""}]}`
# Examples
This sends the words in the last set of quotes
```/tellraw @a {"rawtext":[{"text":"Hello"}]}```

To use quotaitons in a tellraw message place a backslash to the left side of the quotation mark
```/tellraw @a {"rawtext":[{"text":"§bColor text"}]}```

To insert a line break use \n
```/tellraw @a {"rawtext":[{"text":"Text1\nText2"}]}```

To have a language changing text
``` /tellraw @a {"rawtext":[{"translate":"accessibility.downloading.complete"}]}```
please note you will need to edit each languages files for this to work

### The titleraw command follows the same theme

0 comments on commit a7a6131

Please sign in to comment.