fix: fixed default port was used

feat: added maxClients
This commit is contained in:
NgLoader 2020-02-27 02:46:51 +01:00
parent cf77f4deaf
commit ef74df1788

View File

@ -3,12 +3,12 @@
"meta": { "meta": {
"version": "PTDL_v1" "version": "PTDL_v1"
}, },
"exported_at": "2020-02-27T01:53:00+01:00", "exported_at": "2020-02-27T02:46:01+01:00",
"name": "Vintage Story", "name": "Vintage Story",
"author": "mail@wuffy.eu", "author": "mail@wuffy.eu",
"description": "Vintage Story is an uncompromising wilderness survival sandbox game inspired by lovecraftian horror themes. Find yourself in a ruined world reclaimed by nature and permeated by unnerving temporal disturbances. Relive the advent of human civilization, or take your own path.", "description": "Vintage Story is an uncompromising wilderness survival sandbox game inspired by lovecraftian horror themes. Find yourself in a ruined world reclaimed by nature and permeated by unnerving temporal disturbances. Relive the advent of human civilization, or take your own path.",
"image": "quay.io\/parkervcp\/pterodactyl-images:debian_mono-6-complete", "image": "quay.io\/parkervcp\/pterodactyl-images:debian_mono-6-complete",
"startup": "mono VintagestoryServer.exe --dataPath .\/data {{OPTIONS}}", "startup": "mono VintagestoryServer.exe --dataPath .\/data --port={{SERVER_PORT}} --maxclients={{MAX_CLIENTS}} {{OPTIONS}}",
"config": { "config": {
"files": "{}", "files": "{}",
"startup": "{\r\n \"done\": \"Dedicated Server now running on Port \",\r\n \"userInteraction\": []\r\n}", "startup": "{\r\n \"done\": \"Dedicated Server now running on Port \",\r\n \"userInteraction\": []\r\n}",
@ -40,6 +40,15 @@
"user_viewable": 1, "user_viewable": 1,
"user_editable": 1, "user_editable": 1,
"rules": "required|string|max:20" "rules": "required|string|max:20"
},
{
"name": "Max Clients",
"description": "",
"env_variable": "MAX_CLIENTS",
"default_value": "16",
"user_viewable": 1,
"user_editable": 1,
"rules": "required|integer|max:2000"
} }
] ]
} }