mirror of
https://github.com/parkervcp/eggs.git
synced 2025-01-24 09:02:54 +08:00
Merge pull request #974 from Magi1053/valheim
Fix Valheim stop command following server update
This commit is contained in:
commit
4ebcd33851
@ -4,13 +4,13 @@
|
||||
"version": "PTDL_v1",
|
||||
"update_url": null
|
||||
},
|
||||
"exported_at": "2021-02-07T19:36:46-06:00",
|
||||
"exported_at": "2021-02-10T11:36:40-06: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": null,
|
||||
"image": "quay.io\/parkervcp\/pterodactyl-images:debian_source",
|
||||
"startup": ".\/valheim_server.x86_64 -nographics -batchmode -name \"{{SERVER_NAME}}\" -port {{SERVER_PORT}} -world \"{{WORLD}}\" -password \"{{PASSWORD}}\" -public 1 | sed -uE \"{{FILTER}}\" & trap \"echo 1 > server_exit.drp && wait\" 15; wait $!",
|
||||
"startup": ".\/valheim_server.x86_64 -nographics -batchmode -name \"{{SERVER_NAME}}\" -port {{SERVER_PORT}} -world \"{{WORLD}}\" -password \"{{PASSWORD}}\" > >(sed -uE \"{{FILTER}}\") & trap \"{{STOP}}\" 15; wait $!",
|
||||
"config": {
|
||||
"files": "{}",
|
||||
"startup": "{\r\n \"done\": \"DungeonDB Start\"\r\n}",
|
||||
@ -32,7 +32,7 @@
|
||||
"default_value": "My Server",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "required|string|max:20"
|
||||
"rules": "required|string|max:60"
|
||||
},
|
||||
{
|
||||
"name": "Server Password",
|
||||
@ -47,7 +47,7 @@
|
||||
"name": "World Name",
|
||||
"description": "Name to load if switching between multiple saved worlds.",
|
||||
"env_variable": "WORLD",
|
||||
"default_value": "world",
|
||||
"default_value": "Dedicated",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "required|string|max:20"
|
||||
@ -78,6 +78,15 @@
|
||||
"user_viewable": false,
|
||||
"user_editable": false,
|
||||
"rules": "string"
|
||||
},
|
||||
{
|
||||
"name": "Shutdown Command",
|
||||
"description": "Commands to trigger a server shutdown.",
|
||||
"env_variable": "STOP",
|
||||
"default_value": "kill -2 $!; wait;",
|
||||
"user_viewable": false,
|
||||
"user_editable": false,
|
||||
"rules": "required|string"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user