Raised This Month: $ Target: $400
 0% 

[L4D2] Auto Restart Server


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
A1ekin
Member
Join Date: Jul 2021
Old 07-27-2022 , 20:15   [L4D2] Auto Restart Server
Reply With Quote #1

Hello

Help me please

I want my L4D2 dedicated server to reboot daily at a certain time
I wrote a plugin to warn the players about the restart, but I didn't manage to figure out how to force the server to restart automatically.

Help if you know any suitable script or plugin

P.S. Server installed on Ubuntu 20.04.3 LTS
A1ekin is offline
alasfourom
Senior Member
Join Date: Feb 2022
Old 07-27-2022 , 23:44   Re: [L4D2] Auto Restart Server
Reply With Quote #2

Use This:

Restart Empty Server

You can adjust your restart time when its empty

Last edited by alasfourom; 07-27-2022 at 23:49.
alasfourom is offline
A1ekin
Member
Join Date: Jul 2021
Old 07-28-2022 , 08:49   Re: [L4D2] Auto Restart Server
Reply With Quote #3

Quote:
Originally Posted by alasfourom View Post
Use This:

Restart Empty Server

You can adjust your restart time when its empty
Thanks
I will check it today

For some reason I couldn't find this plugin.
A1ekin is offline
A1ekin
Member
Join Date: Jul 2021
Old 07-29-2022 , 13:03   Re: [L4D2] Auto Restart Server
Reply With Quote #4

Quote:
Originally Posted by alasfourom View Post
It's not exactly what I need
I need the server to restart automatically at a specific time, regardless of whether there were players on it or not recently, and regardless of whether they are there now or not
A1ekin is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 07-29-2022 , 15:01   Re: [L4D2] Auto Restart Server
Reply With Quote #5

Did you try?
https://forums.alliedmods.net/showthread.php?t=87291
Note: The hour may be not the same as the server depending on where you host.

If don't work try searching here:
https://www.sourcemod.net/plugins.ph...start&search=1
__________________

Last edited by Marttt; 07-29-2022 at 15:02.
Marttt is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine
Old 08-05-2022 , 15:29   Re: [L4D2] Auto Restart Server
Reply With Quote #6

Double my answer from PM:

For: Restart Empty Server

you may use following ConVars:
Code:
sm_restart_empty_force_hour_start 5
sm_restart_empty_force_hour_end 6
to make forcible server restart between 5 and 6 AM.
Restart will only happen, if somebody disconnect from server during this period.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch)
[My plugins] [My tools] [GitHub] [Articles] [Donate]
Dragokas 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 16:26.


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