Chat arguments
The CommandAPI provides a number of ways to interact with chat formatting in Minecraft. These are the following:
- ChatColor: The color of text rendered in Minecraft
- Chat: Text which is said in chat. This also includes entity selectors such as
@aand@r - ChatComponent: Minecraft's Raw JSON text format
The CommandAPI implements ChatColor, Chat and ChatComponent in two separate ways: Spigot-compatible and Adventure-compatible. The differences between these and how to use them are described in their own relevant pages.