mbround18/valheim-docker

Allow changing the "public" variable

broizter opened this issue · 3 comments

When you launch the server software, there's a parameter called public that you can give either a value of 0 or 1. This is helpful if you wanna use the permittedlist.txt file to keep a whitelist of users that can connect. Would be awesome if this parameter could be changed through one of the environment variables similar to how the server name, password and so on can be changed.

It's this line I want to be able to change:

I can take a look at adding that :)

I have a PR up for this, I am going to crash since it is 1am for me. Ill review my updates tomorrow and merge them after retesting :) Feel free to take a gander at the changes #29

Changes look good <3