-
Notifications
You must be signed in to change notification settings - Fork 0
The Chat Functions
Below are listed all the commands that deal with chat interaction!
Arguably the simplest one, makes the executor "say" something (though distinguishable from regular chat messages).
In Code: Say(string message)
Compiles To: say message
For example: Say("Hello")
As oppose to the say command, tellraw prints the info it gets straight to the chat, no modifications! It is a lot more powerful than the say command, as it is able to feature colored text, selectors, hover and click events etc.
Tellraw doesn't use regular strings as arguments, it uses [Text Components].
In Code: TellRaw(TextComponent component)
Compiles To: tellraw [target] <component compilation>
For example: TellRaw(new TextComponent(Segment.Text("Hello").Color(Color.Yellow)))
Example compiles to: tellraw [target] {"text":"Hello","color":"yellow"}