I will try to keep going with this as fast as possible. If anyone would like to add or suggest things please do so.
I'm putting everything I know and what I can find in these forums. If there is something I forget or need to add please let me know.
SourceMod Anti Cheat : SMAC
Description:
While Kigen has decided to leave the Allied Modders community and drop support for Source Mod in general, there's little reason for his plugin to disappear with him. Development and maintenance of his plugin will be taken over by anyone who wishes to contribute to the project, and as such, the plugin has been renamed to SourceMod Anti Cheat.
Features:
SMAC has many features. One of these features is to enforce cvar values.
This is a current list of all the predefind cvar's that SMAC looks for for.
Code:
Each cvar wil be in this format - Cvarname "value it must be" (If not what will happen.)
These are commands clients should have at all.
0penscript (Ban)
bat_version (Kick)
beetlesmod_version (Kick)
est_version (Kick)
eventscripts_ver (Kick)
fm_attackmode (Ban)
lua_open (Ban)
Lua-Engine (Ban)
mani_admin_plugin_version (Kick)
ManiAdminHacker (Ban)
ManiAdminTakeOver (Ban)
metamod_version (Kick)
openscript (Ban)
openscript_version (Ban)
runnscript (Ban)
SmAdminTakeover (Ban)
sourcemod_version (Kick)
tb_enabled (Ban)
zb_version (Kick)
These are the rest of the commands that SMAC looks for
sv_cheats "0" (Ban)
sv_consistency "1" (Ban)
//sv_gravity "800" (Ban) Do not use if you have a mod that changes per player gravity.
r_drawothermodels "1" (Ban)
cl_clock_correction "1" (Ban)
cl_leveloverview "0" (Ban)
cl_overdraw_test "0" (Ban)
cl_particles_show_bbox "0" (Ban)
cl_phys_timescale "1" (Ban)
cl_showevents "0" (Ban)
fog_enable "1" (Ban)
host_timescale "1" (Ban)
mat_dxlevel "80.0 or Higher" (Kick)
mat_fillrate "0" (Ban)
mat_measurefillrate "0" (Ban)
mat_proxy "0" (Ban)
mat_showlowresimage "0" (Ban)
mat_wireframe "0" (Ban)
mem_force_flush "0" (Ban)
snd_show "0" (Ban)
snd_visualize "0" (Ban)
r_aspectratio "0" (Ban)
r_colorstaticprops "0" (Ban)
r_DispWalkable "0" (Ban)
r_DrawBeams "1" (Ban)
r_drawbrushmodels "1" (Ban)
r_drawclipbrushes "0" (Ban)
r_drawdecals "1" (Ban)
r_drawentities "1" (Ban)
r_drawmodelstatsoverlay "0" (Ban)
r_drawopaqueworld "1" (Ban)
r_drawparticles "1" (Ban)
r_drawrenderboxes "0" (Ban)
r_drawskybox "1" (Ban)
r_drawtranslucentworld "1" (Ban)
r_shadowwireframe "0" (Ban)
r_skybox "1" (Ban)
r_visocclusion "0" (Ban)
vcollide_wireframe "0" (Ban)
Another one of thoes featues is to ignore CMD entrees.
That same moudlue will also let you add CMDs to the Ignore spam list.
Code:
Each CMD wil be in this format - Command (what will happen if they try to use that cmd.)
These are commands clients wont be able to execute.
ai_test_los (Blocked)
changelevel (Ban)
cl_fullupdate (Blocked)
dbghist_addline (Blocked)
dbghist_dump (Blocked)
drawcross (Blocked)
drawline (Blocked)
dump_entity_sizes (Blocked)
dump_globals (Blocked)
dump_panels (Blocked)
dumpcountedstrings (Blocked)
dumpentityfactories (Blocked)
dumpeventqueue (Blocked)
dumpgamestringtable (Blocked)
editdemo (Blocked)
endround (Blocked)
groundlist (Blocked)
listmodels (Blocked)
map_showspawnpoints (Blocked)
mem_dump (Blocked)
mp_dump_timers (Blocked)
npc_ammo_deplete (Blocked)
npc_heal (Blocked)
npc_speakall (Blocked)
npc_thinknow (Blocked)
physics_budget (Blocked)
physics_debug_entity (Blocked)
physics_highlight_active (Blocked)
physics_report_active (Blocked)
physics_select (Blocked)
q_sndrcn (Ban)
report_entities (Blocked)
report_touchlinks (Blocked)
report_simthinklist (Blocked)
respawn_entities (Blocked)
rr_reloadresponsesystems (Blocked)
scene_flush (Blocked)
send_me_rcon (Ban)
snd_digital_surround (Blocked)
snd_restart (Blocked)
soundlist (Blocked)
soundscape_flush (Blocked)
sv_benchmark_force_start (Blocked)
sv_findsoundname (Blocked)
sv_soundemitter_filecheck (Blocked)
sv_soundemitter_flush (Blocked)
sv_soundscape_printdebuginfo (Blocked)
wc_update_entity (Blocked)
These are only registered in 'L4D & L4D2'
choose_closedoor (Ban)
choose_opendoor (Ban)
These CMDs are ignoered by the spam blocker
buy
buyammo1
buyammo2
use
Requirements:
SourceMod 1.3.7 or later
Sockets (Optional)
- Only needed if you plan to use the 'GLOBAL' ban list.
SDK Hooks (Optional)
- Only needed if you plan to use wallhack detection moudlue of SMAC.
A Gameserver in which to install this.
Convar's:- SMAC_VERSION_CVNAME
- Tells you which version of SMAC you are running
- smac_welcomemsg
- Should this plugin annouce that your server is protected by SMAC? Default "1"
- smac_ban_duration
- The length in minutes a player is banned by SMAC. (0 = perma ban) Default "0"
- smac_aimbot
- Enables or Disables the aimbot detection moudlue of SMAC. Default "1"
- smac_aimbot_ban
- How many times should SMac detect aimbot befor banning the player? Minimue is 4. Requires "smac_aimbot" to be set at 1. Default "0"
- smac_client_nameprotect
- Helps protect server from name crashers and hackers. Default "1"
- smac_client_antispamconnect
- Amount of time in seconds a player must wait befor rejoining your server. Default "0"
- smac_eyetest
- Enables or Disables the Eyetest moudle of SMAC. (0 = Disabled, 1 = Warn Admins, 2 = Ban) Default "1"
- smac_use_kac_banlist
- Should the global KAC ban list be used? (1 = Yes, 0 = No) Default "0"
- smac_rcon_crashprevent
- Enables or Disables the Rcon protection moudlue of SMAC. Default "0"
- smac_spinhack
- Enables or Disables the Spinhack detection moudle of SMAC. (0 = Disabled, 1 = Warn Admins, 2 = Ban) Default "1"
- smac_speedhack
- Enables or Disables the Speedhack provention moudlue of SMAC. Default "1"
- smac_cmds_enable
- Enables or Disables the Commands moudlue of SMAC. Default "1"
- smac_cmds_spam
- Amount of commands accepted in one second before kicking player. Default "30"
- smac_cmds_log
- Logs the command moudle actions in a logfile. Use only for debugging puposes. Default "0"
- smac_wallhack
- Enables or Disables the wallhack detection moudlue of SMAC. Default "1"
- smac_cvars_enable
- Enables or Disables the CVar checking moudlue of SMAC. Default "1"
Commands:- smac_addcvar
- Adds CVars to the checking system. While in game only admins with the "Z" flag may use this.
- The order of operatons goes like this. smac_addcvar <cvar name> <comparison type> <action> <value>
- CVar name can be any CVar. Comparison type can be one of the following : equal, greater, less, between.
- Comparison Type can be either : warn, motd, mute, kick, ban. Value is the value in which you want to inforce.
- I.E. = smac_addcvar sv_gravity equal ban 800.
- smac_removecvar
- Removes a CVar from the checking system. While in game only admins with the "Z" flag may use this.
- Usage of this command is as followed. smac_removecvar sv_gravity.
- smac_cvars_status
- This will display in console all the currently checked CVars in the system. All admins with the "B" flag may check this list.
- smac_addcmd
- Adds a CMD to a list that SMAC blocks from exucting. While in game only admins with the "Z" flag may use this.
- Usage of this command is as followed. smac_addcmd explode
- smac_addignorecmd
- Adds the CMD to the ignore spam list. While in game only admins with the "Z" flag may use this.
- Usage of this command is as followed. smac_addignorecmd impulse101
- smac_removecmd
- Removes a CMD from the list that SMAC blocks from exucting. While in game only admins with the "Z" flag may use this.
- Usage of this command is as followed. smac_removecmd explode
- smac_removeignorecmd
- Removes the CMD from the ignore spam list. While in game only admins with the "Z" flag may use this.
- Usage of this command is as followed. smac_removeignorecmd impulse101
Installation:[LIST=1][*]Download the current version of SMAC.[*]Shut down your server.[*]Extract the contents of the .zip into your '<moddir>/addons/sorucemod/'.[*]Restart your server.[*]Configure the auto-generated .cfg in '<moddir>/cfg/sorucemod/'.
ToDO:
GET SMAC INSTALLED ON ALL GAMING SERVERS
Known Issues:
Channel Log:
__________________