You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9209223
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: addons/sourcemod/scripting/sm_RestartEmpty.sp
+3-10Lines changed: 3 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -88,8 +88,8 @@ public void OnPluginStart()
88
88
( g_ConVarDeltaUTC=CreateConVar("sm_restart_empty_utc_delta", "0.0", "If your server has incorrect time, you can set UTC correction hours here (they will be appended to a server time)", CVAR_FLAGS)).AddChangeHook(OnCvarChanged);
89
89
( g_ConVarStartRandomMap=CreateConVar("sm_restart_empty_server_start_changemap", "0", "When server restarted, change map to the random one from the file: data/restart_empty_maps.txt (1 - Yes / 0 - No)", CVAR_FLAGS)).AddChangeHook(OnCvarChanged);
90
90
( g_ConVarCheckPlugins=CreateConVar("sm_restart_empty_check_plugins", "1", "Check loaded plugins count every 30 minutes and restart if less than min plugins (1 - On / 0 - Off)", CVAR_FLAGS)).AddChangeHook(OnCvarChanged);
91
-
( g_ConVarMinPlugins=CreateConVar("sm_restart_empty_min_plugins", "5", "Minimum number of loaded plugins required, restart if less (default: 5)", CVAR_FLAGS)).AddChangeHook(OnCvarChanged);
92
-
( g_ConVarCheckInterval=CreateConVar("sm_restart_empty_check_interval", "1800", "Check interval in seconds for plugin count check (default: 1800 = 30 minutes)", CVAR_FLAGS)).AddChangeHook(OnCvarChanged);
91
+
( g_ConVarMinPlugins=CreateConVar("sm_restart_empty_min_plugins", "80", "Minimum number of loaded plugins required, restart if less (default: 5)", CVAR_FLAGS)).AddChangeHook(OnCvarChanged);
92
+
( g_ConVarCheckInterval=CreateConVar("sm_restart_empty_check_interval", "600", "Check interval in seconds for plugin count check (default: 1800 = 30 minutes)", CVAR_FLAGS)).AddChangeHook(OnCvarChanged);
0 commit comments