Backup options added and descriptions synced

This commit is contained in:
Attackwave 2022-12-27 11:41:10 +01:00 committed by GitHub
parent 686b850714
commit 5de7b0610a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@
"version": "PTDL_v2", "version": "PTDL_v2",
"update_url": null "update_url": null
}, },
"exported_at": "2022-09-29T21:43:06+00:00", "exported_at": "2022-12-27T11:24:35+01:00",
"name": "Valheim", "name": "Valheim",
"author": "magi1053@outlook.com", "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.", "description": "A brutal exploration and survival game for 1-10 players, set in a procedurally-generated purgatory inspired by viking culture.",
@ -15,7 +15,7 @@
"ghcr.io\/parkervcp\/games:valheim": "ghcr.io\/parkervcp\/games:valheim" "ghcr.io\/parkervcp\/games:valheim": "ghcr.io\/parkervcp\/games:valheim"
}, },
"file_denylist": [], "file_denylist": [],
"startup": ".\/valheim_server.x86_64 -nographics -batchmode -name \"{{SERVER_NAME}}\" -port {{SERVER_PORT}} -world \"{{WORLD}}\" -password \"{{PASSWORD}}\" -public {{PUBLIC_SERVER}} -saveinterval {{BACKUP_INTERVAL}} -backups {{BACKUP_COUNT}} -backupshort {{BACKUP_SHORTTIME}} -backuplong {{BACKUP_LONGTIME}} $( [[ ${ENABLE_CROSSPLAY} -eq 1 ]] && echo \" -crossplay \") > >(sed -uE \"{{FILTER}}\") & trap \"{{STOP}}\" 15; wait $!", "startup": ".\/valheim_server.x86_64 -nographics -batchmode -name \"{{SERVER_NAME}}\" -port {{SERVER_PORT}} -world \"{{WORLD}}\" -password \"{{PASSWORD}}\" -public {{PUBLIC_SERVER}} -saveinterval {{BACKUP_INTERVAL}} -backups {{BACKUP_COUNT}} -backupshort {{BACKUP_SHORTTIME}} -backuplong {{BACKUP_LONGTIME}} $( [[ {{ENABLE_CROSSPLAY}} -eq 1 ]] && echo \" -crossplay \") > >(sed -uE \"{{CONSOLE_FILTER}}\") & trap \"{{STOP}}\" 15; wait $!",
"config": { "config": {
"files": "{}", "files": "{}",
"startup": "{\r\n \"done\": \"DungeonDB Start\"\r\n}", "startup": "{\r\n \"done\": \"DungeonDB Start\"\r\n}",
@ -90,16 +90,6 @@
"rules": "required|string", "rules": "required|string",
"field_type": "text" "field_type": "text"
}, },
{
"name": "Console Filter",
"description": "Remove spam from the console output.",
"env_variable": "FILTER",
"default_value": "\/^\\(Filename:.*Line:[[:space:]]+[[:digit:]]+\\)$\/d; \/^([[:space:]]+)?$\/d",
"user_viewable": false,
"user_editable": false,
"rules": "string",
"field_type": "text"
},
{ {
"name": "Shutdown Command", "name": "Shutdown Command",
"description": "Commands to trigger a server shutdown.", "description": "Commands to trigger a server shutdown.",
@ -117,7 +107,7 @@
"default_value": "1", "default_value": "1",
"user_viewable": true, "user_viewable": true,
"user_editable": true, "user_editable": true,
"rules": "boolean", "rules": "required|boolean",
"field_type": "text" "field_type": "text"
}, },
{ {
@ -127,12 +117,12 @@
"default_value": "1", "default_value": "1",
"user_viewable": true, "user_viewable": true,
"user_editable": true, "user_editable": true,
"rules": "boolean", "rules": "required|boolean",
"field_type": "text" "field_type": "text"
}, },
{ {
"name": "Backup Interval", "name": "Backup Interval",
"description": "Change how often the world will save in seconds.", "description": "Change how often the world will save in seconds. Default: 1800 (30 minutes).",
"env_variable": "BACKUP_INTERVAL", "env_variable": "BACKUP_INTERVAL",
"default_value": "1800", "default_value": "1800",
"user_viewable": true, "user_viewable": true,
@ -142,7 +132,7 @@
}, },
{ {
"name": "Backup Count", "name": "Backup Count",
"description": "Sets how many automatic backups will be kept. The first is the 'short' backup length, and the rest are the 'long' backup length. When default values are used means one backup that is 2 hours old, and 3 backups that are 12 hours apart.", "description": "Sets how many automatic backups will be kept. The first is the 'short' backup length, and the rest are the 'long' backup length. When default values are used means one backup that is 2 hours old, and 3 backups that are 12 hours apart. Default: 4.",
"env_variable": "BACKUP_COUNT", "env_variable": "BACKUP_COUNT",
"default_value": "4", "default_value": "4",
"user_viewable": true, "user_viewable": true,
@ -152,7 +142,7 @@
}, },
{ {
"name": "Backup Shorttime", "name": "Backup Shorttime",
"description": "Sets the interval between the first automatic backups.", "description": "Sets the interval between the first automatic backups in seconds. Default: 7200 (2 hours).",
"env_variable": "BACKUP_SHORTTIME", "env_variable": "BACKUP_SHORTTIME",
"default_value": "7200", "default_value": "7200",
"user_viewable": true, "user_viewable": true,
@ -162,7 +152,7 @@
}, },
{ {
"name": "Backup Longtime", "name": "Backup Longtime",
"description": "Sets the interval between the subsequent automatic backups.", "description": "Sets the interval between the subsequent automatic backups in seconds. Default: 43200 (12 hours).",
"env_variable": "BACKUP_LONGTIME", "env_variable": "BACKUP_LONGTIME",
"default_value": "43200", "default_value": "43200",
"user_viewable": true, "user_viewable": true,
@ -172,7 +162,7 @@
}, },
{ {
"name": "Beta Branch", "name": "Beta Branch",
"description": "", "description": "Beta branch of a steam app. Leave blank to install normal branch.",
"env_variable": "SRCDS_BETAID", "env_variable": "SRCDS_BETAID",
"default_value": "", "default_value": "",
"user_viewable": true, "user_viewable": true,
@ -181,14 +171,24 @@
"field_type": "text" "field_type": "text"
}, },
{ {
"name": "Betapassword", "name": "Beta Password",
"description": "", "description": "Password for a beta branch should one be required during private or closed testing phases. Leave blank for no password.",
"env_variable": "SRCDS_BETAPASS", "env_variable": "SRCDS_BETAPASS",
"default_value": "", "default_value": "",
"user_viewable": true, "user_viewable": true,
"user_editable": true, "user_editable": true,
"rules": "max:30", "rules": "max:30",
"field_type": "text" "field_type": "text"
},
{
"name": "Console Filter",
"description": "Remove unwanted outputs from the console.",
"env_variable": "CONSOLE_FILTER",
"default_value": "\/^\\(Filename:.*Line:[[:space:]]+[[:digit:]]+\\)$\/d; \/^([[:space:]]+)?$\/d",
"user_viewable": false,
"user_editable": false,
"rules": "string",
"field_type": "text"
} }
] ]
} }