Hey there, I am sure this is user error. I am trying to add more then one server to this mod. Is that possible? In the writeup it states that I should be able to via the copying and pasting of the code block provided in the example.
I've copied all the lines and edited them for the new server. I've added a new line under each of the current lines for the new server.
Both result in the same issue, when the game launches it kind of merges them or replaces one of them with the other and I only get one server in the server list. Thank you all in advance for your help! This is a great mod, I hope they incorporate something like this into the full game.
There is a line, under [general.serverkeys], for me that looks like this with 4 servers enabled:
Keys of enabled servers (comma separated, no spaces) = aa,bb,cc,dd
If you launch the game after only altering this line (normally just cc), it will automatically add BB AA DD sections for you to edit, or if you have them labelled, it will now load [Server.aa/bb/cc/dd.host], [Server.aa/bb/cc/dd.name], [Server.aa/bb/cc/dd.password], [Server.aa/bb/cc/dd]. But you don't just add one new line for each of those, you need to add a whole ass new section/tag for each server.
TL;DR: Load the default config file, change the line mentioned above, launch game, go back into config file : you should see where your error was / what I'm talking about :)
Hey there! I noticed that this isn't working with a text based IP, such as "exampleip.com". I've got it working with every other server, do you know if I'm doing something wrong or does the code not currently support text IP's?
Do you think it would be possible to make an "Add Server" Button, where you just enter the server data and the server is added to the config file automatically? I've tried to modify the file but instead of adding the server, I removed the example file. Will have to remove the config file to start fresh. Still, it would be nice if you could consider this suggestion.
Hey bud, found a funky bug. Passwords longer than 6 characters get trimmed down to 6 when the mod inputs them and you have to manually type the password to connect.
EDIT: Further testing has revealed that the bug is actually due to having multiple servers setup. The password for the last server gets used on all servers I have configured.
Opened and closed game several times, config file not created in Valheim\BepInEx\config. Is there a blank I can put in place. Would rather not have to transcribe the image.
18 comments
{valheim install}/Bepinex/config
Called "net.l41rx.valheimfaveservers.cfg".
After multiple valheim starts and stops, no cfg file ever shows up. Bepinex is runninng.
I've copied all the lines and edited them for the new server.
I've added a new line under each of the current lines for the new server.
Both result in the same issue, when the game launches it kind of merges them or replaces one of them with the other and I only get one server in the server list. Thank you all in advance for your help! This is a great mod, I hope they incorporate something like this into the full game.
Keys of enabled servers (comma separated, no spaces) = aa,bb,cc,dd
If you launch the game after only altering this line (normally just cc), it will automatically add BB AA DD sections for you to edit, or if you have them labelled, it will now load [Server.aa/bb/cc/dd.host], [Server.aa/bb/cc/dd.name], [Server.aa/bb/cc/dd.password], [Server.aa/bb/cc/dd]. But you don't just add one new line for each of those, you need to add a whole ass new section/tag for each server.
TL;DR:
Load the default config file, change the line mentioned above, launch game, go back into config file : you should see where your error was / what I'm talking about :)
Thank you!
I've tried to modify the file but instead of adding the server, I removed the example file.
Will have to remove the config file to start fresh.
Still, it would be nice if you could consider this suggestion.
Thanks in advance :)
EDIT: Further testing has revealed that the bug is actually due to having multiple servers setup. The password for the last server gets used on all servers I have configured.