-
Notifications
You must be signed in to change notification settings - Fork 0
Api
blacksponge edited this page Oct 15, 2018
·
3 revisions
[
{
"name": "GameName",
"uid": 1000,
"gid": 1000,
"cwd": "path/to/work/dir",
"vars": [
{
"name": "a_variable",
"label": "MyVariable",
"default": "world"
}
],
"command": [
"echo",
"Hello $var_a_variable
]
},
...
]
{
"name": "GameName",
"uid": 1000,
"gid": 1000,
"cwd": "path/to/work/dir",
"vars": [
{
"name": "a_variable",
"label": "MyVariable",
"default": "world"
}
],
"command": [
"echo",
"Hello $var_a_variable
]
}
{
"nickname": "MyGameServer",
"game": "GameName",
"vars": {
"a_variable": "friend"
}
}
{
"pid": #pid,
"command": "echo Hello friend"
}
Where #pid
is the PID of the process.