1

Tellraw basic commands!

HudsonGamingYT 6/1/15 1:37 am
200
INTRODUCTION

This is not a tutorial on the JSON format itself. Instead, this will provide examples of JSON usage in Minecraft, specifically through the "/tellraw" and "/title" commands, as well as books and signs. Most command syntax provided will include indentation for simpler reading. Each will have a spoiler tag displaying a condensed version for copying and pasting. Some commands will have image examples to display the end result.

The /tellraw command allows you to insert a formatted message into the chat, which includes several functions for player interaction.

Syntax:
/tellraw [player] [JSON]

The 'player' will be the one who receives the message, allowing you to send messages to specific players via selector parameters. 'JSON' is the text component, which can be added in several different ways. The first is simply adding a single word, in which spaces will break the syntax:

Right:
/tellraw @a Hello
Wrong:
/tellraw @a Hello there


If you wish to gain access to all of the features, you must use the full text component syntax, opening with curly brackets and properly labeling tags. Curly brackets indicate the root compound tag that holds the text component. Within it will contain all of the tags used in text manipulation, though not all features are available depending on its usage. For example, the "clickEvent" tag is not usable in the /title command, but can be used in /tellraw.

Right:
/tellraw @a {text:"Hello there",color:blue}
Wrong:
/tellraw @a {"Hello there",color:blue}








JSON/Tellraw generators!
http://minecraftjson.com/
http://www.dragnoz.com/minecraft-title-generator/
Posted by
HudsonGamingYT
Level 33 : Artisan Dragon
12

  Have something to say?

JoinSign in

Welcome