-
Notifications
You must be signed in to change notification settings - Fork 0
Options | variables
Doudou8 edited this page Jul 30, 2020
·
32 revisions
You can add variables which can be accessible in the configuration of your server or template.
- Go to the
config.json
file of your server/template (if you have not setup any server or any template, see Configure a Server or Configure a Template) - Find the
variables
field - You can now add the variables you want available for that server/template only in a JSON Object format (the keys are always Strings and the values can be Strings, Ints and Booleans) and use it in your configuration
It should look something like this:
{
...
"variables": {
"variableName": "value"
}
}
- Create or go to the
variables.json
file under theconfig
folder - You can now add the variables you want available for all servers/templates in a JSON Object format and use it in your configuration
It should look something like this:
{
"variableName": "value"
}
Confused? See Example Server or FAQ
Something is still not clear? Create an issue!
MIT © Samuel-Martineau & Doudou8
- Arguments & Flags
- Configure a Template
- Liquid templating engine in configuration
- Options (Not optional)
- Schemas