-
Notifications
You must be signed in to change notification settings - Fork 127
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
Allow specifying server settings outside of autoexec_ns_server.cfg
#430
Comments
They should just make a mod that executes |
Hmm, making a mod (i.e. specifying |
actually, |
nah I was wrong, |
Odd.CustomServerConfig.zip |
Maybe example mod that changes servername would've been better given that's what we're trying to achieve here :P That being said, using a mod "feels too complicated" for someone just starting out on setting up a server, so I don't think it would suffice as a "replacement" ^^ |
A server config template could be uploaded to thunderstore so a server host would just need to download it and edit the config |
I will be doing this as part of APIv1, which is also when we'll be changing the hostname. |
We will definitely need some non-breaking mechanism to handle clients that don't switch over then though. I know Viper has a mechanism to always finish its own update check before checking for Northstar update and so will always update itself before updating Northstar, so a patch for Viper and Northstar and be provided pretty much at the same time. However I cannot say the same for VTOL, so there's a decent chance that a player won't have an updated version of VTOL and such will keep the old domain in their cfg and therefore we will have to take care of that scenario for at least some time period... |
Might be best to use a new convar from the start, maybe called |
If we set the new convar in the same cfg file, then there's no point in adding a new one though as Viper/VTOL don't do any "smart" merging of changes but simply restore the previous file. Hence we should make sure to solve this issue first and then give enough time between updates so that Viper/VTOL can roll out patches... |
Instead of requiring server owners to modify
R2Northstar/mods/Northstar.CustomServers/mod/cfg/autoexec_ns_server.cfg
, they should just be able to set these values using launch arguments or some other config file outside of the core Northstar mods folder.The reason for this being that, by changing this approach we can treat all core Northstar mods folders as "owned by Northstar" meaning updaters can e.g. replace all core mods folders on an update without having to worry about destroying any information added by the user.
For example, we had talks before about how we want to change the master server API URL, yet we won't be able to do this until this issue is resolved as VTOL (and I think also Viper) save the contents of
autoexec_ns_server.cfg
and restore them after an updating, meaning that if we roll out a change tons_masterserver_hostname
a decent chunk of our playerbase will not receive the updated hostname.The text was updated successfully, but these errors were encountered: