Update Valheim to use game specific image and support crossplay
This commit is contained in:
		| @@ -1,21 +1,21 @@ | ||||
| { | ||||
|     "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", | ||||
|     "meta": { | ||||
|         "version": "PTDL_v1", | ||||
|         "version": "PTDL_v2", | ||||
|         "update_url": null | ||||
|     }, | ||||
|     "exported_at": "2022-02-18T11:17:53+01:00", | ||||
|     "exported_at": "2022-09-29T21:43:06+00:00", | ||||
|     "name": "Valheim", | ||||
|     "author": "magi1053@outlook.com", | ||||
|     "description": "A brutal exploration and survival game for 1-10 players, set in a procedurally-generated purgatory inspired by viking culture.", | ||||
|     "features": [ | ||||
|         "steam_disk_space" | ||||
|     ], | ||||
|     "images": [ | ||||
|         "ghcr.io\/parkervcp\/games:source" | ||||
|     ], | ||||
|     "docker_images": { | ||||
|         "ghcr.io\/parkervcp\/games:valheim": "ghcr.io\/parkervcp\/games:valheim" | ||||
|     }, | ||||
|     "file_denylist": [], | ||||
|     "startup": ".\/valheim_server.x86_64 -nographics -batchmode -name \"{{SERVER_NAME}}\" -port {{SERVER_PORT}} -world \"{{WORLD}}\" -password \"{{PASSWORD}}\" > >(sed -uE \"{{FILTER}}\") & trap \"{{STOP}}\" 15; wait $!", | ||||
|     "startup": ".\/valheim_server.x86_64 -nographics -batchmode -name \"{{SERVER_NAME}}\" -port {{SERVER_PORT}} -world \"{{WORLD}}\" -password \"{{PASSWORD}}\" $( [[ ${ENABLE_CROSSPLAY} -eq 1 ]] && echo \" -crossplay \") > >(sed -uE \"{{FILTER}}\") & trap \"{{STOP}}\" 15; wait $!", | ||||
|     "config": { | ||||
|         "files": "{}", | ||||
|         "startup": "{\r\n    \"done\": \"DungeonDB Start\"\r\n}", | ||||
| @@ -37,7 +37,8 @@ | ||||
|             "default_value": "My Server", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|string|max:60" | ||||
|             "rules": "required|string|max:60", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Server Password", | ||||
| @@ -46,7 +47,8 @@ | ||||
|             "default_value": "secret", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|string|min:5|max:20" | ||||
|             "rules": "required|string|min:5|max:20", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "name": "World Name", | ||||
| @@ -55,7 +57,8 @@ | ||||
|             "default_value": "Dedicated", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|string|max:20" | ||||
|             "rules": "required|string|max:20", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "name": "App ID", | ||||
| @@ -64,7 +67,8 @@ | ||||
|             "default_value": "896660", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": false, | ||||
|             "rules": "nullable|numeric" | ||||
|             "rules": "nullable|numeric", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "name": "LD Library Path", | ||||
| @@ -73,7 +77,8 @@ | ||||
|             "default_value": ".\/linux64", | ||||
|             "user_viewable": false, | ||||
|             "user_editable": false, | ||||
|             "rules": "required|string" | ||||
|             "rules": "required|string", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Console Filter", | ||||
| @@ -82,7 +87,8 @@ | ||||
|             "default_value": "\/^\\(Filename:.*Line:[[:space:]]+[[:digit:]]+\\)$\/d; \/^([[:space:]]+)?$\/d", | ||||
|             "user_viewable": false, | ||||
|             "user_editable": false, | ||||
|             "rules": "string" | ||||
|             "rules": "string", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Shutdown Command", | ||||
| @@ -91,16 +97,28 @@ | ||||
|             "default_value": "kill -2 $!; wait;", | ||||
|             "user_viewable": false, | ||||
|             "user_editable": false, | ||||
|             "rules": "required|string" | ||||
|             "rules": "required|string", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Auto Update", | ||||
|             "description": "", | ||||
|             "description": "Enable automatic updates.", | ||||
|             "env_variable": "AUTO_UPDATE", | ||||
|             "default_value": "1", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "boolean" | ||||
|             "rules": "boolean", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Enable Crossplay", | ||||
|             "description": "Enable crossplay support", | ||||
|             "env_variable": "ENABLE_CROSSPLAY", | ||||
|             "default_value": "1", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "boolean", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Beta Branch", | ||||
| @@ -109,7 +127,8 @@ | ||||
|             "default_value": "", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "max:30" | ||||
|             "rules": "max:30", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Betapassword", | ||||
| @@ -118,7 +137,8 @@ | ||||
|             "default_value": "", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "max:30" | ||||
|             "rules": "max:30", | ||||
|             "field_type": "text" | ||||
|         } | ||||
|     ] | ||||
| } | ||||
		Reference in New Issue
	
	Block a user