Add PUBLIC_IP variable as the allocation can be local ip.

This commit is contained in:
Quinten 2024-01-21 12:19:51 +01:00 committed by GitHub
parent 828dd7243c
commit 6ac00dced7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,7 +4,7 @@
"version": "PTDL_v2",
"update_url": null
},
"exported_at": "2024-01-20T14:16:27+01:00",
"exported_at": "2024-01-21T12:17:19+01:00",
"name": "Palworld",
"author": "admin@ballaual.de",
"description": "Fight, farm, build and work alongside mysterious creatures called \"Pals\" in this completely new multiplayer, open world survival and crafting game!",
@ -17,7 +17,7 @@
"file_denylist": [
"PalServer.sh"
],
"startup": "\/home\/container\/Pal\/Binaries\/Linux\/PalServer-Linux-Test Pal -port={{SERVER_PORT}} -players={{MAX_PLAYERS}} -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS -publicip={{SERVER_IP}} -publicport={{SERVER_PORT}} EpicApp=PalServer -servername=\"{{SRV_NAME}}\" -serverpassword=\"{{SRV_PASSWORD}}\" -adminpassword=\"{{ADMIN_PASSWORD}}\"",
"startup": "\/home\/container\/Pal\/Binaries\/Linux\/PalServer-Linux-Test Pal -port={{SERVER_PORT}} -players={{MAX_PLAYERS}} -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS -publicip={{PUBLIC_IP}} -publicport={{SERVER_PORT}} EpicApp=PalServer -servername=\"{{SRV_NAME}}\" -serverpassword=\"{{SRV_PASSWORD}}\" -adminpassword=\"{{ADMIN_PASSWORD}}\"",
"config": {
"files": "{}",
"startup": "{\r\n \"done\": \"Setting breakpad minidump AppID = 2394010\"\r\n}",
@ -91,6 +91,16 @@
"user_editable": true,
"rules": "required|alpha_dash|between:1,30",
"field_type": "text"
},
{
"name": "The Public IP",
"description": "Set this to the public ip",
"env_variable": "PUBLIC_IP",
"default_value": "",
"user_viewable": true,
"user_editable": false,
"rules": "required|string|",
"field_type": "text"
}
]
}