Raised This Month: $ Target: $400
 0% 

Any plugin that will restart server at a time?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 03-02-2014 , 17:24   Any plugin that will restart server at a time?
Reply With Quote #1

Anybody know of a plugin that restarts a TF2, or any Source server at a set time (ex. midnight)?

Last edited by Sarabveer; 03-02-2014 at 17:24.
Sarabveer is offline
ArabicMan
Veteran Member
Join Date: Feb 2014
Location: مصر
Old 03-02-2014 , 18:15   Re: Any plugin that will restart server at a time?
Reply With Quote #2

search for program for that or script if linux
ArabicMan is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 03-02-2014 , 18:56   Re: Any plugin that will restart server at a time?
Reply With Quote #3

server crontab plugin that executes _restart every 24 hours?
WildCard65 is offline
ArabicMan
Veteran Member
Join Date: Feb 2014
Location: مصر
Old 03-02-2014 , 19:01   Re: Any plugin that will restart server at a time?
Reply With Quote #4

Any plugin can stop server only. start it again can't because amxmodx will be down.
ArabicMan is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 03-02-2014 , 19:32   Re: Any plugin that will restart server at a time?
Reply With Quote #5

Quote:
Originally Posted by ArabicMan View Post
Any plugin can stop server only. start it again can't because amxmodx will be down.
AMXX != SourceMod
AMXX is for HL1(hlds)(CS, DOD, TFC, etc)
Sourcemod is for HL2 or Source Games(srcds)(TF2, CS:S, CS:GO, L4D I believe, L4D2, etc)
Also _restart will work for linux cause linux srcds_run will auto restart the server.
Edit: OP, what os you using?
Edit2: Gotten straight from Ubuntu 13.10 terminal, screen session of srcds_run:
PHP Code:
_restart
L 03
/02/2014 19:33:26: [METALoaded 0 plugins (1 already loaded)
L 03/02/2014 19:33:26"Replay<206><BOT><>" disconnected (reason "Server shutting down")
Dropped Replay from server (Server shutting down)
L 03/02/2014 19:33:26server_message"quit"
L 03/02/2014 19:33:26Log file closed
L 03
/02/2014 19:33:26server_message"restart"
L 03/02/2014 19:33:28server_cvar"backpack_tf_version" "2.7.1"
L 03/02/2014 19:33:28server_cvar"custom_chat_colors_version" "3.0.1"
L 03/02/2014 19:33:28server_cvar"no_enemy_in_spawn_version" "1.2.1"
L 03/02/2014 19:33:30Log file closed.
L 03/02/2014 19:33:30Error log file session closed.
Sun Mar  2 19:33:38 EST 2014Server restart in 10 seconds 

Last edited by WildCard65; 03-02-2014 at 19:34.
WildCard65 is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 03-02-2014 , 19:34   Re: Any plugin that will restart server at a time?
Reply With Quote #6

https://forums.alliedmods.net/showthread.php?t=236314

Pretty sure that's exactly what you're looking for.
If you're using a Linux distro, do a cronjob instead.
Maxximou5 is offline
Dino Penis
SourceMod Donor
Join Date: Apr 2010
Old 03-02-2014 , 21:00   Re: Any plugin that will restart server at a time?
Reply With Quote #7

You can use use event viewer if you are using to start a .bat which can kill all srcds.exe's. Then use a automated server restarter to restart if the server has been down

Last edited by Dino Penis; 03-02-2014 at 21:00.
Dino Penis is offline
ArabicMan
Veteran Member
Join Date: Feb 2014
Location: مصر
Old 03-03-2014 , 02:45   Re: Any plugin that will restart server at a time?
Reply With Quote #8

Quote:
Originally Posted by WildCard65 View Post
AMXX != SourceMod
AMXX is for HL1(hlds)(CS, DOD, TFC, etc)
Sourcemod is for HL2 or Source Games(srcds)(TF2, CS:S, CS:GO, L4D I believe, L4D2, etc)
Also _restart will work for linux cause linux srcds_run will auto restart the server.
Edit: OP, what os you using?
Edit2: Gotten straight from Ubuntu 13.10 terminal, screen session of srcds_run:
PHP Code:
_restart
L 03
/02/2014 19:33:26: [METALoaded 0 plugins (1 already loaded)
L 03/02/2014 19:33:26"Replay<206><BOT><>" disconnected (reason "Server shutting down")
Dropped Replay from server (Server shutting down)
L 03/02/2014 19:33:26server_message"quit"
L 03/02/2014 19:33:26Log file closed
L 03
/02/2014 19:33:26server_message"restart"
L 03/02/2014 19:33:28server_cvar"backpack_tf_version" "2.7.1"
L 03/02/2014 19:33:28server_cvar"custom_chat_colors_version" "3.0.1"
L 03/02/2014 19:33:28server_cvar"no_enemy_in_spawn_version" "1.2.1"
L 03/02/2014 19:33:30Log file closed.
L 03/02/2014 19:33:30Error log file session closed.
Sun Mar  2 19:33:38 EST 2014Server restart in 10 seconds 
I'am mean any server not hl only (sorry i'am not playing CSS)
ArabicMan is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 03-03-2014 , 04:14   Re: Any plugin that will restart server at a time?
Reply With Quote #9

Then you're in the wrong section. This is for SRCDS.
Any server would be done via batch files or Linux scripting.
Maxximou5 is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 03-03-2014 , 11:18   Re: Any plugin that will restart server at a time?
Reply With Quote #10

Quote:
Originally Posted by ArabicMan View Post
I'am mean any server not hl only (sorry i'am not playing CSS)
Note that the OP wants it restarted, not shutdown and started. Amxx and SM can both accomplish this
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou 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 04:33.


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