remove file parser

This commit is contained in:
Quinten 2022-12-11 15:06:15 +01:00 committed by GitHub
parent 899a0cb4bf
commit 1a739fbc4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 67 deletions

View File

@ -4,7 +4,7 @@
"version": "PTDL_v2", "version": "PTDL_v2",
"update_url": null "update_url": null
}, },
"exported_at": "2022-12-11T13:59:43+01:00", "exported_at": "2022-12-11T15:05:31+01:00",
"name": "American Truck Simulator Dedicated Server", "name": "American Truck Simulator Dedicated Server",
"author": "chase@cstmgames.com", "author": "chase@cstmgames.com",
"description": "This will set up SteamCMD and all the required files for the newly released American Truck Simulator Dedicated server. Simply placed the exported server config from your ATS instance to the .local\/share\/American Truck Simulator\/ folder and select start. Make sure that auto start is off on server creation to allow you to upload your config files.", "description": "This will set up SteamCMD and all the required files for the newly released American Truck Simulator Dedicated server. Simply placed the exported server config from your ATS instance to the .local\/share\/American Truck Simulator\/ folder and select start. Make sure that auto start is off on server creation to allow you to upload your config files.",
@ -17,7 +17,7 @@
"file_denylist": [], "file_denylist": [],
"startup": ".\/bin\/linux_x64\/amtrucks_server", "startup": ".\/bin\/linux_x64\/amtrucks_server",
"config": { "config": {
"files": "{\r\n \"\/.local\/share\/American Truck Simulator\/server_config.sii\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \" connection_dedicated_port:\": \" connection_dedicated_port: {{server.build.default.port}}\",\r\n \" query_dedicated_port:\": \" query_dedicated_port: {{env.QUERY_PORT}}\",\r\n \" server_logon_token:\": \" server_logon_token: \\\"{{env.STEAM_TOKEN}}\\\"\",\r\n \" lobby_name:\": \" lobby_name: \\\"{{env.LOBBY_NAME}}\\\"\"\r\n }\r\n }\r\n}", "files": "{}",
"startup": "{\r\n \"done\": \"[MP] Session running.\"\r\n}", "startup": "{\r\n \"done\": \"[MP] Session running.\"\r\n}",
"logs": "{}", "logs": "{}",
"stop": "^C" "stop": "^C"
@ -49,36 +49,6 @@
"user_editable": false, "user_editable": false,
"rules": "required|string|in:2239530", "rules": "required|string|in:2239530",
"field_type": "text" "field_type": "text"
},
{
"name": "STEAM_TOKEN",
"description": "",
"env_variable": "STEAM_TOKEN",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string|max:64",
"field_type": "text"
},
{
"name": "query port",
"description": "Must be between 27015 and 27020!",
"env_variable": "QUERY_PORT",
"default_value": "27016",
"user_viewable": true,
"user_editable": false,
"rules": "required|string",
"field_type": "text"
},
{
"name": "LOBBY_NAME",
"description": "Used as the name of the server lobby",
"env_variable": "LOBBY_NAME",
"default_value": "American Truck Simulator",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:20",
"field_type": "text"
} }
] ]
} }

View File

@ -4,7 +4,7 @@
"version": "PTDL_v2", "version": "PTDL_v2",
"update_url": null "update_url": null
}, },
"exported_at": "2022-12-11T13:54:35+01:00", "exported_at": "2022-12-11T15:00:30+01:00",
"name": "Euro Truck Simulator 2 Dedicated server", "name": "Euro Truck Simulator 2 Dedicated server",
"author": "josdekurk@gmail.com", "author": "josdekurk@gmail.com",
"description": "Travel across Europe as king of the road, a trucker who delivers important cargo across impressive distances! With dozens of cities to explore, your endurance, skill and speed will all be pushed to their limits.", "description": "Travel across Europe as king of the road, a trucker who delivers important cargo across impressive distances! With dozens of cities to explore, your endurance, skill and speed will all be pushed to their limits.",
@ -17,7 +17,7 @@
"file_denylist": [], "file_denylist": [],
"startup": ".\/bin\/linux_x64\/eurotrucks2_server", "startup": ".\/bin\/linux_x64\/eurotrucks2_server",
"config": { "config": {
"files": "{\r\n \"\/.local\/share\/Euro Truck Simulator 2\/server_config.sii\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \" connection_dedicated_port:\": \" connection_dedicated_port: {{server.build.default.port}}\",\r\n \" query_dedicated_port:\": \" query_dedicated_port: {{env.QUERY_PORT}}\",\r\n \" server_logon_token:\": \" server_logon_token: \\\"{{env.STEAM_TOKEN}}\\\"\",\r\n \" lobby_name:\": \" lobby_name: \\\"{{env.LOBBY_NAME}}\\\"\"\r\n }\r\n }\r\n}", "files": "{}",
"startup": "{\r\n \"done\": \"[MP] State: running\"\r\n}", "startup": "{\r\n \"done\": \"[MP] State: running\"\r\n}",
"logs": "{}", "logs": "{}",
"stop": "^C" "stop": "^C"
@ -69,36 +69,6 @@
"user_editable": true, "user_editable": true,
"rules": "nullable|string|max:64", "rules": "nullable|string|max:64",
"field_type": "text" "field_type": "text"
},
{
"name": "query port",
"description": "Must be between 27015 and 27020!",
"env_variable": "QUERY_PORT",
"default_value": "27016",
"user_viewable": true,
"user_editable": false,
"rules": "required|string",
"field_type": "text"
},
{
"name": "Steam Auth token",
"description": "Acquire a logon token on https:\/\/steamcommunity.com\/dev\/managegameservers (game ownership is required).",
"env_variable": "STEAM_TOKEN",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string|max:64",
"field_type": "text"
},
{
"name": "Lobby name",
"description": "",
"env_variable": "LOBBY_NAME",
"default_value": "Euro Truck Simulator 2 server",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:64",
"field_type": "text"
} }
] ]
} }