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
g_apiKey=CreateConVar("sm_vac_api_key", "", "Your Steam Web API Key", FCVAR_PROTECTED);
59
60
g_vacMaxAge=CreateConVar("sm_vac_max_age", "2555", "The minimum age (in days) of a VAC/game ban before it is forgiven. (0 = Never)", FCVAR_PROTECTED, true, 0.0);
61
+
g_penaltyType=CreateConVar("sm_vac_penalty_type", "1", "How to remove the player. 0 = kick, 1 = ban", FCVAR_PROTECTED, true, 0.0, true, 1.0);
60
62
g_maxBanCount=CreateConVar("sm_vac_max_bans", "2", "The maximum forgivable number of old bans.", FCVAR_PROTECTED, true, 0.0);
61
63
g_banLength=CreateConVar("sm_vac_ban_length", "-1", "Duration of server ban for VAC'd accounts. (In days. -1 = until 'max age', 0 = permanent)", FCVAR_PROTECTED, true, -1.0);
62
64
@@ -199,12 +201,22 @@ public void BanCheckCallback(Handle req, bool failure, bool requestSuccessful, E
199
201
#if defined DEBUG
200
202
LogMessage("Would have banned '%L' for '%i' days.", client, banDuration/1440);
0 commit comments