Closed pichfl closed 2 years ago
To be honest I have no idea to to migrate that automatically. If somebody has a great idea feel free to send pull request.
That was quick 😄 I guess being in the same timezone for once helps quite a bit.
Anyway, I think I made it out to be much more complicated than it needs to be. I think all that needs to be done is to adjust the instructions and replace whitelist.json
with allowlist.json
and having a small upgrade instruction (shutdown container, rename, adjust the file path in the docker settings and be done with it)
I think the server will use the empty allowlist.json if I just rename the file. That might be a problem.
I'll investigate later 👍
maybe some can come up with a script that moves the whitelist.json
I hope this is fixed with this commit https://github.com/mtoensing/Docker-Minecraft-Bedrock-Server/commit/041ff382d836cae91c5e743b3fbb8185a3a24413
Hi! Thanks for this clean Docker image! I noticed that deprecation warning when booting up the current iteration of the server.
It should be possible to add some conditional code which checks if people still have
whitelist.json
and migrate them automatically or letting them keep the file around, symlinking it instead if noallowlist.json
is found.