The spawn protection config setting cannot be set to "0" as mentioned in the docs as it is currently bugged. Setting it to 0 will cause the envmap to evaluate to false and instead exclude the SPAWN_PROTECTION environment variable rather than including it as intended.
|
{{- define "minecraft.envMap" }} |
|
{{- template "minecraft.envMap" list "SPAWN_PROTECTION" .Values.minecraftServer.spawnProtection }} |
The spawn protection config setting cannot be set to "0" as mentioned in the docs as it is currently bugged. Setting it to 0 will cause the envmap to evaluate to false and instead exclude the
SPAWN_PROTECTIONenvironment variable rather than including it as intended.minecraft-server-charts/charts/minecraft/templates/_helpers.tpl
Line 28 in ba5b3ba
minecraft-server-charts/charts/minecraft/templates/deployment.yaml
Line 174 in ba5b3ba