- pSilentAim / NoRecoil cheats
(logs detections to admins / STV / file, bans on
stac_max_psilent_detections
detections, defaults to 15) - plain aimsnap/aimbot cheats
(logs detections to admins / STV / file, bans on
stac_max_aimsnap_detections
detections, defaults to 25) - bhop cheats and scripts
(logs detections to admins / STV, bans on
stac_max_bhop_detections
detections + 2 (defaults to 10)
Note: After a client does stac_max_bhop_detections
tick perfect bhops (default 10), they will get "antibhopped". This will set their gravity to 8x and their velocity to 0. Cheating clients will get banned if they hold down their spacebar and successfully do 2 extra tick perfect bhops with 8x gravity, something that is functionally impossible for a human.
- fake eye angle violations
(logs detections to admins / STV, bans on
stac_max_fakeang_detections
detections, defaults to 10) - cmdnum spikes - used for lmaobox NoRecoil and other shenanigans
(logs detections to admins / STV, bans on
stac_max_cmdnum_detections
detections, defaults to 25) - interp/lerp abuse (some detection methods only available on default tickrate servers)
(kick if outside of values you set with
stac_min_interp_ms
andstac_max_interp_ms
) - clients using turn binds (can severely fuck up hitboxes)
(kick if
stac_max_allowed_turn_secs
is set to a value <= 0) - newlines in chat messages (ban)
- NoLerp cheats (ban)
- fov abuse > 90 || < 20 (fixes most cases, bans on blatant cvar changing)
- SOME third person cheats on clients (fixes some cases)
- certain fake item schema violations - i.e. "ben cat hats" (cheat that
can unequipused to unequip other people's hats) (ban)
Long story short: it was subject to false positives. I tested this, and thought Steam sanitized names, but it appears to only do so in the friends ui name change section, and NOT on the steamcommunity.com website. Any bans that have been recorded with this ban method should be removed. I HIGHLY RECOMMEND using something like JoinedSenses' RegexTriggers plugin to sanitize names to only contain ASCII characters, not only to fix possible sql issues with mismatched character sets / collation AND possibly sql injection, but also to prevent cheaters from using newlines and other malicious characters. Doing so in StAC would be outside the scope of this plugin.
This repo includes the latest version of J_Tanzanite's (author of another popular anticheat, LilAC) Backtrack Patch, available here. It is enabled by default, but to disable it, set stac_optimize_cvars
to 0
and jay_backtrack_enable
to 0
.
Instead of kicking clients who may be accidentally or purposefully pingmasking, I wrote a plugin to patch it and force clients to properly use the server specified cmdrate. This plugin is entirely optional, but is available in this repo as "fixpingmasking.smx".
This plugin is now compatible with Sourcemod Aimplotter, and automatically enables an aimplot on a client if they trigger an aim related detection.
This plugin currently reseeds the hl2 random seed at each map / tournament start and every 15 minutes to attempt to prevent possible nospread exploits by cheats guessing the server seed. This appears to work at least on NCC, but not lmaobox. Lmaobox is detected with cmdnum spikes, however.
- download latest version from here to your
/tf/addons/sourcemod/plugins
folder - download latest translation file from here to your
/tf/addons/sourcemod/translations
folder - restart your server
- wait 30 seconds
- edit
/tf/cfg/sourcemod/stac.cfg
to your liking. the recommended values are the default but feel free to change any of them to your liking. I personally use stricter values on my own servers. - restart your server again
You should be good to go!
This plugin is compatible with both SourceBans and the default TF2 ban handler, and auto detects which it should use. The plugin, by default, logs the currently recording demo (if one is recording) to the sourcebans ban message. To disable this, set stac_include_demoname_in_sb
to 0
.
This plugin logs (by default) to /tf/addons/sourcemod/logs/stac/stac_month_day_year.log. To disable this, set stac_log_to_file
to 0
False positives are always a possibility! Feel free to submit a bug report if you can reproduce a way to trigger false positives.
- break/ban for esp/wallhack shit (not thru painting but possibly with checking m_bGlowEnabled)
- fix spy decloak exploit / other soundscript exploits (STILL in the works)
- fix other sv pure stuff (flat / invisible textures)
- fix sniper scope removal exploit
- fix changing world visibility
LilAC: https://forums.alliedmods.net/showthread.php?t=321480
SMAC: https://github.com/Silenci0/SMAC
@Blueberryy - Russian Translation
@KsGoesCoding - Danish Translation