About Smart Anti Team
SmartAntiTeam is an advanced anti-teaming detection and automatic moderation system for Rust servers. It employs multiple sophisticated detection methods, automated ban capabilities, and real-time Discord integration to maintain fair gameplay by preventing team limit violations.
Main Features
-
Multi-Layer Detection System: Utilizes proximity tracking, team kill analysis, authorization monitoring, vehicle sharing detection, and Steam friends verification to identify teaming violations.
-
Intelligent Auto-Moderation: Features a weighted scoring system that automatically evaluates evidence and issues bans through Battlemetrics integration or native server bans.
-
Advanced Proximity Tracking: Continuously monitors player positions, tracking proximity time and suspicious movement patterns with configurable distance requirements.
-
Team Kill Detection: Analyzes weapon angles, distances, and positioning during PvP encounters to detect coordinated attacks.
-
Authorization Monitoring: Tracks code lock, cupboard, and turret authorizations to identify groups exceeding the team limit.
-
Discord Integration: Sends detailed alerts with rich embeds, severity indicators, and player profiles directly to Discord channels.
-
Auto Demo Recording: Integrates with AutoDemoRecord plugin to automatically capture evidence when violations are detected.
-
Raid Watch System: Deploys intelligent watchers during raids to detect coordinated base attacks in real-time.
-
Steam Friends Integration: Validates player relationships through Steam API to distinguish between legitimate friends and suspicious associations.
-
Performance Optimized: Built with object pooling, coroutines, and caching systems to maintain minimal server impact.
Detection Methods
-
Proximity & Combat Analysis
- Continuous proximity tracking with time-based analysis
- Team kill detection using geometric analysis of weapon angles and distances
- Raid coordination detection during base attacks
- Kill correlation with proximity data for enhanced accuracy
-
Base & Vehicle Sharing
- Code lock, cupboard, and turret authorization monitoring
- Shared vehicle usage detection
- Cross-reference validation across multiple events
- Safe zone exclusions to prevent false positives
-
Social & Relationship Tracking
- Steam friends verification with minimum duration requirements
- Team invitation and relationship monitoring
- Clan integration to exclude legitimate members
- Alert deduplication and cooldown systems
Auto-Moderation System
-
Weighted Scoring: Each detection method has configurable weight values that combine to trigger automatic actions when thresholds are exceeded.
-
Ban Management: Full Battlemetrics API integration for organization-wide bans, or native server bans as alternative.
-
Progressive Enforcement: Tracks violation history and escalates consequences for repeat offenders with comprehensive evidence logging.
Permissions
-
SmartAntiTeam.admin: Grants access to administrative commands and detection bypass.
Chat Commands
-
/prox <player1> <player2>: Displays proximity statistics between two players.
-
/alerts <player1> <player2>: Shows alert history between two players.
Config
{ "General Settings": { "ServerName": "default", "GroupLimit": 3, "AdminBypass": true }, "Detection Systems": { "Proximity": { "Enabled": true, "SaveToFile": true, "WipeFileOnWipe": true, "TrackKills": true, "HasToBeVisible": false, "ProximityDistance": 20, "ProximityKillTrigger": 3.0, "ProximityKillWeight": 0.3, "ProximityTimeTrigger": 900.0, "ProximityTimeWeight": 0.3 }, "ProximityKills": { "MaximumDistance": 5.0, "MaximumHeight": 3.0, "MaximumAngle": 140.0, "MinimumDistanceToTarget": 20 }, "SteamFriends": { "Enabled": true, "MinimumFriendTime": 0, "Weight": 0.5, "SteamAPIKey": "" } }, "Alert & Notification Settings": { "Webhooks": { "AlertsWebhook": "", "ReportWebhook": "", "ReportColor": 16711680, "RoleID": "" }, "DemoRecording": { "Enabled": false, "demoLength": 2 } }, "Auto Moderation Settings": { "AutoBanRules": { "EnableAutoBan": false, "TeamBan": true, "NativeBan": false, "BattlemetricsBan": true, "AutoBanWebhook": "", "AutoBanColor": 0, "AutoBanWeight": 1.0, "BanLength": 7, "Parameters": { "Code Lock": { "Weight": 0.5, "Enabled": true, "Stackable": false, "AutoDemoRecord": false, "DontShowAlone": false, "SendDiscordAlert": true, "AlertColor": 3211078 }, "Cupboard": { "Weight": 0.1, "Enabled": true, "Stackable": false, "AutoDemoRecord": false, "DontShowAlone": false, "SendDiscordAlert": true, "AlertColor": 9068544 }, "Looting": { "Weight": 0.2, "Enabled": true, "Stackable": true, "AutoDemoRecord": true, "DontShowAlone": false, "SendDiscordAlert": true, "AlertColor": 2692351 }, "Relationship Alert": { "Weight": 0.2, "Enabled": true, "Stackable": false, "AutoDemoRecord": true, "DontShowAlone": true, "SendDiscordAlert": true, "AlertColor": 11544319 }, "Revive": { "Weight": 0.1, "Enabled": true, "Stackable": true, "AutoDemoRecord": true, "DontShowAlone": true, "SendDiscordAlert": true, "AlertColor": 1374463 }, "Shared Vehicle": { "Weight": 0.3, "Enabled": true, "Stackable": false, "AutoDemoRecord": true, "DontShowAlone": false, "SendDiscordAlert": true, "AlertColor": 5177482 }, "Team Accept": { "Weight": 0.4, "Enabled": true, "Stackable": false, "AutoDemoRecord": true, "DontShowAlone": false, "SendDiscordAlert": true, "AlertColor": 1376116 }, "Team Kill": { "Weight": 0.5, "Enabled": true, "Stackable": true, "AutoDemoRecord": true, "DontShowAlone": false, "SendDiscordAlert": true, "AlertColor": 16711680 }, "Team Raid": { "Weight": 0.5, "Enabled": true, "Stackable": true, "AutoDemoRecord": true, "DontShowAlone": false, "SendDiscordAlert": true, "AlertColor": 0 }, "Turret": { "Weight": 0.3, "Enabled": true, "Stackable": false, "AutoDemoRecord": false, "DontShowAlone": true, "SendDiscordAlert": true, "AlertColor": 16749588 } } }, "TempBans": { "Enabled": false, "MinutesInGroup": 3, "BanLength": 10, "BanMessage": "Temp banned for violating the group limit", "TempBanWebhook": "", "TempBanColor": 1374463 }, "BanConfig": { "Token": "", "BanlistID": "", "BanReason": "Banned for teaming, banned for {{timeLeft}}", "Note": "Automated teaming ban, proof =>" } } }