Detections
Detections are collected for each player
Last updated
Detections are collected for each player
Last updated
Each detection has a predefined identifier. Unknown identifiers will be ignored. admin_manual
will always get accepted.
Returns if this detection can be triggered by a specific player. This prevents a detection occuring multiple times for one player and enables you to temporary ignore a detection. This is already done inside and .
(Player|SteamID32|SteamID64) player
(String) detectionIdentifier
(Boolean) allowed - false
if detection should not be handeled, true
otherwise
Adds a detection for a player. Detections will display within the admin menus 'Players Online' tab. Will run hook swatch_config_detection
(Player|SteamID32|SteamID64) player
(String) detectionIdentifier
(String) description (optional)
(Player|SteamID32|SteamID64) player
(Table) detections - {}
if no detections found
(Table) detectionDescriptions - contains identifier, description and time of detection. Will persist even after sWatch.clearDetections.
(Number) detectionCount