Make ports configurable

This commit is contained in:
Sebastian Parwolowski 2022-11-19 18:37:44 +01:00
parent cf94973ff1
commit 5918bc2875

View File

@ -4,7 +4,7 @@
"version": "PTDL_v2", "version": "PTDL_v2",
"update_url": null "update_url": null
}, },
"exported_at": "2022-11-19T17:36:39+01:00", "exported_at": "2022-11-19T18:35:39+01:00",
"name": "Frozen Flame", "name": "Frozen Flame",
"author": "theblitzbat@gmail.com", "author": "theblitzbat@gmail.com",
"description": "Frozen Flame Dedicated Server", "description": "Frozen Flame Dedicated Server",
@ -13,7 +13,7 @@
"ghcr.io\/parkervcp\/games:source": "ghcr.io\/parkervcp\/games:source" "ghcr.io\/parkervcp\/games:source": "ghcr.io\/parkervcp\/games:source"
}, },
"file_denylist": [], "file_denylist": [],
"startup": ".\/FrozenFlame\/Binaries\/Linux\/FrozenFlameServer -log -MetaGameServerName={{SERVER_NAME}}", "startup": ".\/FrozenFlame\/Binaries\/Linux\/FrozenFlameServer -log -MetaGameServerName={{SERVER_NAME}} -port {{SERVER_PORT}} -queryPort {{QUERY_PORT}}",
"config": { "config": {
"files": "{\r\n \"FrozenFlame\/Saved\/Config\/LinuxServer\/Game.ini\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \"MaxPlayers\": \"MaxPlayers={{server.build.env.MAX_PLAYERS}}\",\r\n \"ServerPassword\": \"ServerPassword=\\\"{{server.build.env.SERVER_PASSWORD}}\\\"\"\r\n }\r\n }\r\n}", "files": "{\r\n \"FrozenFlame\/Saved\/Config\/LinuxServer\/Game.ini\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \"MaxPlayers\": \"MaxPlayers={{server.build.env.MAX_PLAYERS}}\",\r\n \"ServerPassword\": \"ServerPassword=\\\"{{server.build.env.SERVER_PASSWORD}}\\\"\"\r\n }\r\n }\r\n}",
"startup": "{\r\n \"done\": \"LogWorld: Bringing up level for play took\"\r\n}", "startup": "{\r\n \"done\": \"LogWorld: Bringing up level for play took\"\r\n}",
@ -87,6 +87,16 @@
"user_editable": true, "user_editable": true,
"rules": "boolean", "rules": "boolean",
"field_type": "text" "field_type": "text"
},
{
"name": "Query Port",
"description": "The query port.",
"env_variable": "QUERY_PORT",
"default_value": "27015",
"user_viewable": true,
"user_editable": true,
"rules": "required|integer|between:1024,65536",
"field_type": "text"
} }
] ]
} }