//====
// HLGuard Internet Mode Config file
//====

//=====
// Sets the hlg_cfgversion cvar for outside identification
//=====
hlg_cfgversion "HLG 1.9 (Net)"

//=====
// Alias scanning speed settings
//=====
hlg_frequency 0.5	// Default: 0.5	// Idle in seconds between every check
hlg_scandelay_min 180	// Default: 180	// Minimum time HLGuard waits before starting new scan.
hlg_scandelay_max 300	// Default: 300	// Maximum time HLGuard waits before starting new scan.

//=====
// Detection flags
//=====
hlg_bfflags "t"		// Flags to link with Rapid/Burstfire detections
hlg_sbflags "hs"	// Flags to link with Steambans check
hlg_nbflags "wsk"	// Flags to link with Rapid Name Change detection
hlg_swgflags "t"	// Flags to link with SWG "Jump-Through-Ceiling" bug abuse

//=====
// Alias Detection Actions
//=====
// b - Say, Log and ban permanent
hlg_action "b:found" "hlg_writefile %L/detectionlist.txt;hlg_write \'%d %h [HLGUARD %g] -> %n<%w><%i> <%y> on %m <permanent ban>\'"
hlg_action "b:found" "hlg_writefile %L/detectionlist.htm;hlg_write \'%d %h [HLGUARD %g] -> <b>%n</b>(<b>%w</b>)(<b>%i</b>) <b>%y</b> on <b>%m</b> (permanent ban)<br>\'"
hlg_action "b:found" "hlg_log \'%n<%w><%i> triggered <%y>\'"
hlg_action "b:found" "hlg_say \'[HLGUARD] Violation by %n(%w)\';hlg_say \'[HLGUARD] Violation: %y\';hlg_say \'[HLGUARD] Punishment: Permanent ban\'"
hlg_action "b:found:10" "banid 0.0 %w;kick #%u [HLGUARD] Banned: Permanently. Reason: %y;wait;writeid" 
//=====
// Amxbans - permanent
// hlg_action "b:found" "amx_ban 0 %w [HLGUARD] %y"
//=====

// t - Say, Log and ban for 24 hours
hlg_action "t:found" "hlg_writefile %L/detectionlist.txt;hlg_write \'%d %h [HLGUARD %g] -> %n<%w><%i> <%y> on %m <24 hours ban>\'"
hlg_action "t:found" "hlg_writefile %L/detectionlist.htm;hlg_write \'%d %h [HLGUARD %g] -> <b>%n</b>(<b>%w</b>)(<b>%i</b>) <b>%y</b> on <b>%m</b> (24 hours ban)<br>\'"
hlg_action "t:found" "hlg_log \'%n<%w><%i> triggered <%y>\'"
hlg_action "t:found" "hlg_say \'[HLGUARD] Violation by %n(%w)\';hlg_say \'[HLGUARD] Violation: %y\';hlg_say \'[HLGUARD] Punishment: 24 hours ban\'"
hlg_action "t:found:10" "banid 1440.0 %w;kick #%u [HLGUARD] Banned: 24 hours. Reason: %y;wait;writeid"
//======
// Amxbans - 24 hours
// hlg_action "t:found" "amx_ban 1440 %w [HLGUARD] %y"
//======

// k - Kick
hlg_action "k:found:1" "kick #%u [HLGUARD] You have been kicked. Reason: %y"
// w - Log
hlg_action "w:found" "hlg_writefile %L/detectionlist.txt;hlg_write \'%d %h [HLGUARD %g] -> %n<%w><%i> <%y> on %m\'"
hlg_action "w:found" "hlg_writefile %L/detectionlist.htm;hlg_write \'%d %h [HLGUARD %g] -> <b>%n</b>(<b>%w</b>)(<b>%i</b>) <b>%y</b> on <b>%m</b><br>\'"
hlg_action "w:found" "hlg_log \'%n<%w><%i> triggered <%y>\'"
// s - Say
hlg_action "s:found" "hlg_say \'[HLGUARD] Violation by %n(%w)\';hlg_say \'[HLGUARD] Violation: %y\'"

//=====
// Steambans check actions
//=====
hlg_action "h:found" "hlg_writefile %L/blacklisted.txt;hlg_write \'%d %h [HLGUARD %g] -> %n<%w><%i>\'"
hlg_action "h:found" "hlg_log \'%n<%w><%i> triggered <%y>\'"
hlg_action "h:found:10" "banid 1440.0 %w;kick #%u [HLGUARD] Banned: 24 hours. Reason: You are SteamBans blacklisted! Visit www.steambans.com for more information;wait;writeid"
//=====
// Amxbans - Steambans
// hlg_action "h:found" "amx_ban 1440 %w [HLGUARD] Steambans blacklisted"
//=====

//=====
// Nameban Actions
//=====
hlg_action "p:found" "hlg_log \'%n<%w><%i> triggered <%y>\'"
hlg_action "p:found" "hlg_writefile %L/namebanlist.txt;hlg_write \'%d %h [HLGUARD %g] -> %n<%w><%i> <%y><%N> on %m <kick>\'"
hlg_action "p:found" "hlg_say \'[HLGUARD] Violation by %n(%w)\';hlg_say \'[HLGUARD] Violation: %y\';hlg_say \'[HLGUARD] Punishment: Kick\'"
hlg_action "q:found" "hlg_log \'%n<%w><%i> triggered <%y>\'"
hlg_action "q:found" "hlg_writefile %L/namebanlist.txt;hlg_write \'%d %h [HLGUARD %g] -> %n<%w><%i> <%y><%N> on %m <2 hours ban>\'"
hlg_action "q:found" "hlg_say \'[HLGUARD] Violation by %n(%w) detected!\';hlg_say \'[HLGUARD] Violation: %y\';hlg_say \'[HLGUARD] Punishment: 2 hours ban\'"
hlg_action "q:found:10" "banid 120.0 %w;kick #%u [HLGUARD] Banned: 2 hours. Reason: %y;wait;writeid"
//=====
// Amxbans - Nameban
// hlg_action "q:found:10" "amx_ban 120 %w [HLGUARD] %y"
//=====