Skip to content

Instantly share code, notes, and snippets.

@jpylypiw
Last active June 6, 2024 17:05
Show Gist options
  • Save jpylypiw/ad6beebc71240f7bbcd957ca6009cce3 to your computer and use it in GitHub Desktop.
Save jpylypiw/ad6beebc71240f7bbcd957ca6009cce3 to your computer and use it in GitHub Desktop.
Pterodactyl Source Server Auto-Update

Update source games (CS:GO etc.) on server start/restart

you can add these params to srcds startup: -autoupdate -steam_dir steamcmd -steamcmd_script update.txt

create an "update.txt" file inside steamcmd folder with the following content:

// update.txt
//
@ShutdownOnFailedCommand 1 //set to 0 if updating multiple servers at once
@NoPromptForPassword 1
login anonymous 
force_install_dir ../
app_update 740
quit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment