Raised This Month: $51 Target: $400
 12% 

[Request] Quit server for update


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dritz
Junior Member
Join Date: Jun 2011
Old 07-01-2011 , 17:51   [Request] Quit server for update
Reply With Quote #1

This should be pretty simple, but I'm looking for a plugin to quit the server when "Your server needs to be restarted..." comes up in console. I'm on linux, so I've got an autoupdate-on-quit bash script, and just need the server to stop so it can run the update. I tried searching, nothing came up.

Last edited by Dritz; 07-01-2011 at 17:52. Reason: accidently hit submit too early.
Dritz is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 07-02-2011 , 09:40   Re: [Request] Quit server for update
Reply With Quote #2

It's not possible to capture the console output in sourcemod.
__________________
Peace-Maker is offline
Kevin_b_er
SourceMod Donor
Join Date: Feb 2009
Old 07-02-2011 , 10:39   Re: [Request] Quit server for update
Reply With Quote #3

Much easier way with SteamTools. Write your own little plugin that looks at the Steam_RestartRequested forward.
__________________
Kevin_b_er is offline
Reply



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 08:11.


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