# Join messages

### Configuration

```yaml
joinmessages-module:
  enabled: true
  messages:
      - permission: 'staff.joinmessages.staff'
        message: '&6[Staff] &4%player% &7joined the server'
        weight: 1
```

You can configure different messages based on the permission a player has.\
The weight determines which message get's priority should a player have multiple join messages permissions. A higher weight will get priority.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.staffplusplus.org/features/join-messages.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
