> For the complete documentation index, see [llms.txt](https://smuddgge.gitbook.io/leaf-3.0.0/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://smuddgge.gitbook.io/leaf-3.0.0/commands/message-types/message.md).

# message

Used to send a message to another player.

{% code title="Example" overflow="wrap" %}

```yaml
message:
  type: "message"
  enabled: true
  name: "globalmessage"
  aliases: [ "gmsg" ]
  not_found: "{error_colour}Player is not online."
  message_self: "{error_colour}You cannot message yourself."
  ignoring: "{error_colour}You have ignored this player."
  recipient_ignoring: "{error_colour}This player has ignored you."
  toggled: "{error_colour}You have your messages toggled."
  recipient_toggled: "{error_colour}This player has there messages toggled."
  # Placeholders will parse in terms of the other player.
  to: "&f✉ &7&ome -> &f&o<player> &7&o: &f&o%message%"
  from: "&f✉ &f&o<player> -> &7&ome &7&o: &f&o%message%"
  # Spy is where other players can see messages.
  spy_format: "&8&o%from% -> %to% : %message%"
```

{% endcode %}

`/[name] [player] [message]`
