Raised This Month: $40 Target: $400
 10% 

[ANY] Automatic Steam Update (v1.1, 2016-06-17)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Sarabveer
Veteran Member
Join Date: Feb 2014
Location: NJ, United States
Plugin ID:
4463
Plugin Version:
1.1
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
Servers with this Plugin:
443 
Plugin Description:
Automatically restarts the server when it is notified that there is a Steam update available.
Old 12-21-2014 , 15:48   [ANY] Automatic Steam Update (v1.1, 2016-06-17)
Reply With Quote #1

[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:
__________________

Last edited by Sarabveer; 06-17-2016 at 18:21.
Sarabveer is offline
ph
AlliedModders Donor
Join Date: Mar 2006
Old 12-21-2014 , 16:52   Re: [ANY] Automatic Steam Update (SteamWorks)
Reply With Quote #2

Thank you, will this work for csgo (windows)
__________________
ph is offline
Sarabveer
Veteran Member
Join Date: Feb 2014
Location: NJ, United States
Old 12-21-2014 , 17:33   Re: [ANY] Automatic Steam Update (SteamWorks)
Reply With Quote #3

Quote:
Originally Posted by ph View Post
Thank you, will this work for csgo (windows)
Any game that supports SteamWorks, yes.
__________________
Sarabveer is offline
ph
AlliedModders Donor
Join Date: Mar 2006
Old 12-21-2014 , 18:10   Re: [ANY] Automatic Steam Update (SteamWorks)
Reply With Quote #4

How, can someone help me.

I run a csgo windows server.


I have the exts and plugin installed, but how do I get it to update the server.
__________________

Last edited by ph; 12-21-2014 at 18:11.
ph is offline
Snaggle
AlliedModders Donor
Join Date: Jul 2010
Location: England
Old 12-21-2014 , 19:01   Re: [ANY] Automatic Steam Update (SteamWorks)
Reply With Quote #5

Quote:
Originally Posted by ph View Post
How, can someone help me.

I run a csgo windows server.


I have the exts and plugin installed, but how do I get it to update the server.
You wait for an update to be released.
Snaggle is offline
Sarabveer
Veteran Member
Join Date: Feb 2014
Location: NJ, United States
Old 12-21-2014 , 19:10   Re: [ANY] Automatic Steam Update (SteamWorks)
Reply With Quote #6

Quote:
Originally Posted by Snaggle View Post
You wait for an update to be released.
And make sure you have a script to run SteamCMD when the server restarts.

I use seDirector, so I'm covered.

If your on linux, use -autoupdate
__________________

Last edited by Sarabveer; 12-21-2014 at 19:15.
Sarabveer is offline
Graffiti
AlliedModders Donor
Join Date: Aug 2013
Location: Russia
Old 12-22-2014 , 10:19   Re: [ANY] Automatic Steam Update (SteamWorks)
Reply With Quote #7

Support Linux on CSGO?
__________________
Russian TTT CSGO

Graffiti is offline
nelioneil
AlliedModders Donor
Join Date: Sep 2005
Old 12-22-2014 , 16:27   Re: [ANY] Automatic Steam Update (SteamWorks)
Reply With Quote #8

Quote:
Originally Posted by Graffiti View Post
Support Linux on CSGO?
Its not needed for linux, Use -autoupdate in command line.
nelioneil is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 12-22-2014 , 17:11   Re: [ANY] Automatic Steam Update (SteamWorks)
Reply With Quote #9

Quote:
Originally Posted by nelioneil View Post
Its not needed for linux, Use -autoupdate in command line.
Actually, like the plugin its based on, this only works on Linux servers that are set up with -autoupdate (with -steam_dir and -steamcmd_script since those are both mandatory for -autoupdate to work).

Basically it starts a timer to change the map to force the server to update. This is useful on maps that are set to never end or servers that are empty without hibernating.

(hibernating servers aren't ticking, so.... timers don't run)
__________________
Am I back? Well, we'll see.
Powerlord is offline
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 12-22-2014 , 17:24   Re: [ANY] Automatic Steam Update (SteamWorks)
Reply With Quote #10

For those that are wanting to test this I would imagin Valve will release a update tonight for Xmas.
Horsedick is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:31.


Powered by vBulletin®
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Theme made by Freecode