Skip to content
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

FR: Allow disabling auto-update (or at least verification) #77

Open
rehashedsalt opened this issue Mar 29, 2024 · 2 comments
Open

FR: Allow disabling auto-update (or at least verification) #77

rehashedsalt opened this issue Mar 29, 2024 · 2 comments

Comments

@rehashedsalt
Copy link

rehashedsalt commented Mar 29, 2024

Is your feature request related to a problem? Please describe.
I'd like to install the No Mo Culling mod on my dedicated server. Installation of this mod requires that you overwrite some of the server's base class files. If Steam is later told to validate this install, it will fail, reprocure those files, and thus automatically uninstall the mod. Not ideal.

Describe the solution you'd like
Looks like the issue is here, how this lacks a conditional. [ "$DISABLE_AUTOMATIC_UPDATES" != "true" ] && update_server or something to that effect would be perfectly sufficient. In fact, I hacked that into my setup and things seem to work great.

Describe alternatives you've considered
If you really wanted to, you could tie into No Mo Culling directly and have an option to automatically install the mod on b41 installs, but that seems like an overreach. You could also run an if/else that, instead of disabling auto update, just runs a separate scmd script that doesn't have the validate argument.

Additional context
If you weren't actively working on a refactor, I'd just PR this, but I'm not sure if you really want any contributions to the main branch right now.

Your container is freakin' awesome by the way and it has been a joy to use.

@mattiasghodsian
Copy link

did u try adding -noverifyfiles to the run_server.sh

@rehashedsalt
Copy link
Author

I did not, as the script does not pass any command-line arguments to steamcmd. The steamcmd script also happens to contain validate as a keyword and I have no clue how those would interact. I instead hacked the solution described in the OP into run_server.sh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants