Skip to content

Commit

Permalink
Formatter run, although some templates seem to have issues
Browse files Browse the repository at this point in the history
  • Loading branch information
LordRalex committed Jan 3, 2024
1 parent 3a3e005 commit ee1f341
Show file tree
Hide file tree
Showing 35 changed files with 752 additions and 474 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"json.schemas": [
{
"fileMatch": [
"/*.json"
"/*.json",
"!data.json"
],
"url": "./spec.json"
}
Expand Down
6 changes: 4 additions & 2 deletions 7days2die/7days2die.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@
"type": "telnet",
"port": "8081"
},
"stdout": {}
"autostart": false,
"autorecover": false,
"autorestart": false
},
"environment": {
"type": "host"
Expand All @@ -57,4 +59,4 @@
"requirements": {
"arch": "amd64"
}
}
}
25 changes: 15 additions & 10 deletions ark/ark.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"value": "",
"display": "Exclusive?",
"desc": "Set to yes to only permit friends, leave no for public",
"required": false,
"userEdit": true,
"options": [
{
Expand All @@ -20,15 +21,15 @@
]
},
"ip": {
"type": "",
"type": "string",
"value": "0.0.0.0",
"display": "IP",
"desc": "What IP to bind the server to",
"required": true,
"userEdit": true
},
"mapname": {
"type": "",
"type": "string",
"value": "TheIsland",
"display": "Map Name",
"desc": "Name of the map",
Expand All @@ -37,38 +38,38 @@
},
"maxplayers": {
"type": "integer",
"value": "20",
"value": 20,
"display": "Max Players",
"desc": "Maximum number of players",
"required": true,
"userEdit": true
},
"port": {
"type": "integer",
"value": "7777",
"value": 7777,
"display": "Port",
"desc": "What port to bind the server to",
"required": true,
"userEdit": true
},
"queryport": {
"type": "integer",
"value": "27015",
"value": 27015,
"display": "Query Port",
"desc": "What port to listen for queries on",
"required": true,
"userEdit": true
},
"serveradminpassword": {
"type": "",
"type": "string",
"value": "password",
"display": "Server Admin Password",
"desc": "Password for server admin",
"required": true,
"userEdit": true
},
"sessionname": {
"type": "",
"type": "string",
"value": "My ARK Server",
"display": "Session Name",
"desc": "Name of server",
Expand Down Expand Up @@ -99,8 +100,12 @@
"run": {
"command": "./ShooterGame/Binaries/Linux/ShooterGameServer ${mapname}?listen?SessionName=${sessionname}?ServerAdminPassword=${serveradminpassword}?MultiHome=${ip}?Port=${port}?QueryPort=${queryport}?MaxPlayers=${maxplayers} -server ${exclusive}",
"stopCode": 2,
"stdin": {},
"stdout": {}
"stdin": {
"type": "stdin"
},
"autostart": false,
"autorecover": false,
"autorestart": false
},
"environment": {
"type": "host"
Expand All @@ -118,4 +123,4 @@
"os": "linux",
"arch": "amd64"
}
}
}
29 changes: 18 additions & 11 deletions arma3/arma3.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,31 @@
"display": "ARMA3",
"data": {
"config": {
"type": "",
"type": "string",
"value": "config.cfg",
"display": "Config File",
"desc": "The Config file you want to use. NOTE: config.cfg is created on server installation!",
"required": false,
"userEdit": true
},
"ip": {
"type": "",
"type": "string",
"value": "0.0.0.0",
"display": "IP",
"desc": "What IP to bind the server to",
"required": true
"required": true,
"userEdit": false
},
"port": {
"type": "integer",
"value": "2302",
"value": 2302,
"display": "Port",
"desc": "What port to bind the server to",
"required": true
"required": true,
"userEdit": false
},
"steam_user": {
"type": "",
"type": "string",
"value": "anonymous",
"display": "Steam User",
"desc": "Username for Steam login",
Expand All @@ -36,8 +39,8 @@
{
"if": "env == 'host'",
"type": "steamgamedl",
"appId": "233780",
"username": "${steam_user}"
"username": "${steam_user}",
"appId": "233780"
},
{
"if": "env == 'docker'",
Expand All @@ -57,8 +60,12 @@
"run": {
"command": "./arma3server -ip=${ip} -port=${port} -config=${config} -par=parameters.txt",
"stopCode": 2,
"stdin": {},
"stdout": {}
"stdin": {
"type": "stdin"
},
"autostart": false,
"autorecover": false,
"autorestart": false
},
"environment": {
"type": "host"
Expand All @@ -76,4 +83,4 @@
"os": "linux",
"arch": "amd64"
}
}
}
36 changes: 22 additions & 14 deletions css/css.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,22 @@
"data": {
"clientport": {
"type": "integer",
"value": "27005",
"value": 27005,
"display": "Client Port",
"desc": "What port to bind the clientport to",
"required": true
"required": true,
"userEdit": false
},
"ip": {
"type": "",
"type": "string",
"value": "0.0.0.0",
"display": "IP",
"desc": "What IP to bind the server to",
"required": true
"required": true,
"userEdit": false
},
"mapName": {
"type": "",
"type": "string",
"value": "de_dust2",
"display": "Map",
"desc": "Map to load by default",
Expand All @@ -26,33 +28,35 @@
},
"maxplayers": {
"type": "integer",
"value": "20",
"value": 20,
"display": "Max Players",
"desc": "Max players allowed on server",
"required": true,
"userEdit": true
},
"port": {
"type": "integer",
"value": "27015",
"value": 27015,
"display": "Port",
"desc": "What port to bind the server to",
"required": true
"required": true,
"userEdit": false
},
"tickrate": {
"type": "integer",
"value": "66",
"value": 66,
"display": "Tickrate",
"desc": "Server tick speed, to use this value you need to download this addon: https://github.com/daemon32/tickrate_enabler/releases/tag/0.5",
"required": true,
"userEdit": true
},
"tvport": {
"type": "integer",
"value": "27020",
"value": 27020,
"display": "SourceTV Port",
"desc": "What port to bind the SourceTV to",
"required": true
"required": true,
"userEdit": false
}
},
"install": [
Expand All @@ -72,8 +76,12 @@
"run": {
"command": "./srcds_run -game cstrike -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${tvport} +map ${mapName} -maxplayers ${maxplayers} -tickrate ${tickrate} -norestart",
"stop": "exit",
"stdin": {},
"stdout": {}
"stdin": {
"type": "stdin"
},
"autostart": false,
"autorecover": false,
"autorestart": false
},
"environment": {
"type": "host"
Expand All @@ -91,4 +99,4 @@
"os": "linux",
"arch": "amd64"
}
}
}
10 changes: 7 additions & 3 deletions discord-jda/discord-jda.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@
},
"run": {
"command": "java -jar ${jar}",
"stdin": {},
"stdout": {}
"stdin": {
"type": "stdin"
},
"autostart": false,
"autorecover": false,
"autorestart": false
},
"environment": {
"type": "host"
Expand All @@ -33,4 +37,4 @@
"java"
]
}
}
}
13 changes: 9 additions & 4 deletions discord-js/discord-js.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"value": "bot.js",
"display": "Main bot file",
"desc": "The main bot file.",
"required": true
"required": true,
"userEdit": false
}
},
"install": [
Expand All @@ -21,8 +22,12 @@
"run": {
"command": "node ./${bot-js-file}",
"stop": "stop",
"stdin": {},
"stdout": {}
"stdin": {
"type": "stdin"
},
"autostart": false,
"autorecover": false,
"autorestart": false
},
"environment": {
"type": "host"
Expand All @@ -42,4 +47,4 @@
"npm"
]
}
}
}
10 changes: 7 additions & 3 deletions discord-py/discord-py.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,12 @@
"run": {
"command": "python3 ${bot-py-file}",
"stop": "stop",
"stdin": {},
"stdout": {}
"stdin": {
"type": "stdin"
},
"autostart": false,
"autorecover": false,
"autorestart": false
},
"environment": {
"type": "host"
Expand All @@ -51,4 +55,4 @@
"python3"
]
}
}
}
Loading

0 comments on commit ee1f341

Please sign in to comment.