Read here: Banned from server
If you get the message "Banned from server. Try this:
When you have a dedicated server, inside the directory of the server, or in
C:\Users\ <username \AppData\LocalLow\IronGate\Valheim you have 3 files that is for the dedicated server.
Open the files named ‘adminlist.txt’, bannedlist.txt’,and permittedlist.txt’.
And add Steam IDs (one per line) to set desired roles. Check in these files and remove a user if needed.
(Example of a steam ID 76561198017260467 )
Please note that adding a person on the permitted list will ban everyone else from the
Smiffe, is there anyway to change the message when a whitelist is in place and a player who is on neither the permitted list nor the ban list tries to login, they see something more like "This server uses a whitelist, and you have not been added. Please contact the server admin."?
I have forwarded it to the dev-team. It's a Quality of Life update I suppose so we will probably add it sooner or later.
But in the mean time, tell people to just send (server admin) a message anyways, unless they are banned.
Does this happen to you even if you're the server owner? You get "banned" from your own server?
I assume this method wouldn't work if you were banned from a server by an admin.
Are there any plans to allow dedicated servers to be run without passwords if the permitted list is used? Seems kind of redundant to have a passwords as well as a permitted list.
@Oji. Actually yes.. You should add yourself first to the list before adding anyone else..
@Ether I agree with you. But currently it is how it works. we are looking into how we can do it better tho, so it's WIP atm.
Any possibility of having whitelists *per* dedicated server, so as to be able to more control over who can access some of the servers?
I run (currently) five dedicated servers on the same machine; some allow small utility mods, some are vanilla only. It would be nice if I could whitelist on them seperately, based on what they have installed for mods (detected via an app I made, that simply scans the mods folder).
I don't see how that could work atm, unless you did some manual scripts for each server and having separated folders for each server...
Any way to add inline comments to the whitelist? I've tried before and the parser chokes on them. In the meantime I'll add them every other line; it's just easier than looking up steamIDs each time.
have the same trouble, fixed it with filling the number of the person trying to connect in the permitted file
We need a quicker way of banning players, typing in a huge string of difficult to read characters is too long. Need to be able to select a name from the list of players online and then kick or ban them directly via the ui.
@ Martin The game isn't made for "open world servers where anyone can join"
It is ment for small group of people. If you let someone on to your server. You should make sure that person is trustworthy. Just as in real life. You don't let random strangers into your house.