[ANY] Automatic Steam Update (SteamWorks)
v1.1
Description:
This plugin is basically
[TF2] Automatic Steam Update, but instead of using
SteamTools, it uses
SteamWorks.
Commands:
sm_postponeupdate - postpone the update for a predefined period of time (default flag is ADMFLAG_RCON)
sm_updatetimer - force the update timer to begin immediately (default flag is ADMFLAG_RCON)
Cvars:- sw_auto_steam_update_version - plugin version
- auto_steam_update_timer - (default 5) how long in minutes the timer lasts until the server is restarted
- auto_steam_update_message_display_time - (default 5) no notifications will be shown to clients until the timer is below this threshold (in minutes)
- auto_steam_update_delay - (default 5) how long in minutes the plugin will ignore restart requests after an update is postponed
- auto_steam_update_lock - (default 0) 0 = don't lock the server during the restart timer / 1 = change sv_password during the restart timer / 2 = kick new clients (except admins) during the restart timer
- auto_steam_update_password - (default "") the string to change sv_password to if auto_steam_update_lock = 1
- auto_steam_update_kickmessage - (default "The server will shut down soon to acquire Steam updates, so no new connections are allowed") the message to display when kicking clients if auto_steam_update_lock = 2
- auto_steam_update_shutdown_message - (default "Server shutting down for Steam update") the message shown to clients when they are kicked as the server is shutting down
- auto_steam_update_hud_text_x_pos - (default 0.01) X-position for HUD timer (only on supported games) -1.0 = center
- auto_steam_update_hud_text_y_pos - (default 0.01) Y-position for HUD timer (only on supported games) -1.0 = center
- auto_steam_update_hud_text_red - (default 0) Amount of red for HUD timer (only on supported games)
- auto_steam_update_hud_text_green - (default 255) Amount of green for HUD timer (only on supported games)
- auto_steam_update_hud_text_blue - (default 0) Amount of blue for HUD timer (only on supported games)
- auto_steam_update_auto_update - (default 1) enables automatic plugin updating (has no effect if Updater is not installed)
Plugin creates and loads /cfg/sourcemod/plugin.autosteamupdate.cfg
The advantage of using 1 in auto_steam_update_lock is that clients will be denied before attempting to connect. The advantage of using 2 is that admins will be able to bypass it without knowing a password.
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
SteamWorks and
SteamWorks.ext Update Check.
Downloads:
__________________