View Single Post
Author Message
klausenbusk
AlliedModders Donor
Join Date: Jan 2011
Old 05-14-2011 , 13:00   [ANY] Outdated do?
Reply With Quote #1

Description:
This plugin, simple do one of the following items listed under sm_outdated_do when Steam master servers report that your server is outdated..
Now also execute cfg/outdated.cfg..

Should work on all games, where SteamTools are supported, and
Code:
forward Action:Steam_RestartRequested();
work.
Cvars:
  • sm_outdated_version 1.1 - Outdated do? version..
  • sm_outdated_do 2 - Specific what to do when 'your server is reported outdated'
    • 0 = Disabled
    • 1 = Create need.update
    • 2 = Create need.update if no players or only bots
    • 3 = same as 1 but also shutdown the server
    • 4 = same as 2 but also shutdown the server

Installation:
  • Install SteamTools if not already installed
  • Move outdated-do.smx into you Sourcemod/plugins folder
TODO:
  • More options for sm_outdated_do (some ideas?)
Compil:
  • Require SteamTools include file to compile
Changelog:
Code:
2011-07-16 (v1.1)
Now execute cfg/outdated.cfg if found, on "sm_outdated_do"..
2011-05-14 (v1.0)
Initial release.
Attached Files
File Type: sp Get Plugin or Get Source (outdated-do.sp - 1001 views - 1.6 KB)
File Type: smx outdated-do.smx (2.7 KB, 1145 views)

Last edited by klausenbusk; 07-16-2011 at 08:27.
klausenbusk is offline