docker-minecraft-bedrock-server
docker-minecraft-bedrock-server copied to clipboard
1.16.230.x: Whitelist is now AllowList
This is more of a heads up, but since it looks like 230 is probably a couple weeks out now, it’s worth bringing up that it does have a breaking change in the dedicated server.
From the change notes:
Replaced "Whitelist" language use to "AllowList". Dedicated server command "whitelist" changed to "allowlist". Dedicated server "whitelist.json" file changed to "allowlist.json" file. JSON format remains the same.
I wonder if a way to approach this could be to just operate on both files?
Thanks for the heads up. Yes, could just have the logic apply to either/both file it finds.
The latest image now includes support for either file and either form of variables
https://github.com/itzg/docker-minecraft-bedrock-server#whitelist
Just gonna bump this issue. I notice that, even running 1.19 server, and specifying both ALLOW_LIST and ALLOW_LIST_USERS in the docker config, the log still kicks up the following warning:
[2022-06-08 21:06:38:653 INFO] Starting Server [2022-06-08 21:06:38:653 INFO] Version 1.19.1.01 [2022-06-08 21:06:38:653 INFO] Session ID da561acb-3e57-44b9-97e0-b2fce0e89f84 [2022-06-08 21:06:38:654 INFO] Level Name: Taiga Village [2022-06-08 21:06:38:658 WARN] 'whitelist.json' will be deprecated. Please migrate to 'allowlist.json'. [2022-06-08 21:06:38:659 INFO] Game mode: 1 Creative [2022-06-08 21:06:38:659 INFO] Difficulty: 3 HARD [2022-06-08 21:06:38:747 INFO] opening worlds/Taiga Village/db
Is this going to cause a problem going forward?
Thanks for the bump. I'll get this queued up to change the output file.
I'm not sure what I am doing wrong, but none of the above worked for me. Adding either flavour of environment variables did nothing at all, with nothing in the log.
In the end, I had to edit server.properties to set white-list=true
and then add users to the allow list using the web console command allowlist add xxxxx
.
That worked, but it doesn't feel correct. What am I missing? (I'm on the latest version).
@kabadisha, you might have hit the issue I just reported here: https://github.com/itzg/docker-minecraft-bedrock-server/issues/266. If you don't have an existing allowlist.json
file it won't create it. If you did hit that, then just create an empty file (e.g.,touch
allowlist.json` in your data directory) then restart the server and it should re-create that file with the permissions set properly.