Skip to content

fix(minecraft-java): make Enforce whitelist turn the whitelist on - #67

Merged
ValgulNecron merged 1 commit into
mainfrom
fix/minecraft-enable-whitelist
Nov 13, 2026
Merged

ValgulNecron merged 1 commit into
mainfrom
fix/minecraft-enable-whitelist

Conversation

@ValgulNecron

@ValgulNecron ValgulNecron commented Nov 12, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

"Enforce whitelist" (WHITELIST_ENABLED) reached the itzg image as an env var with that same name, and the image never reads it. Because of that, white-list stayed false and anyone could join. The itzg image turns the whitelist on only for ENABLE_WHITELIST, WHITELIST or WHITELIST_FILE, and with ENABLE_WHITELIST=true it also sets enforce-whitelist (start-setupServerProperties).

  • The field now uses the new envName: ENABLE_WHITELIST. The config key stays the same, so saved server values keep working.
  • The bundle is bumped to 2.11.1.

Depends on GameplanePanel/Gameplane#951 (operator envName support). Operators without it prune envName, so they keep today's behaviour and nothing breaks. gameplaneMinVersion is unchanged so that 0.4.0 installs can still load the bundle.

Behaviour change: the field defaults to false, and itzg writes white-list=false on every start when ENABLE_WHITELIST=false. A whitelist switched on with the console whitelist on command is reset on restart unless the setting is on. The panel setting becomes the source of truth.

🤖 Generated with Claude Code

The WHITELIST_ENABLED field reached the itzg image as an env var of
the same name, which the image never reads, so white-list stayed false
and anyone could join. Export it as ENABLE_WHITELIST through the new
configSchema envName (the image then sets white-list and
enforce-whitelist). The config key stays the same, so saved server
values keep working. Bump the bundle to 2.11.1.

Needs the operator envName support (GameplanePanel/Gameplane); older
operators drop the field and behave as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 12, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 375d702b-b4ee-49b1-908e-fea12b4565e5
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@ValgulNecron ValgulNecron self-assigned this Nov 12, 2026
@ValgulNecron
ValgulNecron merged commit a660997 into main Nov 13, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants