> For the complete documentation index, see [llms.txt](https://servertools.reece.sh/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://servertools.reece.sh/configurations/how-to/internal-variables.md).

# Internal Variables

### Variables

Using ServerTools internal variables you can easily change a single value for it to change across all your configuration outputs! Any areas of the plugin which support PlaceholderAPI extensions also support internal Variables.

This is done by altering the following section in the config.yml:

```
PluginVariables:
  STORE: "store.WEBSITE.co"
  DISCORD: "discord.gg/INVITE"
  RULES: "WEBSITE.co/rules"
  WEBSITE: "WEBSITE.co"
  SERVERNAME: "&b&lMINECRAFT&fNETWORK"
  SERVER: "Skyblock"
  
  # Custom Key
  RANDOM_KEY_FOR_WIKI: "servertools is cool!"
```

You can add any custom keys you wish or alter any of the above. Once this is done, you can place these variables within the plugin. For example the ChatJoinMOTD section of the config.yml

```
  ChatJoinMOTD: 
    Enabled: true
    MOTD:
    - ""
    - "&8&l>&7&m-------------&r %SERVERNAME% &7&m------------&8&l<"
    - ""
    - "&3&l▎ &b&lSERVER &f%SERVER%"
    - ""
    - "&3&l▎ &b&lSTORE &f%STORE%"
    - "&3&l▎ &b&lDISCORD &f%DISCORD%"
    - ""
    - "&7&o(( Currently &b&o%server_online% &7&oplayer(s) are playing ))"
    - ""
    - "&8&l>&7&m----------------------------------------&8&l<"
```

When a user joins, the message will substitute the internal variables for the value strings you provided above!


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://servertools.reece.sh/configurations/how-to/internal-variables.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.
