From 3088a2a8be5b67ea07332a7af0be8e2030da125b Mon Sep 17 00:00:00 2001 From: Thijs van Loef Date: Sun, 10 Mar 2024 15:22:42 +0100 Subject: [PATCH] fix discord backup variable names --- Dockerfile | 12 ++++++------ README.md | 12 ++++++------ .../getting-started/configuration/server-settings.md | 12 ++++++------ 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4871a540c..337358a56 100644 --- a/Dockerfile +++ b/Dockerfile @@ -131,14 +131,14 @@ ENV HOME=/home/steam \ DISCORD_POST_BACKUP_MESSAGE_URL= \ DISCORD_POST_BACKUP_MESSAGE_ENABLED=true \ DISCORD_PRE_BACKUP_DELETE_MESSAGE="Removing backups older than old_backup_days days" \ - DISCORD_PRE_BACKUP_DELETE_URL= \ - DISCORD_PRE_BACKUP_DELETE_ENABLED=true \ + DISCORD_PRE_BACKUP_DELETE_MESSAGE_URL= \ + DISCORD_PRE_BACKUP_DELETE_MESSAGE_ENABLED=true \ DISCORD_POST_BACKUP_DELETE_MESSAGE="Removed backups older than old_backup_days days" \ - DISCORD_POST_BACKUP_DELETE_URL= \ - DISCORD_POST_BACKUP_DELETE_ENABLED=true \ + DISCORD_POST_BACKUP_DELETE_MESSAGE_URL= \ + DISCORD_POST_BACKUP_DELETE_MESSAGE_ENABLED=true \ DISCORD_ERR_BACKUP_DELETE_MESSAGE="Unable to delete old backups, OLD_BACKUP_DAYS is not an integer. OLD_BACKUP_DAYS=old_backup_days" \ - DISCORD_ERR_BACKUP_DELETE_URL= \ - DISCORD_ERR_BACKUP_DELETE_ENABLED=true \ + DISCORD_ERR_BACKUP_DELETE_MESSAGE_URL= \ + DISCORD_ERR_BACKUP_DELETE_MESSAGE_ENABLED=true \ ENABLE_PLAYER_LOGGING=true \ PLAYER_LOGGING_POLL_PERIOD=5 \ ARM_COMPATIBILITY_MODE=false \ diff --git a/README.md b/README.md index dc127c9ce..29fd80c92 100644 --- a/README.md +++ b/README.md @@ -263,14 +263,14 @@ It is highly recommended you set the following environment values before startin | DISCORD_POST_BACKUP_MESSAGE_ENABLED | If the Discord message is enabled for this message | true | boolean | | DISCORD_POST_BACKUP_MESSAGE_URL | Discord Webhook URL for this message (if left empty will use DISCORD_WEBHOOK_URL) | | "string" | | DISCORD_PRE_BACKUP_DELETE_MESSAGE | Discord message when starting to remove older backups | Removing backups older than `old_backup_days` days | "string" | -| DISCORD_PRE_BACKUP_DELETE_ENABLED | If the Discord message is enabled for this message | true | boolean | -| DISCORD_PRE_BACKUP_DELETE_URL | Discord Webhook URL for this message (if left empty will use DISCORD_WEBHOOK_URL) | | "string" | +| DISCORD_PRE_BACKUP_DELETE_MESSAGE_ENABLED | If the Discord message is enabled for this message | true | boolean | +| DISCORD_PRE_BACKUP_DELETE_MESSAGE_URL | Discord Webhook URL for this message (if left empty will use DISCORD_WEBHOOK_URL) | | "string" | | DISCORD_POST_BACKUP_DELETE_MESSAGE | Discord message when successfully removed older backups | Removed backups older than `old_backup_days` days | "string" | -| DISCORD_POST_BACKUP_DELETE_ENABLED | If the Discord message is enabled for this message | true | boolean | -| DISCORD_POST_BACKUP_DELETE_URL | Discord Webhook URL for this message (if left empty will use DISCORD_WEBHOOK_URL) | | "string" | +| DISCORD_POST_BACKUP_DELETE_MESSAGE_ENABLED | If the Discord message is enabled for this message | true | boolean | +| DISCORD_POST_BACKUP_DELETE_MESSAGE_URL | Discord Webhook URL for this message (if left empty will use DISCORD_WEBHOOK_URL) | | "string" | | DISCORD_ERR_BACKUP_DELETE_MESSAGE | Discord message when there has been an error removing older backups | Unable to delete old backups, OLD_BACKUP_DAYS is not an integer. OLD_BACKUP_DAYS=`old_backup_days` | "string" | -| DISCORD_ERR_BACKUP_DELETE_ENABLED | If the Discord message is enabled for this message | true | boolean | -| DISCORD_ERR_BACKUP_DELETE_URL | Discord Webhook URL for this message (if left empty will use DISCORD_WEBHOOK_URL) | | "string" | +| DISCORD_ERR_BACKUP_DELETE_MESSAGE_ENABLED | If the Discord message is enabled for this message | true | boolean | +| DISCORD_ERR_BACKUP_DELETE_MESSAGE_URL | Discord Webhook URL for this message (if left empty will use DISCORD_WEBHOOK_URL) | | "string" | | DISABLE_GENERATE_SETTINGS | Whether to automatically generate the PalWorldSettings.ini | false | true/false | | DISABLE_GENERATE_ENGINE | Whether to automatically generate the Engine.ini | true | true/false | | ENABLE_PLAYER_LOGGING | Enables Logging and announcing when players join and leave | true | true/false | diff --git a/docusaurus/docs/getting-started/configuration/server-settings.md b/docusaurus/docs/getting-started/configuration/server-settings.md index d9950628b..1c63ce4b8 100644 --- a/docusaurus/docs/getting-started/configuration/server-settings.md +++ b/docusaurus/docs/getting-started/configuration/server-settings.md @@ -83,14 +83,14 @@ It is highly recommended you set the following environment values before startin | DISCORD_POST_BACKUP_MESSAGE_ENABLED | If the Discord message is enabled for this message | true | boolean | | DISCORD_POST_BACKUP_MESSAGE_URL | Discord Webhook URL for this message (if left empty will use DISCORD_WEBHOOK_URL) | | "string" | | DISCORD_PRE_BACKUP_DELETE_MESSAGE | Discord message when starting to remove older backups | Removing backups older than `old_backup_days` days | "string" | -| DISCORD_PRE_BACKUP_DELETE_ENABLED | If the Discord message is enabled for this message | true | boolean | -| DISCORD_PRE_BACKUP_DELETE_URL | Discord Webhook URL for this message (if left empty will use DISCORD_WEBHOOK_URL) | | "string" | +| DISCORD_PRE_BACKUP_DELETE_MESSAGE_ENABLED | If the Discord message is enabled for this message | true | boolean | +| DISCORD_PRE_BACKUP_DELETE_MESSAGE_URL | Discord Webhook URL for this message (if left empty will use DISCORD_WEBHOOK_URL) | | "string" | | DISCORD_POST_BACKUP_DELETE_MESSAGE | Discord message when successfully removed older backups | Removed backups older than `old_backup_days` days | "string" | -| DISCORD_POST_BACKUP_DELETE_ENABLED | If the Discord message is enabled for this message | true | boolean | -| DISCORD_POST_BACKUP_DELETE_URL | Discord Webhook URL for this message (if left empty will use DISCORD_WEBHOOK_URL) | | "string" | +| DISCORD_POST_BACKUP_DELETE_MESSAGE_ENABLED | If the Discord message is enabled for this message | true | boolean | +| DISCORD_POST_BACKUP_DELETE_MESSAGE_URL | Discord Webhook URL for this message (if left empty will use DISCORD_WEBHOOK_URL) | | "string" | | DISCORD_ERR_BACKUP_DELETE_MESSAGE | Discord message when there has been an error removing older backups | Unable to delete old backups, OLD_BACKUP_DAYS is not an integer. OLD_BACKUP_DAYS=`old_backup_days` | "string" | -| DISCORD_ERR_BACKUP_DELETE_ENABLED | If the Discord message is enabled for this message | true | boolean | -| DISCORD_ERR_BACKUP_DELETE_URL | Discord Webhook URL for this message (if left empty will use DISCORD_WEBHOOK_URL) | | "string" | +| DISCORD_ERR_BACKUP_DELETE_MESSAGE_ENABLED | If the Discord message is enabled for this message | true | boolean | +| DISCORD_ERR_BACKUP_DELETE_MESSAGE_URL | Discord Webhook URL for this message (if left empty will use DISCORD_WEBHOOK_URL) | | "string" | | DISABLE_GENERATE_SETTINGS | Whether to automatically generate the PalWorldSettings.ini | false | true/false | | DISABLE_GENERATE_ENGINE | Whether to automatically generate the Engine.ini | true | true/false | | ENABLE_PLAYER_LOGGING | Enables Logging and announcing when players join and leave | true | true/false |