> 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/friend-types/message.md).

# message

Used to message a friend.

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

```yaml
message:
    enable: true
    name: "msg"
    not_found: "{error_colour}Player is not online."
    not_friend: "{error_colour}You are not friends with this player."
    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 %}
