-
-
Notifications
You must be signed in to change notification settings - Fork 843
Add -autoupdate feature #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
Comments
Yes! |
Feature now added |
I'm looking into this currently, was this actually added ?
updatescript.txt
I know there is ./csgoserver update, but that is LGSM functionality and not the "native" update process ? We could then use the srcds itself to update itself with plugins, like executing |
@iNilo I'm not sure if this autoupdate is still a thing. |
@UltimateByte very true, so was I but its nicer to do it from within the server process itself.
Its much nicer for players then just to nuke the server with a cronjob and a mass timeout. It would be very nice that lgsm generates the lines & the update file. which then can be turned off & on within the config/main script. the current way (cronjobs) is perfectly fine, however it could be more user friendly using plugins with kick messages and _restart |
To followup, this is a functional sourcemod plugin that has this functionality (partially) |
The plugins are for server administrators, I'd rather see support for the command line (build in) options then for the sourcemod plugins itself. Making LGSM generate an update script, with appropriate command line addons such as |
Well, and then how would you run the script without a cronjob ? |
The idea is that rather than relying on cronjob, use the native builtin functionality of updating csgo servers. more like ./csgoserver generateupdatescripts |
And how exactly srcds would know it should have to use this script ? That's what i don't get. |
its build into the CSGO/TF2/... srcds.
I found this issue and I thought it was added, (which its not afaik?) nothing more to it? |
So just just append -autoupdate to start parms then it will update as soon as possible. This is what i thought for the beginning. Then how does this autoupdate starts a script upon updates ? Does it have to have a specific name ? Location ? |
👍 for adding built in support for autoupdate When you add the autoupdate to your command line arguments when starting the server you also need to provide steamcmd with a script to run. This script basically tells steamcmd to update a server in a specific folder. However this script is not available by default in LGSM? Would be good to use autoupdate at least for CS:GO, since it updates automatically when a server is empty, but not else... |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
-autoupdate can be added to update the servers as soon as an update is released on SteamCMD. It may be worth adding the switch to all servers that support it
The text was updated successfully, but these errors were encountered: