Auto Cmd On Update

MIT

SourceMod plugin that executes a console command on Source Engine servers when a game update is detected. Enables automatic game server updating with warning support and more!

A 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. Therefore, you will need the plugin and SteamWorks for this plugin to operate.

Additionally, a warning timer is supported.

This works great for servers that automatically check for SteamCMD updates on startup. This would essentially enable automatic game updating for your game servers.

Requirements

For compiling the plugin, you need SteamWork's include file (SteamWorks.inc) alongside MultiColors.

ConVars

  • sm_acou_command - The command to execute when a game update is detected (Default - quit).
  • sm_acou_warn_time - Warning time in seconds before command is executed when an update is detected (Default - 10).
  • sm_acou_version - The plugin's current version.

Commands

  • sm_acou_print_version - Prints the current plugin's version to the server console.
  • sm_acou_test - Executes the command when an update is detected and includes the warning time.

Note - Both commands require the root flag.

Установка

  1. Compile plugin with spcomp(64) or compile executable within SourceMod's scripting/ directory.
  2. Copy auto_cmd_on_update.smx file into sourcemod/plugins directory.
  3. Copy translations/acou.phrases.txt file into sourcemod/ directory.

Активность со временем

Загрузка…

Auto Cmd On Update — мод для Counter-Strike: Source. У него 1 скачивание, 2 просмотра, 0 добавлений в избранное и 1 релиз. Этот объект входит в: 5 тегов.

Отзывы

Войдите, чтобы оставить отзыв.

Loading...

Комментарии (0)

Войдите, чтобы комментировать.

Loading...
Auto Cmd On Update - Counter-Strike: Source