Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ark template updates #259

Merged
merged 2 commits into from
Feb 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 54 additions & 4 deletions ark/ark-docker.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
"display": "Session Name",
"internal": false
},
"serverpassword": {
"type": "string",
"desc": "Password to join the server",
"display": "Server Password",
"value": ""
},
"serveradminpassword": {
"value": "password",
"required": true,
Expand Down Expand Up @@ -48,12 +54,56 @@
"type": "integer"
},
"mapname": {
"type": "option",
"desc": "Name of the map",
"display": "Map Name",
"internal": false,
"required": true,
"value": "TheIsland"
"value": "TheIsland",
"options": [
{
"value": "TheIsland",
"display": "The Island"
},
{
"value": "TheCenter",
"display": "The Center"
},
{
"value": "ScorchedEarth_P",
"display": "Scorched Earth"
},
{
"value": "Ragnarok",
"display": "Ragnarok"
},
{
"value": "Aberration_P",
"display": "Aberration"
},
{
"value": "Extinction",
"display": "Extinction"
},
{
"value": "Crystalisles",
"display": "Crystal Isles"
}
]
},
"battleye": {
"type": "option",
"display": "BattlEye Anti-Cheat",
"options": [
{
"value": "-NoBattlEye",
"display": "No"
},
{
"value": "",
"display": "Yes"
}
]
},
"exclusive": {
"desc": "Set to yes to only permit friends, leave no for public",
"display": "Exclusive?",
Expand Down Expand Up @@ -82,7 +132,7 @@
}
],
"run": {
"command": "./ShooterGame/Binaries/Linux/ShooterGameServer ${mapname}?listen?SessionName=${sessionname}?ServerAdminPassword=${serveradminpassword}?MultiHome=${ip}?Port=${port}?QueryPort=${queryport}?MaxPlayers=${maxplayers} -server -log ${exclusive}",
"command": "./ShooterGame/Binaries/Linux/ShooterGameServer ${mapname}?listen?SessionName=${sessionname}?ServerPassword=${serverpassword}?ServerAdminPassword=${serveradminpassword}?MultiHome=${ip}?Port=${port}?QueryPort=${queryport}?MaxPlayers=${maxplayers} -server -log ${exclusive} ${battleye}",
"stopCode": 2
},
"environment": {
Expand All @@ -92,4 +142,4 @@
"requirements": {
"arch": "amd64"
}
}
}
56 changes: 53 additions & 3 deletions ark/ark.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
"display": "Session Name",
"internal": false
},
"serverpassword": {
"type": "string",
"desc": "Password to join the server",
"display": "Server Password",
"value": ""
},
"serveradminpassword": {
"value": "password",
"required": true,
Expand Down Expand Up @@ -48,11 +54,55 @@
"type": "integer"
},
"mapname": {
"type": "option",
"desc": "Name of the map",
"display": "Map Name",
"internal": false,
"required": true,
"value": "TheIsland"
"value": "TheIsland",
"options": [
{
"value": "TheIsland",
"display": "The Island"
},
{
"value": "TheCenter",
"display": "The Center"
},
{
"value": "ScorchedEarth_P",
"display": "Scorched Earth"
},
{
"value": "Ragnarok",
"display": "Ragnarok"
},
{
"value": "Aberration_P",
"display": "Aberration"
},
{
"value": "Extinction",
"display": "Extinction"
},
{
"value": "Crystalisles",
"display": "Crystal Isles"
}
]
},
"battleye": {
"type": "option",
"display": "BattlEye Anti-Cheat",
"options": [
{
"value": "-NoBattlEye",
"display": "No"
},
{
"value": "",
"display": "Yes"
}
]
},
"exclusive": {
"desc": "Set to yes to only permit friends, leave no for public",
Expand Down Expand Up @@ -86,7 +136,7 @@
}
],
"run": {
"command": "./ShooterGame/Binaries/Linux/ShooterGameServer ${mapname}?listen?SessionName=${sessionname}?ServerAdminPassword=${serveradminpassword}?MultiHome=${ip}?Port=${port}?QueryPort=${queryport}?MaxPlayers=${maxplayers} -server -log ${exclusive}",
"command": "./ShooterGame/Binaries/Linux/ShooterGameServer ${mapname}?listen?SessionName=${sessionname}?ServerPassword=${serverpassword}?ServerAdminPassword=${serveradminpassword}?MultiHome=${ip}?Port=${port}?QueryPort=${queryport}?MaxPlayers=${maxplayers} -server -log ${exclusive} ${battleye}",
"stopCode": 2
},
"environment": {
Expand Down
Loading