ServerTools
Search…
Internal Variables
Located at the top of the config.yml

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!
Copy link