{"id":16161544,"url":"https://github.com/gamemann/auto-cmd-on-update","last_synced_at":"2026-02-26T08:03:01.039Z","repository":{"id":237418491,"uuid":"625086244","full_name":"gamemann/Auto-Cmd-On-Update","owner":"gamemann","description":" SourceMod plugin that executes a console command on SRCDS servers when a game update is detected. Enables automatic game server updating with warning support.","archived":false,"fork":false,"pushed_at":"2023-04-13T16:58:44.000Z","size":6,"stargazers_count":18,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-13T08:18:18.087Z","etag":null,"topics":["automation","csgo","modding","pawn","plugin","sourcemod","sourcemod-plugin","sourcemod-plugins","sourcepawn","tf2"],"latest_commit_sha":null,"homepage":"https://moddingcommunity.com/","language":"SourcePawn","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gamemann.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-08T03:08:06.000Z","updated_at":"2024-09-30T07:25:43.000Z","dependencies_parsed_at":"2024-05-01T15:53:32.138Z","dependency_job_id":"76cf63a6-9ff2-4e5d-a8e5-aee87949a187","html_url":"https://github.com/gamemann/Auto-Cmd-On-Update","commit_stats":null,"previous_names":["gamemann/auto-cmd-on-update"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gamemann%2FAuto-Cmd-On-Update","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gamemann%2FAuto-Cmd-On-Update/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gamemann%2FAuto-Cmd-On-Update/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gamemann%2FAuto-Cmd-On-Update/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gamemann","download_url":"https://codeload.github.com/gamemann/Auto-Cmd-On-Update/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247586325,"owners_count":20962483,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","csgo","modding","pawn","plugin","sourcemod","sourcemod-plugin","sourcemod-plugins","sourcepawn","tf2"],"created_at":"2024-10-10T02:25:39.023Z","updated_at":"2026-02-26T08:03:00.944Z","avatar_url":"https://github.com/gamemann.png","language":"SourcePawn","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Auto Command On Update\n## Description\nA SourceMod plugin that executes a console command on SRCDS servers when a game update is detected. This plugins relies on a forward call in SteamWork's Update Check plugin [here](https://github.com/KyleSanderson/SteamWorks/blob/master/Pawn/UpdateCheck.sp). Therefore, you will need the plugin and SteamWorks for this plugin to operate.\n\nAdditionally, a warning timer is supported.\n\nThis works great for servers that automatically check for SteamCMD updates on startup. This would essentially enable automatic game updating for your game servers.\n\n## Requirements\n* [SteamWorks](https://forums.alliedmods.net/showthread.php?t=229556)\n* [SteamWorks - Update Check](https://github.com/KyleSanderson/SteamWorks/blob/master/Pawn/UpdateCheck.sp) \n\nFor compiling the plugin, you need SteamWork's include file (`SteamWorks.inc`) alongside [MultiColors](https://forums.alliedmods.net/showthread.php?t=247770).\n\n## ConVars\n* `sm_acou_command` - The command to execute when a game update is detected (Default - `quit`).\n* `sm_acou_warn_time` - Warning time in seconds before command is executed when an update is detected (Default - `10`).\n* `sm_acou_version` - The plugin's current version.\n\n## Commands\n* `sm_acou_print_version` - Prints the current plugin's version to the server console.\n* `sm_acou_test` - Executes the command when an update is detected and includes the warning time.\n\n**Note** - Both commands require the `root` flag.\n\n## Installation\n1. Compile plugin with `spcomp(64)` or `compile` executable within SourceMod's `scripting/` directory.\n1. Copy `auto_cmd_on_update.smx` file into `sourcemod/plugins` directory.\n1. Copy `translations/acou.phrases.txt` file into `sourcemod/` directory.\n\n## Credits\n* [Christian Deacon](https://github.com/gamemann)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgamemann%2Fauto-cmd-on-update","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgamemann%2Fauto-cmd-on-update","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgamemann%2Fauto-cmd-on-update/lists"}