-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make a way to display local IP when server start #210
Comments
For the records of the use case, i have 2 separate launcher for my dedicated server. One that enable crossplay and work online, and another to disable crossplay, when we play LAN. Since it's 2 different method to launch the server even on vanilla valheim. Anyways to lookup for this, and display a different message based on -crossplay argument? |
You have an option to set one of the message variables to be something to indicate this. For example on one of the servers you can set Is it the case that you use the exact same configurations of everything and only change the launch message? I think there probably is a way to determine if crossplay is enabled which I could add, but I have to figure that out. |
Yes that's the same server, same files, just the start_server.bat have a
different commandline.
So you say I can set a %var% in this command line ?
|
No sorry for confusion, you cannot set that in command line. I will see what I can do about adding something like The way I'm determining the IP address is from the game itself, asking it what its public IP is. I don't want to fiddle around and detect something on my own if I don't need to. |
Similary to the %PUBLICIP% variable we had, can we have a %LOCALIP% that display lan IP (192.168.0.x) ?
The text was updated successfully, but these errors were encountered: