Files
Pterodactyl/Dev/Eggs/Valheim.json
monoadmin 8bdaef7a68 New Eggs
2026-02-07 01:08:03 -08:00

51 lines
1.6 KiB
JSON

{
"_comment": "Valheim Dedicated Server",
"meta": {
"version": "PTDL_v2",
"update_url": null
},
"exported_at": "2026-02-01T00:00:00+00:00",
"name": "Valheim",
"author": "you@example.com",
"description": "Valheim Dedicated Server via SteamCMD",
"features": null,
"docker_images": {
"SteamCMD": "ghcr.io/pterodactyl/yolks:steamcmd"
},
"file_denylist": [],
"startup": "./valheim_server.x86_64 -name \"{{SERVER_NAME}}\" -port {{SERVER_PORT}} -world \"{{WORLD_NAME}}\" -password \"{{SERVER_PASS}}\" -public 1",
"config": {
"files": {},
"startup": {},
"logs": {},
"stop": "SIGINT"
},
"scripts": {
"installation": {
"script": "#!/bin/bash\ncd /mnt/server\n\nif [ ! -d steamcmd ]; then\n mkdir steamcmd\nfi\n\n./steamcmd/steamcmd.sh +login anonymous +force_install_dir /mnt/server +app_update 896660 validate +quit\n",
"container": "ghcr.io/pterodactyl/installers:steamcmd",
"entrypoint": "bash"
}
},
"variables": [
{
"name": "World Name",
"description": "Name of the Valheim world",
"env_variable": "WORLD_NAME",
"default_value": "Dedicated",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:32"
},
{
"name": "Server Password",
"description": "Password (minimum 5 characters)",
"env_variable": "SERVER_PASS",
"default_value": "changeme",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|min:5|max:32"
}
]
}