Copyright 2011 Cstrike-ManiaCs. Powered by Blogger.
RSS

[ANY] Automatic Steam Update


[ANY] Automatic Steam Update


v1.0.0


Description:

Once the master server notifies the server that there is an update available, and requests a restart, this plugin begins a five minute (default, customizable via cvar) timer, after which the server is restarted (by means of the _restart command). This only works on Linux SRCDS with the -autoupdate parameter added to the command line. The server must actually check for updates each run, or this plugin is pointless. The timer can be cancelled by an admin command, and the plugin will ignore any additional restart requests for a predefined period of time (defined via cvar). The timer itself is displayed in the hint box. It only displays the hint box every minute, until it reaches 60 seconds, upon which the hint box displays a live timer. Upon reaching 30 seconds, the timer is also displayed in csay.



Commands:

sm_postponeupdate - postpone the update for a predefined period of time (default flag is ADMFLAG_RCON)

auto_steam_update_forceupdate - force the plugin to check for an update, provided Updater is working (console/rcon only)



Cvars:

auto_steam_update_version - plugin version

auto_steam_update_timer - how long the timer lasts until the server is restarted

auto_steam_update_delay - how long the plugin will ignore restart requests after an update is postponed



Installation:

Put auto_steam_update.smx into /addons/sourcemod/plugins and reboot your server or type "sm plugins load auto_steam_update" into your console or rcon.



Requirements:

This plugin requires SteamTools.



Auto Update:

Install Updater. The plugin will be autoupdated according to your Updater settings. It'll work without Updater.



Changelog:
  • v1.0.0 (10/25/11)
    • Initial Release


Download Plugin (auto_steam_update.smx)

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

0 comments:

Post a Comment

google-site-verification: google5f70f6edf33e1bcf.html