mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-01-20 00:24:49 +00:00
Integrated Hard Restart
Configurable in serverPrefs Off by default
This commit is contained in:
parent
e6af4d968b
commit
c5c670eca4
|
|
@ -37,6 +37,8 @@ $Host::ClassicChatLogPath = "logs/Chat/";
|
|||
$Host::ClassicConnectLog = 1;
|
||||
$Host::ClassicConnLogPath = "logs/Connect/Connect.log";
|
||||
$Host::ClassicCycleMisTypes = 0;
|
||||
$Host::ClassicDailyHardRestart = 0;
|
||||
$Host::ClassicDailyHardRestartTime = "10\t00\tam";
|
||||
$Host::ClassicEchoChat = 0;
|
||||
$Host::ClassicEvoStats = 1;
|
||||
$Host::ClassicFairTeams = 1;
|
||||
|
|
|
|||
|
|
@ -241,8 +241,8 @@ function CreateServer(%mission, %missionType)
|
|||
|
||||
// Auto Daily Hard Server Restart at a specific time
|
||||
// getTimeDif from zDarkTigerStats.cs
|
||||
if($dtStats::version)
|
||||
schedule(getTimeDif("10\t00\tam"),0,"quit"); //10AM server time
|
||||
if($dtStats::version && $Host::ClassicDailyHardRestart)
|
||||
schedule(getTimeDif($Host::ClassicDailyHardRestartTime),0,"quit");
|
||||
}
|
||||
|
||||
function initGameBots( %mission, %mType )
|
||||
|
|
|
|||
|
|
@ -205,6 +205,8 @@ $Host::VoteCooldown = 120; //Time cooldown that dosnt allow a play
|
|||
$Host::VoteDelayTime = 120; //Delay the ability to vote (For everyone) at the beginning of the match (120 is 2 minutes)
|
||||
$Host::ClassicTeamKillLog = 1; //Enable/Disable Teamkill Logging
|
||||
$Host::ClassicTeamKillLogPath = "logs/TeamKills/teamkills.log"; //TeamKill Log Path
|
||||
$Host::ClassicDailyHardRestart = 0; //Enable/Disable Daily Hard Restart
|
||||
$Host::ClassicDailyHardRestartTime = "10\t00\tam"; //Hard Restart Server Time Ex:10am
|
||||
|
||||
//LakRabbit
|
||||
$Host::LakRabbitUnlimitedDJ = 1; //Unlimited disc-jumps if enabled
|
||||
|
|
|
|||
Loading…
Reference in a new issue