AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] Automatic Steam Update (v1.1, 2016-06-17) (https://forums.alliedmods.net/showthread.php?t=253404)

Sarabveer 12-21-2014 14:48

[ANY] Automatic Steam Update (v1.1, 2016-06-17)
 
[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:

ph 12-21-2014 15:52

Re: [ANY] Automatic Steam Update (SteamWorks)
 
Thank you, will this work for csgo (windows)

Sarabveer 12-21-2014 16:33

Re: [ANY] Automatic Steam Update (SteamWorks)
 
Quote:

Originally Posted by ph (Post 2238091)
Thank you, will this work for csgo (windows)

Any game that supports SteamWorks, yes.

ph 12-21-2014 17:10

Re: [ANY] Automatic Steam Update (SteamWorks)
 
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.

Snaggle 12-21-2014 18:01

Re: [ANY] Automatic Steam Update (SteamWorks)
 
Quote:

Originally Posted by ph (Post 2238140)
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.

Sarabveer 12-21-2014 18:10

Re: [ANY] Automatic Steam Update (SteamWorks)
 
Quote:

Originally Posted by Snaggle (Post 2238166)
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

Graffiti 12-22-2014 09:19

Re: [ANY] Automatic Steam Update (SteamWorks)
 
Support Linux on CSGO?

Nolongerinthegame 12-22-2014 15:27

Re: [ANY] Automatic Steam Update (SteamWorks)
 
Quote:

Originally Posted by Graffiti (Post 2238443)
Support Linux on CSGO?

Its not needed for linux, Use -autoupdate in command line.

Powerlord 12-22-2014 16:11

Re: [ANY] Automatic Steam Update (SteamWorks)
 
Quote:

Originally Posted by nelioneil (Post 2238588)
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)

Horsedick 12-22-2014 16:24

Re: [ANY] Automatic Steam Update (SteamWorks)
 
For those that are wanting to test this I would imagin Valve will release a update tonight for Xmas.


All times are GMT -4. The time now is 22:03.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.