From 6675cb266f820abf52ee024e2a05f072d3fbcc87 Mon Sep 17 00:00:00 2001 From: TrueCharts-Bot Date: Thu, 1 Feb 2024 16:28:40 +0000 Subject: [PATCH] Commit new Chart releases for TrueCharts Signed-off-by: TrueCharts-Bot --- incubator/palworld/0.1.1/app-changelog.md | 3 - incubator/palworld/0.1.1/ix_values.yaml | 201 ------ .../palworld/{0.1.1 => 0.1.2}/CHANGELOG.md | 3 + .../palworld/{0.1.1 => 0.1.2}/Chart.yaml | 2 +- incubator/palworld/{0.1.1 => 0.1.2}/README.md | 0 incubator/palworld/0.1.2/app-changelog.md | 3 + .../palworld/{0.1.1 => 0.1.2}/app-readme.md | 0 .../charts/common-17.2.26.tgz | Bin incubator/palworld/0.1.2/ix_values.yaml | 297 ++++++++ .../palworld/{0.1.1 => 0.1.2}/questions.yaml | 649 ++++++++---------- .../{0.1.1 => 0.1.2}/templates/NOTES.txt | 0 .../{0.1.1 => 0.1.2}/templates/common.yaml | 0 .../palworld/{0.1.1 => 0.1.2}/values.yaml | 0 13 files changed, 573 insertions(+), 585 deletions(-) delete mode 100644 incubator/palworld/0.1.1/app-changelog.md delete mode 100644 incubator/palworld/0.1.1/ix_values.yaml rename incubator/palworld/{0.1.1 => 0.1.2}/CHANGELOG.md (73%) rename incubator/palworld/{0.1.1 => 0.1.2}/Chart.yaml (98%) rename incubator/palworld/{0.1.1 => 0.1.2}/README.md (100%) create mode 100644 incubator/palworld/0.1.2/app-changelog.md rename incubator/palworld/{0.1.1 => 0.1.2}/app-readme.md (100%) rename incubator/palworld/{0.1.1 => 0.1.2}/charts/common-17.2.26.tgz (100%) create mode 100644 incubator/palworld/0.1.2/ix_values.yaml rename incubator/palworld/{0.1.1 => 0.1.2}/questions.yaml (91%) rename incubator/palworld/{0.1.1 => 0.1.2}/templates/NOTES.txt (100%) rename incubator/palworld/{0.1.1 => 0.1.2}/templates/common.yaml (100%) rename incubator/palworld/{0.1.1 => 0.1.2}/values.yaml (100%) diff --git a/incubator/palworld/0.1.1/app-changelog.md b/incubator/palworld/0.1.1/app-changelog.md deleted file mode 100644 index 3e54385812b..00000000000 --- a/incubator/palworld/0.1.1/app-changelog.md +++ /dev/null @@ -1,3 +0,0 @@ - - -## [palworld-0.1.1](https://github.com/truecharts/charts/compare/palworld-0.1.0...palworld-0.1.1) (2024-01-29) \ No newline at end of file diff --git a/incubator/palworld/0.1.1/ix_values.yaml b/incubator/palworld/0.1.1/ix_values.yaml deleted file mode 100644 index b3a6cf19e35..00000000000 --- a/incubator/palworld/0.1.1/ix_values.yaml +++ /dev/null @@ -1,201 +0,0 @@ -image: - repository: ghcr.io/ich777/steamcmd - pullPolicy: IfNotPresent - tag: palworld@sha256:c7ed87dfb13890f340d663ca0a97acb6a8b83a40ab81a9c94c8675cee03af325 - -securityContext: - container: - readOnlyRootFilesystem: false - runAsUser: 0 - runAsGroup: 0 - -service: - main: - ports: - main: - protocol: udp - port: 8211 - rcon: - enabled: true - ports: - rcon: - enabled: true - protocol: tcp - port: 25575 - -palworld: - steam: - id: "2394010" - username: "" - password: "" - validate: false - game: - name: "TrueCharts Palworld Server" - description: "A Palworld Server running in Kubernetes" - use_auth: true - admin_password: "" - password: "" - difficulty: "None" - death_penalty: "ALL" - max_players: 32 - max_players_coop: 4 - max_players_guild: 20 - drop_item_max: 3000 - drop_item_max_unko: 100 - base_camp_max: 128 - base_camp_worker_max: 15 - enable_pvp_damage: false - enable_friendly_fire: false - enable_invader_enemy: true - enable_defense_other_guild_player: true - enable_non_login_penalty: true - enable_aim_assist_pad: false - enable_aim_assist_kb: false - enable_fast_travel: true - is_multiplay: false - is_pvp: false - is_start_location_select_by_map: true - active_unko: false - guild_auto_reset_no_online_players: false - auto_reset_guild_time_no_online_players: "72.000000" - can_pickup_other_guild_death_penalty_drop: false - exist_players_after_logout: true - update_public_ip: false - ban_list_url: "https://api.palworldgame.com/api/banlist.txt" - params: - - EpicApp=PalServer - params_extra: - - -useperfthreads - - -NoAsyncLoadingThread - - -UseMultithreadForDS - backup: - enabled: true - interval: 120 - to_keep: 12 - -workload: - main: - podSpec: - initContainers: - update-config-ini: - enabled: true - type: init - imageSelector: "image" - command: - - /bin/sh - - -c - args: - - | - config={{ .Values.persistence.serverfiles.targetSelector.main.main.mountPath }}/Pal/Saved/Config/LinuxServer - cfgFile=${config}/PalWorldSettings.ini - - mkdir -p ${config} - if [ ! -f ${cfgFile} ]; then - echo "Config file not found, fetching..." - # Fetch the config file if it doesn't exist, just like the container does - wget -qO ${cfgFile} https://github.com/ich777/docker-steamcmd-server/raw/palworld/config/PalWorldSettings.ini - fi - - set_ini_value() { - local key="${1}" - local value="${2}" - - # Check if the value contains spaces or special characters - if echo "$value" | grep -q '[[:space:]]\|[^\w.-]'; then - # Add quotes around the value - value="\"$value\"" - fi - - echo "Setting ${key}..." - sed -i "s|\(${key}=\)[^,]*|\1${value}|g" "${cfgFile}" - echo "Set to $(grep -Po "(?<=${key}=)[^,]*" "${cfgFile}")" - } - - set_ini_value "RCONEnabled" "True" - set_ini_value "RCONPort" "{{ .Values.service.rcon.ports.rcon.port }}" - set_ini_value "PublicPort" "{{ .Values.service.main.ports.main.port }}" - - set_ini_value "ServerName" "{{ .Values.palworld.game.name }}" - set_ini_value "ServerDescription" "{{ .Values.palworld.game.description }}" - set_ini_value "Difficulty" "{{ .Values.palworld.game.difficulty }}" - set_ini_value "DeathPenalty" "{{ .Values.palworld.game.death_penalty }}" - - set_ini_value "ServerPlayerMaxNum" "{{ .Values.palworld.game.max_players }}" - set_ini_value "CoopPlayerMaxNum" "{{ .Values.palworld.game.max_players_coop }}" - set_ini_value "GuildPlayerMaxNum" "{{ .Values.palworld.game.max_players_guild }}" - - set_ini_value "DropItemMaxNum" "{{ .Values.palworld.game.max_players_guild }}" - set_ini_value "DropItemMaxNum_UNKO" "{{ .Values.palworld.game.drop_item_max_unko }}" - set_ini_value "BaseCampMaxNum" "{{ .Values.palworld.game.base_camp_max }}" - set_ini_value "BaseCampWorkerMaxNum" "{{ .Values.palworld.game.base_camp_worker_max }}" - - set_ini_value "bUseAuth" "{{ .Values.palworld.game.use_auth }}" - set_ini_value "bEnablePlayerToPlayerDamage" "{{ .Values.palworld.game.enable_pvp_damage }}" - set_ini_value "bEnableFriendlyFire" "{{ .Values.palworld.game.enable_friendly_fire }}" - set_ini_value "bEnableInvaderEnemy" "{{ .Values.palworld.game.enable_invader_enemy }}" - set_ini_value "bEnableAimAssistPad" "{{ .Values.palworld.game.enable_aim_assist_pad }}" - set_ini_value "bEnableAimAssistKeyboard" "{{ .Values.palworld.game.enable_aim_assist_kb }}" - set_ini_value "bEnableNonLoginPenalty" "{{ .Values.palworld.game.enable_non_login_penalty }}" - set_ini_value "bEnableFastTravel" "{{ .Values.palworld.game.enable_fast_travel }}" - set_ini_value "bEnableDefenseOtherGuildPlayer" "{{ .Values.palworld.game.enable_defense_other_guild_player }}" - set_ini_value "bIsMultiplay" "{{ .Values.palworld.game.is_multiplay }}" - set_ini_value "bIsStartLocationSelectByMap" "{{ .Values.palworld.game.is_start_location_select_by_map }}" - set_ini_value "bIsPvP" "{{ .Values.palworld.game.is_pvp }}" - set_ini_value "bExistPlayerAfterLogout" "{{ .Values.palworld.game.exist_players_after_logout }}" - set_ini_value "bActiveUNKO" "{{ .Values.palworld.game.active_unko }}" - set_ini_value "bAutoResetGuildNoOnlinePlayers" "{{ .Values.palworld.game.guild_auto_reset_no_online_players }}" - set_ini_value "AutoResetGuildTimeNoOnlinePlayers" "{{ .Values.palworld.game.auto_reset_guild_time_no_online_players }}" - set_ini_value "bCanPickupOtherGuildDeathPenaltyDrop" "{{ .Values.palworld.game.can_pickup_other_guild_death_penalty_drop }}" - set_ini_value "ServerPassword" "{{ .Values.palworld.game.password }}" - set_ini_value "AdminPassword" "{{ .Values.palworld.game.admin_password }}" - set_ini_value "BanListURL" "{{ .Values.palworld.game.ban_list_url }}" - - echo "Done!" - - containers: - main: - probes: - liveness: - type: tcp - port: "{{ .Values.service.rcon.ports.rcon.port }}" - readiness: - type: tcp - port: "{{ .Values.service.rcon.ports.rcon.port }}" - startup: - type: tcp - port: "{{ .Values.service.rcon.ports.rcon.port }}" - env: - # paths - STEAMCMD_DIR: "{{ .Values.persistence.steamcmd.mountPath }}" - SERVER_DIR: "{{ .Values.persistence.serverfiles.targetSelector.main.main.mountPath }}" - # steam - GAME_ID: "{{ .Values.palworld.steam.id }}" - USERNAME: "{{ .Values.palworld.steam.username }}" - PASSWRD: "{{ .Values.palworld.steam.password }}" - VALIDATE: "{{ .Values.palworld.steam.validate }}" - # game - SRV_ADMIN_PWD: "{{ .Values.palworld.game.admin_password }}" - UPDATE_PUBLIC_IP: "{{ .Values.palworld.game.update_public_ip }}" - GAME_PARAMS: '{{ join " " .Values.palworld.game.params }}' - GAME_PARAMS_EXTRA: '{{ join " " .Values.palworld.game.params_extra }}' - # backup - BACKUP: "{{ .Values.palworld.backup.enabled }}" - BACKUP_INTERVAL: "{{ .Values.palworld.backup.interval }}" - BACKUP_TO_KEEP: "{{ .Values.palworld.backup.to_keep }}" - -persistence: - steamcmd: - enabled: true - mountPath: /serverdata/steamcmd - serverfiles: - enabled: true - targetSelector: - main: - main: - mountPath: /serverdata/serverfiles - update-config-ini: - mountPath: /serverdata/serverfiles - -portal: - open: - enabled: false diff --git a/incubator/palworld/0.1.1/CHANGELOG.md b/incubator/palworld/0.1.2/CHANGELOG.md similarity index 73% rename from incubator/palworld/0.1.1/CHANGELOG.md rename to incubator/palworld/0.1.2/CHANGELOG.md index eec085fb1cf..ae8b23984f1 100644 --- a/incubator/palworld/0.1.1/CHANGELOG.md +++ b/incubator/palworld/0.1.2/CHANGELOG.md @@ -7,6 +7,9 @@ title: Changelog +## [palworld-0.1.2](https://github.com/truecharts/charts/compare/palworld-0.1.1...palworld-0.1.2) (2024-02-01) + + ## [palworld-0.1.1](https://github.com/truecharts/charts/compare/palworld-0.1.0...palworld-0.1.1) (2024-01-29) diff --git a/incubator/palworld/0.1.1/Chart.yaml b/incubator/palworld/0.1.2/Chart.yaml similarity index 98% rename from incubator/palworld/0.1.1/Chart.yaml rename to incubator/palworld/0.1.2/Chart.yaml index 132758dd7d4..c13c368da96 100644 --- a/incubator/palworld/0.1.1/Chart.yaml +++ b/incubator/palworld/0.1.2/Chart.yaml @@ -34,4 +34,4 @@ sources: - https://github.com/truecharts/charts/tree/master/charts/incubator/palworld - https://ghcr.io/ich777/steamcmd type: application -version: 0.1.1 +version: 0.1.2 diff --git a/incubator/palworld/0.1.1/README.md b/incubator/palworld/0.1.2/README.md similarity index 100% rename from incubator/palworld/0.1.1/README.md rename to incubator/palworld/0.1.2/README.md diff --git a/incubator/palworld/0.1.2/app-changelog.md b/incubator/palworld/0.1.2/app-changelog.md new file mode 100644 index 00000000000..9f9e9c7c330 --- /dev/null +++ b/incubator/palworld/0.1.2/app-changelog.md @@ -0,0 +1,3 @@ + + +## [palworld-0.1.2](https://github.com/truecharts/charts/compare/palworld-0.1.1...palworld-0.1.2) (2024-02-01) \ No newline at end of file diff --git a/incubator/palworld/0.1.1/app-readme.md b/incubator/palworld/0.1.2/app-readme.md similarity index 100% rename from incubator/palworld/0.1.1/app-readme.md rename to incubator/palworld/0.1.2/app-readme.md diff --git a/incubator/palworld/0.1.1/charts/common-17.2.26.tgz b/incubator/palworld/0.1.2/charts/common-17.2.26.tgz similarity index 100% rename from incubator/palworld/0.1.1/charts/common-17.2.26.tgz rename to incubator/palworld/0.1.2/charts/common-17.2.26.tgz diff --git a/incubator/palworld/0.1.2/ix_values.yaml b/incubator/palworld/0.1.2/ix_values.yaml new file mode 100644 index 00000000000..c627d94774a --- /dev/null +++ b/incubator/palworld/0.1.2/ix_values.yaml @@ -0,0 +1,297 @@ +image: + repository: ghcr.io/ich777/steamcmd + pullPolicy: IfNotPresent + tag: palworld@sha256:c7ed87dfb13890f340d663ca0a97acb6a8b83a40ab81a9c94c8675cee03af325 +rconImage: + repository: outdead/rcon + pullPolicy: IfNotPresent + tag: latest@sha256:8bf03935771ae6b44449eb8e74e1f4d249ead591e9c1e4e43539d33be1a3ac67 + +securityContext: + container: + readOnlyRootFilesystem: false + runAsUser: 0 + runAsGroup: 0 + +service: + main: + ports: + main: + protocol: udp + port: 8211 + rcon: + enabled: true + ports: + rcon: + enabled: true + protocol: tcp + port: 25575 + +palworld: + steam: + id: "2394010" + username: "" + password: "" + validate: false + game: + name: "TrueCharts Palworld Server" + description: "A Palworld Server running in Kubernetes" + use_auth: true + password: "" + admin_password: "" + auto_reset_guild_time_no_online_players: "72.000000" + ban_list_url: "https://api.palworldgame.com/api/banlist.txt" + base_camp_max: 128 + base_camp_worker_max: 15 + build_object_damage_rate: "1.000000" + build_object_deterioration_damage_rate: "1.000000" + can_pickup_other_guild_death_penalty_drop: false + collection_drop_rate: "1.000000" + collection_object_hp_rate: "1.000000" + collection_object_respawn_speed_rate: "1.000000" + day_time_speed_rate: "1.000000" + death_penalty: "ALL" + difficulty: "None" + drop_item_alive_max_hours: "1.000000" + drop_item_max: 3000 + drop_item_max_unko: 100 + enable_aim_assist_kb: false + enable_aim_assist_pad: false + enable_defense_other_guild_player: true + enable_fast_travel: true + enable_friendly_fire: false + enable_invader_enemy: true + active_unko: false + enable_non_login_penalty: true + enable_pvp_damage: false + exist_players_after_logout: true + enemy_drop_item_rate: "1.000000" + exp_rate: "1.000000" + guild_auto_reset_no_online_players: false + is_multiplay: false + is_pvp: false + is_start_location_select_by_map: true + max_players: 32 + max_players_coop: 4 + max_players_guild: 20 + night_time_speed_rate: "1.000000" + pal_auto_hp_regene_rate: "1.000000" + pal_auto_hp_regene_rate_in_sleep: "1.000000" + pal_capture_rate: "1.000000" + pal_damage_rate_attack: "1.000000" + pal_damage_rate_defense: "1.000000" + pal_egg_default_hatching_time: "72.000000" + pal_spawn_num_rate: "1.000000" + pal_stamina_decreace_rate: "1.000000" + pal_stomach_decreace_rate: "1.000000" + player_auto_hp_regene_rate: "1.000000" + player_auto_hp_regene_rate_in_sleep: "1.000000" + player_damage_rate_attack: "1.000000" + player_damage_rate_defense: "1.000000" + player_stamina_decreace_rate: "1.000000" + player_stomach_decreace_rate: "1.000000" + region: "" + work_speed_rate: "1.000000" + update_public_ip: false + params: + - EpicApp=PalServer + params_extra: + - -useperfthreads + - -NoAsyncLoadingThread + - -UseMultithreadForDS + backup: + enabled: true + interval: 120 + to_keep: 12 + +workload: + main: + podSpec: + initContainers: + update-config-ini: + enabled: true + type: init + imageSelector: "image" + command: + - /bin/sh + - -c + args: + - | + config={{ .Values.persistence.serverfiles.targetSelector.main.main.mountPath }}/Pal/Saved/Config/LinuxServer + cfgFile=${config}/PalWorldSettings.ini + dfCfgFile={{ .Values.persistence.serverfiles.targetSelector.main.main.mountPath }}/DefaultPalWorldSettings.ini + + mkdir -p ${config} + if [ ! -f "${cfgFile}" ]; then + if [ -f "${dfCfgFile}" ]; then + echo "Default config file found, copying as cfgFile..." + cp "${dfCfgFile}" "${cfgFile}" + else + echo "Config file not found, fetching..." + # Fetch the config file if it doesn't exist, just like the container does + wget -qO "${cfgFile}" https://github.com/ich777/docker-steamcmd-server/raw/palworld/config/PalWorldSettings.ini + fi + fi + + set_ini_value() { + local key="${1}" + local value="${2}" + local quote_flag="${3:-}" + + # Check if the key exists + if ! grep -q "${key}=" "${cfgFile}"; then + echo "Key '${key}' does not exist in '${cfgFile}'. Skipping..." + return + fi + + if [ "$quote_flag" = "-q" ]; then + # Add quotes around the value + value="\"$value\"" + fi + + echo "Setting ${key}..." + sed -i "s|\(${key}=\)[^,]*|\1${value}|g" "${cfgFile}" + echo "Set to $(grep -Po "(?<=${key}=)[^,]*" "${cfgFile}")" + } + + echo "the following options are updating...." + + set_ini_value "RCONEnabled" "True" -q + set_ini_value "RCONPort" "{{ .Values.service.rcon.ports.rcon.port }}" -q + set_ini_value "PublicPort" "{{ .Values.service.main.ports.main.port }}" -q + + set_ini_value "ServerPassword" "{{ .Values.palworld.game.password }}" -q + set_ini_value "AdminPassword" "{{ .Values.palworld.game.admin_password }}" -q + + set_ini_value "ServerName" "{{ .Values.palworld.game.name }}" -q + set_ini_value "ServerDescription" "{{ .Values.palworld.game.description }}" -q + set_ini_value "Difficulty" "{{ .Values.palworld.game.difficulty }}" -q + set_ini_value "DeathPenalty" "{{ .Values.palworld.game.death_penalty }}" -q + set_ini_value "Region" "{{ .Values.palworld.game.region }}" -q + + set_ini_value "AutoResetGuildTimeNoOnlinePlayers" "{{ .Values.palworld.game.auto_reset_guild_time_no_online_players }}" + set_ini_value "BaseCampMaxNum" "{{ .Values.palworld.game.base_camp_max }}" + set_ini_value "BaseCampWorkerMaxNum" "{{ .Values.palworld.game.base_camp_worker_max }}" + set_ini_value "BanListURL" "{{ .Values.palworld.game.ban_list_url }}" -q + set_ini_value "BuildObjectDamageRate" "{{ .Values.palworld.game.build_object_damage_rate }}" + set_ini_value "BuildObjectDeteriorationDamageRate" "{{ .Values.palworld.game.build_object_deterioration_damage_rate }}" + set_ini_value "bCanPickupOtherGuildDeathPenaltyDrop" "{{ .Values.palworld.game.can_pickup_other_guild_death_penalty_drop }}" -q + set_ini_value "bUseAuth" "{{ .Values.palworld.game.use_auth }}" -q + set_ini_value "bEnablePlayerToPlayerDamage" "{{ .Values.palworld.game.enable_pvp_damage }}" -q + set_ini_value "bEnableFriendlyFire" "{{ .Values.palworld.game.enable_friendly_fire }}" -q + set_ini_value "bEnableInvaderEnemy" "{{ .Values.palworld.game.enable_invader_enemy }}" -q + set_ini_value "bEnableAimAssistPad" "{{ .Values.palworld.game.enable_aim_assist_pad }}" -q + set_ini_value "bEnableAimAssistKeyboard" "{{ .Values.palworld.game.enable_aim_assist_kb }}" -q + set_ini_value "bEnableNonLoginPenalty" "{{ .Values.palworld.game.enable_non_login_penalty }}" -q + set_ini_value "bEnableFastTravel" "{{ .Values.palworld.game.enable_fast_travel }}" -q + set_ini_value "bEnableDefenseOtherGuildPlayer" "{{ .Values.palworld.game.enable_defense_other_guild_player }}" -q + set_ini_value "bIsMultiplay" "{{ .Values.palworld.game.is_multiplay }}" -q + set_ini_value "bIsStartLocationSelectByMap" "{{ .Values.palworld.game.is_start_location_select_by_map }}" -q + set_ini_value "bIsPvP" "{{ .Values.palworld.game.is_pvp }}" -q + set_ini_value "bExistPlayerAfterLogout" "{{ .Values.palworld.game.exist_players_after_logout }}" -q + set_ini_value "bActiveUNKO" "{{ .Values.palworld.game.active_unko }}" -q + set_ini_value "bAutoResetGuildNoOnlinePlayers" "{{ .Values.palworld.game.guild_auto_reset_no_online_players }}" -q + set_ini_value "CollectionDropRate" "{{ .Values.palworld.game.collection_drop_rate }}" + set_ini_value "CollectionObjectHpRate" "{{ .Values.palworld.game.collection_object_hp_rate }}" + set_ini_value "CollectionObjectRespawnSpeedRate" "{{ .Values.palworld.game.collection_object_respawn_speed_rate }}" + set_ini_value "CoopPlayerMaxNum" "{{ .Values.palworld.game.max_players_coop }}" + set_ini_value "DayTimeSpeedRate" "{{ .Values.palworld.game.day_time_speed_rate }}" + set_ini_value "DropItemMaxNum" "{{ .Values.palworld.game.drop_item_max }}" + set_ini_value "DropItemMaxNum_UNKO" "{{ .Values.palworld.game.drop_item_max_unko }}" + set_ini_value "DropItemAliveMaxHours" "{{ .Values.palworld.game.drop_item_alive_max_hours }}" + set_ini_value "EnemyDropItemRate" "{{ .Values.palworld.game.enemy_drop_item_rate }}" + set_ini_value "GuildPlayerMaxNum" "{{ .Values.palworld.game.max_players_guild }}" + set_ini_value "NightTimeSpeedRate" "{{ .Values.palworld.game.night_time_speed_rate }}" + set_ini_value "PalCaptureRate" "{{ .Values.palworld.game.pal_capture_rate }}" + set_ini_value "PalEggDefaultHatchingTime" "{{ .Values.palworld.game.pal_egg_default_hatching_time }}" + set_ini_value "PalSpawnNumRate" "{{ .Values.palworld.game.pal_spawn_num_rate }}" + set_ini_value "PalDamageRateAttack" "{{ .Values.palworld.game.pal_damage_rate_attack }}" + set_ini_value "PalDamageRateDefense" "{{ .Values.palworld.game.pal_damage_rate_defense }}" + set_ini_value "PlayerDamageRateAttack" "{{ .Values.palworld.game.player_damage_rate_attack }}" + set_ini_value "PlayerDamageRateDefense" "{{ .Values.palworld.game.player_damage_rate_defense }}" + set_ini_value "PlayerStomachDecreaceRate" "{{ .Values.palworld.game.player_stomach_decreace_rate }}" + set_ini_value "PlayerStaminaDecreaceRate" "{{ .Values.palworld.game.player_stamina_decreace_rate }}" + set_ini_value "PlayerAutoHPRegeneRate" "{{ .Values.palworld.game.player_auto_hp_regene_rate }}" + set_ini_value "PlayerAutoHpRegeneRateInSleep" "{{ .Values.palworld.game.player_auto_hp_regene_rate_in_sleep }}" + set_ini_value "PalStomachDecreaceRate" "{{ .Values.palworld.game.pal_stomach_decreace_rate }}" + set_ini_value "PalStaminaDecreaceRate" "{{ .Values.palworld.game.pal_stamina_decreace_rate }}" + set_ini_value "PalAutoHPRegeneRate" "{{ .Values.palworld.game.pal_auto_hp_regene_rate }}" + set_ini_value "PalAutoHpRegeneRateInSleep" "{{ .Values.palworld.game.pal_auto_hp_regene_rate_in_sleep }}" + set_ini_value "ServerPlayerMaxNum" "{{ .Values.palworld.game.max_players }}" + set_ini_value "WorkSpeedRate" "{{ .Values.palworld.game.work_speed_rate }}" + set_ini_value "ExpRate" "{{ .Values.palworld.game.exp_rate }}" + + echo "Done!" + containers: + main: + probes: + liveness: + type: tcp + port: "{{ .Values.service.rcon.ports.rcon.port }}" + readiness: + type: tcp + port: "{{ .Values.service.rcon.ports.rcon.port }}" + startup: + type: tcp + port: "{{ .Values.service.rcon.ports.rcon.port }}" + env: + # paths + STEAMCMD_DIR: "{{ .Values.persistence.steamcmd.mountPath }}" + SERVER_DIR: "{{ .Values.persistence.serverfiles.targetSelector.main.main.mountPath }}" + # steam + GAME_ID: "{{ .Values.palworld.steam.id }}" + USERNAME: "{{ .Values.palworld.steam.username }}" + PASSWRD: "{{ .Values.palworld.steam.password }}" + VALIDATE: "{{ .Values.palworld.steam.validate }}" + # game + SRV_ADMIN_PWD: "{{ .Values.palworld.game.admin_password }}" + UPDATE_PUBLIC_IP: "{{ .Values.palworld.game.update_public_ip }}" + GAME_PARAMS: '{{ join " " .Values.palworld.game.params }}' + GAME_PARAMS_EXTRA: '{{ join " " .Values.palworld.game.params_extra }}' + # backup + BACKUP: "{{ .Values.palworld.backup.enabled }}" + BACKUP_INTERVAL: "{{ .Values.palworld.backup.interval }}" + BACKUP_TO_KEEP: "{{ .Values.palworld.backup.to_keep }}" + rcon: + enabled: true + type: Deployment + strategy: RollingUpdate + replicas: 1 + podSpec: + containers: + rcon: + primary: true + enabled: true + imageSelector: rconImage + tty: true + stdin: true + probes: + liveness: + enabled: false + readiness: + enabled: false + startup: + enabled: false + args: + - ./rcon + - -a + - '{{ printf "%v-rcon:%v" (include "tc.v1.common.lib.chart.names.fullname" $) .Values.service.rcon.ports.rcon.port }}' + - -p + - "{{ .Values.palworld.game.admin_password }}" + +persistence: + steamcmd: + enabled: true + mountPath: /serverdata/steamcmd + serverfiles: + enabled: true + targetSelector: + main: + main: + mountPath: /serverdata/serverfiles + update-config-ini: + mountPath: /serverdata/serverfiles + +portal: + open: + enabled: false diff --git a/incubator/palworld/0.1.1/questions.yaml b/incubator/palworld/0.1.2/questions.yaml similarity index 91% rename from incubator/palworld/0.1.1/questions.yaml rename to incubator/palworld/0.1.2/questions.yaml index 02a93a7f338..d3ff0ba847c 100644 --- a/incubator/palworld/0.1.1/questions.yaml +++ b/incubator/palworld/0.1.2/questions.yaml @@ -204,7 +204,7 @@ questions: label: Use Auth schema: type: boolean - private: true + default: true - variable: admin_password label: Admin Server Password description: Optionally set a password for the admin (this field accepts no spaces) @@ -219,16 +219,180 @@ questions: type: string private: true default: "" - - variable: difficulty - label: Server Difficulty + - variable: auto_reset_guild_time_no_online_players + label: Auto Reset Guid Time No Online Players schema: type: string - default: "None" + default: "72.000000" + valid_chars: '^\d{1,}\.[0-9]{6}$' + - variable: ban_list_url + label: Ban List Url + schema: + type: string + default: "https://api.palworldgame.com/api/banlist.txt" + - variable: base_camp_max + label: Base Camp Max + schema: + type: int + default: 128 + min: 1 + - variable: base_camp_worker_max + label: Base Camp Worker Max + schema: + type: int + default: 15 + min: 1 + - variable: build_object_damage_rate + label: Build Object Damage Rate + schema: + type: string + default: "1.000000" + valid_chars: '^\d{1,}\.[0-9]{6}$' + - variable: build_object_deterioration_damage_rate + label: Build Object Deterioration Damage Rate + schema: + type: string + default: "1.000000" + valid_chars: '^\d{1,}\.[0-9]{6}$' + - variable: can_pickup_other_guild_death_penalty_drop + label: Can Pickup Other Guild Death Penalty Drop + schema: + type: boolean + default: false + - variable: collection_drop_rate + label: Collection Drop Rate + schema: + type: string + default: "1.000000" + valid_chars: '^\d{1,}\.[0-9]{6}$' + - variable: collection_object_hp_rate + label: Collection Object HP Rate + schema: + type: string + default: "1.000000" + valid_chars: '^\d{1,}\.[0-9]{6}$' + - variable: collection_object_respawn_speed_rate + label: Collection Object Respawn Speed Rate + schema: + type: string + default: "1.000000" + valid_chars: '^\d{1,}\.[0-9]{6}$' + - variable: day_time_speed_rate + label: Day Time Speed Rate + schema: + type: string + default: "1.000000" + valid_chars: '^\d{1,}\.[0-9]{6}$' - variable: death_penalty label: Server Death Penalty schema: type: string default: "ALL" + - variable: difficulty + label: Server Difficulty + schema: + type: string + default: "None" + - variable: drop_item_alive_max_hours + label: Drop Item Alive Max Hours + schema: + type: string + default: "1.000000" + valid_chars: '^\d{1,}\.[0-9]{6}$' + - variable: drop_item_max + label: Drop Item Max + schema: + type: int + default: 3000 + min: 1 + - variable: drop_item_max_unko + label: Drop Item Max Unko + schema: + type: int + default: 100 + min: 1 + - variable: enable_aim_assist_kb + label: Enable Aim Assist KeyBoard + schema: + type: boolean + default: false + - variable: enable_aim_assist_pad + label: Enable Aim Assist Pad + schema: + type: boolean + default: false + - variable: enable_defense_other_guild_player + label: Enable Defense Other Guild Player + schema: + type: boolean + default: true + - variable: enable_fast_travel + label: Enable Fast Travel + schema: + type: boolean + default: true + - variable: enable_friendly_fire + label: Enable Friendly Fire + schema: + type: boolean + default: false + - variable: enable_invader_enemy + label: Enable Invader Enemy + schema: + type: boolean + default: true + - variable: active_unko + label: Active Unko + schema: + type: boolean + default: false + - variable: enable_non_login_penalty + label: Enable Non Login Penalty + schema: + type: boolean + default: true + - variable: enable_pvp_damage + label: Enable PVP Damage + schema: + type: boolean + default: false + - variable: exist_players_after_logout + label: Exist Players After LogOut + schema: + type: boolean + default: false + - variable: enemy_drop_item_rate + label: Enemy Drop Item Rate + schema: + type: string + default: "1.000000" + valid_chars: '^\d{1,}\.[0-9]{6}$' + - variable: exp_rate + label: Experience Rate + schema: + type: string + default: "1.000000" + valid_chars: '^\d{1,}\.[0-9]{6}$' + - variable: guild_auto_reset_no_online_players + label: Guild Auto Reset No Online Players + schema: + type: boolean + default: false + - variable: is_multiplay + label: Is Multiplay + schema: + type: boolean + default: false + - variable: is_pvp + label: Is PVP + schema: + type: boolean + default: false + - variable: is_start_location_select_by_map + label: Is Start Location Select By Map + schema: + type: boolean + default: true - variable: max_players label: Max Players schema: @@ -246,151 +410,125 @@ questions: type: int default: 20 min: 1 - - variable: drop_item_max - label: Drop Item Max + - variable: name + label: Server Name + description: The name of your server. schema: - type: int - default: 3000 - min: 1 - - variable: drop_item_max_unko - label: Drop Item Max Unko + type: string + default: "TrueCharts Palworld Server" + - variable: night_time_speed_rate + label: Night Time Speed Rate schema: - type: int - default: 100 - min: 1 - - variable: base_camp_max - label: Base Camp Max + type: string + default: "1.000000" + valid_chars: '^\d{1,}\.[0-9]{6}$' + - variable: pal_auto_hp_regene_rate + label: Pal Auto HP Regene Rate schema: - type: int - default: 128 - min: 1 - - variable: base_camp_worker_max - label: Base Camp Worker Max + type: string + default: "1.000000" + valid_chars: '^\d{1,}\.[0-9]{6}$' + - variable: pal_auto_hp_regene_rate_in_sleep + label: Pal Auto HP Regene Rate in Sleep schema: - type: int - default: 15 - min: 1 - - variable: enable_pvp_damage - label: Enable PVP Damage + type: string + default: "1.000000" + valid_chars: '^\d{1,}\.[0-9]{6}$' + - variable: pal_capture_rate + label: Pal Capture Rate schema: - type: boolean - default: false - - variable: enable_friendly_fire - label: Enable Friendly Fire + type: string + default: "1.000000" + valid_chars: '^\d{1,}\.[0-9]{6}$' + - variable: pal_damage_rate_attack + label: Pal Damage Rate Attack schema: - type: boolean - default: false - - variable: enable_invader_enemy - label: Enable Invader Enemy + type: string + default: "1.000000" + valid_chars: '^\d{1,}\.[0-9]{6}$' + - variable: pal_damage_rate_defense + label: Pal Damage Rate Defense schema: - type: boolean - default: true - - variable: enable_defense_other_guild_player - label: Enable Defense Other Guild Player - schema: - type: boolean - default: true - - variable: enable_non_login_penalty - label: Enable Non Login Penalty - schema: - type: boolean - default: true - - variable: enable_aim_assist_pad - label: Enable Aim Assist Pad - schema: - type: boolean - default: false - - variable: enable_aim_assist_kb - label: Enable Aim Assist KeyBoard - schema: - type: boolean - default: false - - variable: enable_fast_travel - label: Enable Fast Travel - schema: - type: boolean - default: true - - variable: is_multiplay - label: Is Multiplay - schema: - type: boolean - default: false - - variable: is_pvp - label: Is PVP - schema: - type: boolean - default: false - - variable: is_start_location_select_by_map - label: Is Start Location Select By Map - schema: - type: boolean - default: true - - variable: active_unko - label: Active Unko - schema: - type: boolean - default: false - - variable: guild_auto_reset_no_online_players - label: Guild Auto Reset No Online Players - schema: - type: boolean - default: false - - variable: auto_reset_guild_time_no_online_players - label: Auto Reset Guid Time No Online Players + type: string + default: "1.000000" + valid_chars: '^\d{1,}\.[0-9]{6}$' + - variable: pal_egg_default_hatching_time + label: Pal Egg Default Hatching Time schema: type: string default: "72.000000" - - variable: can_pickup_other_guild_death_penalty_drop - label: Can Pickup Other Guild Death Penalty Drop + valid_chars: '^\d{1,}\.[0-9]{6}$' + - variable: pal_spawn_num_rate + label: Pal Spawn Number Rate schema: - type: boolean - default: false - - variable: exist_players_after_logout - label: Exist Players After LogOut + type: string + default: "1.000000" + valid_chars: '^\d{1,}\.[0-9]{6}$' + - variable: pal_stamina_decreace_rate + label: Pal Stamina Decreace Rate schema: - type: boolean - default: false + type: string + default: "1.000000" + valid_chars: '^\d{1,}\.[0-9]{6}$' + - variable: pal_stomach_decreace_rate + label: Pal Stomach Decreace Rate + schema: + type: string + default: "1.000000" + valid_chars: '^\d{1,}\.[0-9]{6}$' + - variable: player_auto_hp_regene_rate + label: Player Auto HP Regene Rate + schema: + type: string + default: "1.000000" + valid_chars: '^\d{1,}\.[0-9]{6}$' + - variable: player_auto_hp_regene_rate_in_sleep + label: Player Auto HP Regene Rate in Sleep + schema: + type: string + default: "1.000000" + valid_chars: '^\d{1,}\.[0-9]{6}$' + - variable: player_damage_rate_attack + label: Player Damage Rate Attack + schema: + type: string + default: "1.000000" + valid_chars: '^\d{1,}\.[0-9]{6}$' + - variable: player_damage_rate_defense + label: Player Damage Rate Defense + schema: + type: string + default: "1.000000" + valid_chars: '^\d{1,}\.[0-9]{6}$' + - variable: player_stamina_decreace_rate + label: Player Stamina Decreace Rate + schema: + type: string + default: "1.000000" + valid_chars: '^\d{1,}\.[0-9]{6}$' + - variable: player_stomach_decreace_rate + label: Player Stomach Decreace Rate + schema: + type: string + default: "1.000000" + valid_chars: '^\d{1,}\.[0-9]{6}$' + - variable: region + label: Region + schema: + type: string + default: "" + - variable: work_speed_rate + label: Work Speed Rate + schema: + type: string + default: "1.000000" + valid_chars: '^\d{1,}\.[0-9]{6}$' - variable: update_public_ip label: Update Public IP description: Will check if the Public IP is still valid. schema: type: boolean default: false - - variable: ban_list_url - label: Ban List Url - schema: - type: string - default: "https://api.palworldgame.com/api/banlist.txt" - - variable: params - label: Game Params - schema: - type: list - default: - - EpicApp=PalServer - required: true - items: - - variable: param - label: Param - schema: - type: string - required: true - default: "" - - variable: params_extra - label: Game Params Extra - schema: - type: list - default: - - -useperfthreads - - -NoAsyncLoadingThread - - -UseMultithreadForDS - required: true - items: - - variable: extra_param - label: Extra Param - schema: - type: string - required: true - default: "" - variable: backup label: Backup Configuration schema: @@ -1714,255 +1852,6 @@ questions: schema: type: string default: "" - - variable: ingressList - label: Add Manual Custom Ingresses - group: Ingress - schema: - type: list - default: [] - items: - - variable: ingressListEntry - label: Custom Ingress - schema: - additional_attrs: true - type: dict - attrs: - - variable: enabled - label: Enable Ingress - schema: - type: boolean - default: true - hidden: true - - variable: name - label: Name - schema: - type: string - default: "" - - variable: ingressClassName - label: IngressClass Name - schema: - type: string - default: "" - - variable: hosts - label: Hosts - schema: - type: list - default: [] - items: - - variable: hostEntry - label: Host - schema: - additional_attrs: true - type: dict - attrs: - - variable: host - label: HostName - schema: - type: string - default: "" - required: true - - variable: paths - label: Paths - schema: - type: list - default: [] - items: - - variable: pathEntry - label: Host - schema: - additional_attrs: true - type: dict - attrs: - - variable: path - label: Path - schema: - type: string - required: true - default: "/" - - variable: pathType - label: Path Type - schema: - type: string - required: true - default: Prefix - - variable: overrideService - label: Linked Service - schema: - additional_attrs: true - type: dict - attrs: - - variable: name - label: Service Name - schema: - type: string - default: "" - - variable: port - label: Service Port - schema: - type: int - - variable: tls - label: TLS-Settings - schema: - type: list - default: [] - show_if: [["certificateIssuer", "=", ""]] - items: - - variable: tlsEntry - label: Host - schema: - additional_attrs: true - type: dict - attrs: - - variable: hosts - label: Certificate Hosts - schema: - type: list - default: [] - items: - - variable: host - label: Host - schema: - type: string - default: "" - required: true - - variable: certificateIssuer - label: Use Cert-Manager clusterIssuer - description: 'add the name of your Cert-Manager clusterIssuer here for automatic tls certificates.' - schema: - type: string - default: "" - - variable: scaleCert - label: Use TrueNAS SCALE Certificate (Deprecated) - schema: - show_if: [["certificateIssuer", "=", ""]] - type: int - $ref: - - "definitions/certificate" - - variable: clusterCertificate - label: 'Cluster Certificate (Advanced)' - description: 'Add the name of your cluster-wide certificate, that you set up in the ClusterIssuer chart.' - schema: - type: string - show_if: [["certificateIssuer", "=", ""]] - default: "" - - variable: secretName - label: Use Custom Secret (Advanced) - schema: - type: string - show_if: [["certificateIssuer", "=", ""]] - default: "" - - variable: integrations - label: Integrations - description: Connect ingress with other charts - schema: - additional_attrs: true - type: dict - attrs: - - variable: traefik - label: Traefik - description: Connect ingress with Traefik - schema: - additional_attrs: true - type: dict - attrs: - - variable: enabled - label: enabled - schema: - type: boolean - default: true - - variable: allowCors - label: "Allow Cross Origin Requests" - schema: - type: boolean - default: false - show_if: [["enabled", "=", true]] - - variable: entrypoints - label: Entrypoints - schema: - type: list - default: ["websecure"] - show_if: [["enabled", "=", true]] - items: - - variable: entrypoint - label: Entrypoint - schema: - type: string - - variable: middlewares - label: Middlewares - schema: - type: list - default: [] - show_if: [["enabled", "=", true]] - items: - - variable: middleware - label: Middleware - schema: - additional_attrs: true - type: dict - attrs: - - variable: name - label: name - schema: - type: string - default: "" - required: true - - variable: namespace - label: namespace - schema: - type: string - default: "" - - variable: certManager - label: certManager - description: Connect ingress with certManager - schema: - additional_attrs: true - type: dict - attrs: - - variable: enabled - label: enabled - schema: - type: boolean - default: true - - variable: certificateIssuer - label: certificateIssuer - description: defaults to chartname - schema: - type: string - default: "" - show_if: [["enabled", "=", true]] - - variable: homepage - label: Homepage - description: Connect ingress with Homepage - schema: - additional_attrs: true - type: dict - attrs: - - variable: enabled - label: enabled - schema: - type: boolean - default: false - - variable: name - label: Name - description: defaults to chartname - schema: - type: string - default: "" - show_if: [["enabled", "=", true]] - - variable: description - label: Description - description: defaults to chart description - schema: - type: string - default: "" - show_if: [["enabled", "=", true]] - - variable: group - label: Group - schema: - type: string - required: true - default: "default" - show_if: [["enabled", "=", true]] - variable: securityContext group: Security and Permissions label: Security Context diff --git a/incubator/palworld/0.1.1/templates/NOTES.txt b/incubator/palworld/0.1.2/templates/NOTES.txt similarity index 100% rename from incubator/palworld/0.1.1/templates/NOTES.txt rename to incubator/palworld/0.1.2/templates/NOTES.txt diff --git a/incubator/palworld/0.1.1/templates/common.yaml b/incubator/palworld/0.1.2/templates/common.yaml similarity index 100% rename from incubator/palworld/0.1.1/templates/common.yaml rename to incubator/palworld/0.1.2/templates/common.yaml diff --git a/incubator/palworld/0.1.1/values.yaml b/incubator/palworld/0.1.2/values.yaml similarity index 100% rename from incubator/palworld/0.1.1/values.yaml rename to incubator/palworld/0.1.2/values.yaml