Skip to content

Commit

Permalink
Start update of templates to v3 format
Browse files Browse the repository at this point in the history
  • Loading branch information
LordRalex committed Oct 24, 2023
1 parent bedaf1d commit a755ce6
Show file tree
Hide file tree
Showing 36 changed files with 455 additions and 928 deletions.
21 changes: 10 additions & 11 deletions 7days2die/7days2die.json
Original file line number Diff line number Diff line change
@@ -1,39 +1,35 @@
{
"type": "srcds",
"display": "7 Days to Die",
"environment": {
"type": "host"
},
"install": [
{
"type": "steamgamedl",
"appId": "294420",
"if": "env == \"host\""
"appId": "294420",
"if": "env == 'host'"
},
{
"type": "command",
"commands": [
"steamcmd +force_install_dir /pufferpanel +login anonymous +app_update 294420 +quit"
],
"if": "env == \"docker\""
"if": "env == 'docker'"
},
{
"type": "command",
"commands": [
"chmod +x 7DaysToDieServer.x86_64"
],
"if": "os != \"windows\""
"if": "os != 'windows'"
}
],
"run": {
"command": [
{
"command": "./7DaysToDieServer.exe -quit -batchmode -nographics -dedicated -configfile=serverconfig.xml",
"if": "os == \"windows\""
"if": "os == 'windows"
},
{
"command": "./7DaysToDieServer.x86_64 -quit -batchmode -nographics -dedicated -configfile=serverconfig.xml",
"if": "os != \"windows\""
"command": "./7DaysToDieServer.x86_64 -quit -batchmode -nographics -dedicated -configfile=serverconfig.xml"
}
],
"stop": "shutdown",
Expand All @@ -45,13 +41,16 @@
"port": "8081"
}
},
"environment": {
"type": "host"
},
"supportedEnvironments": [
{
"type": "host"
},
{
"type": "docker",
"image": "steamcmd/steamcmd"
"image": "steamcmd/steamcmd"
}
],
"requirements": {
Expand Down
15 changes: 0 additions & 15 deletions 7days2die/data.json

This file was deleted.

95 changes: 0 additions & 95 deletions ark/ark-docker.json

This file was deleted.

45 changes: 35 additions & 10 deletions ark/ark.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,52 +7,59 @@
"required": true,
"desc": "Name of server",
"display": "Session Name",
"internal": false
"internal": false,
"userEdit": true
},
"serveradminpassword": {
"value": "password",
"required": true,
"desc": "Password for server admin",
"display": "Server Admin Password",
"internal": false
"internal": false,
"userEdit": true
},
"ip": {
"value": "0.0.0.0",
"required": true,
"desc": "What IP to bind the server to",
"display": "IP",
"internal": false
"internal": false,
"userEdit": true
},
"port": {
"value": "7777",
"required": true,
"desc": "What port to bind the server to",
"display": "Port",
"internal": false,
"type": "integer"
"type": "integer",
"userEdit": true
},
"queryport": {
"value": "27015",
"required": true,
"desc": "What port to listen for queries on",
"display": "Query Port",
"internal": false,
"type": "integer"
"type": "integer",
"userEdit": true
},
"maxplayers": {
"value": "20",
"required": true,
"desc": "Maximum number of players",
"display": "Max Players",
"internal": false,
"type": "integer"
"type": "integer",
"userEdit": true
},
"mapname": {
"desc": "Name of the map",
"display": "Map Name",
"internal": false,
"required": true,
"value": "TheIsland"
"value": "TheIsland",
"userEdit": true
},
"exclusive": {
"desc": "Set to yes to only permit friends, leave no for public",
Expand All @@ -70,13 +77,22 @@
"value": "-exclusivejoin",
"display": "Yes"
}
]
],
"userEdit": true
}
},
"install": [
{
"type": "steamgamedl",
"appId": "376030"
"appId": "376030",
"if": "env == 'host'"
},
{
"type": "command",
"commands": [
"steamcmd +force_install_dir /pufferpanel +login anonymous +app_update 376030 +quit"
],
"if": "env == 'docker'"
},
{
"type": "command",
Expand All @@ -92,8 +108,17 @@
"environment": {
"type": "host"
},
"supportedEnvironments": [
{
"type": "host"
},
{
"type": "docker",
"image": "steamcmd/steamcmd"
}
],
"requirements": {
"os": "linux",
"arch": "amd64"
}
}
}
1 change: 1 addition & 0 deletions arma3/.skip
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Requires account
56 changes: 0 additions & 56 deletions arma3/arma3-docker.json

This file was deleted.

Loading

0 comments on commit a755ce6

Please sign in to comment.