Anticheat Configuration

Default configuration file
ANTICHEAT = {
	AntiProps = {
		Enabled = true,
		BanLength = "p",
		BlacklistedProps = {
			["dt1_tc_ufocore"] = true,
			["dt1_tc_ufo_pivot"] = true,
			["stt_prop_ramp_jump_xl"] = true,
			["stt_prop_ramp_adj_hloop"] = true,
			["stt_prop_ramp_spiral_l_l"] = true,
			["stt_prop_ramp_adj_flip_mb"] = true,
			["stt_prop_ramp_spiral_xxl"] = true,
			["stt_prop_ramp_spiral_m"] = true,
			["stt_prop_ramp_spiral_l"] = true,
			["stt_prop_ramp_spiral_l_xxl"] = true,
			["xs_propint2_ramp_large"] = true,
			["stt_prop_ramp_jump_l"] = true,
			["stt_prop_ramp_adj_flip_s"] = true,
			["stt_prop_ramp_adj_loop"] = true,
			["stt_prop_ramp_jump_xxl"] = true,
			["stt_prop_ramp_jump_s"] = true,
			["stt_prop_ramp_adj_flip_sb"] = true,
			["stt_prop_ramp_multi_loop_rb"] = true,
			["stt_prop_stunt_ramp"] = true,
			["stt_prop_ramp_jump_xs"] = true,
			["xs_propint2_ramp_large_2"] = true,
			["stt_prop_ramp_adj_flip_m"] = true,
			["stt_prop_ramp_spiral_l_s"] = true,
			["stt_prop_ramp_spiral_l_m"] = true,
			["stt_prop_ramp_jump_m"] = true,
			["stt_prop_ramp_spiral_s"] = true,
			["stt_prop_race_start_line_03b"] = true,
			["stt_prop_race_start_line_03"] = true,
			["stt_prop_race_start_line_01b"] = true,
			["stt_prop_race_start_line_01"] = true,
			["stt_prop_race_start_line_02b"] = true,
			["stt_prop_race_start_line_02"] = true,
			["sr_prop_sr_track_block_01"] = true,
			["ar_prop_ar_stunt_block_01a"] = true,
			["sr_prop_stunt_tube_crn_5d_04a"] = true,
			["sr_prop_spec_tube_crn_05a"] = true,
			["sr_prop_spec_tube_s_04a"] = true,
			["sr_prop_stunt_tube_crn2_03a"] = true,
			["sr_prop_stunt_tube_crn_5d_03a"] = true,
			["sr_prop_spec_tube_refill"] = true,
			["sr_prop_spec_tube_crn_30d_01a"] = true,
			["sr_prop_spec_tube_crn_03a"] = true,
			["sr_prop_spec_tube_s_02a"] = true,
			["sr_prop_stunt_tube_xs_01a"] = true,
			["sr_prop_spec_tube_xxs_01a"] = true,
			["sr_prop_stunt_tube_crn2_05a"] = true,
			["sr_prop_stunt_tube_crn_15d_01a"] = true,
			["sr_prop_spec_tube_xxs_05a"] = true,
			["sr_prop_spec_tube_xxs_02a"] = true,
			["sr_prop_spec_tube_m_05a"] = true,
			["sr_prop_spec_tube_m_02a"] = true,
			["sr_prop_stunt_tube_xs_03a"] = true,
			["sr_prop_stunt_tube_crn_5d_02a"] = true,
			["sr_prop_spec_tube_l_05a"] = true,
			["sr_prop_stunt_tube_crn2_02a"] = true,
			["sr_prop_stunt_tube_crn_15d_02a"] = true,
			["sr_prop_spec_tube_crn_30d_03a"] = true,
			["sr_prop_stunt_tube_crn_5d_01a"] = true,
			["sr_prop_spec_tube_crn_30d_05a"] = true,
			["sr_prop_track_straight_l_d15"] = true,
			["sr_prop_track_straight_l_u5"] = true,
			["sr_prop_stunt_tube_crn_15d_03a"] = true,
			["sr_prop_stunt_tube_xs_04a"] = true,
			["sr_prop_track_straight_l_d5"] = true,
			["sr_prop_stunt_tube_crn_15d_04a"] = true,
			["sr_prop_track_straight_l_d30"] = true,
			["sr_prop_spec_tube_l_01a"] = true,
			["sr_prop_stunt_tube_crn2_01a"] = true,
			["sr_prop_sr_tube_wall"] = true,
			["sr_prop_spec_tube_crn_04a"] = true,
			["sr_prop_spec_tube_m_03a"] = true,
			["bkr_prop_biker_tube_xs"] = true,
			["ar_prop_ar_tube_xxs"] = true,
			["stt_prop_track_tube_01"] = true,
			["ar_prop_ar_tube_2x_xs"] = true,
			["bkr_prop_biker_tube_s"] = true,
			["ar_prop_ar_tube_4x_s"] = true,
			["ar_prop_ar_tube_4x_m"] = true,
			["bkr_prop_biker_tube_gap_01"] = true,
			["bkr_prop_biker_tube_l"] = true,
			["as_prop_as_tube_gap_03"] = true,
			["ar_prop_ar_tube_jmp"] = true,
			["bkr_prop_biker_tube_xxs"] = true,
			["ar_prop_ar_tube_4x_crn_5d"] = true,
			["ar_prop_ar_tube_4x_gap_02"] = true,
			["ar_prop_ar_tube_2x_xxs"] = true,
			["ar_prop_ar_tube_2x_crn"] = true,
			["ar_prop_ar_tube_2x_l"] = true,
			["stt_prop_stunt_tube_speed"] = true,
			["ba_prop_battle_tube_fn_05"] = true,
			["ar_prop_ar_tube_2x_crn2"] = true,
			["ba_prop_battle_tube_fn_01"] = true,
			["bkr_prop_biker_tube_crn2"] = true,
			["ar_prop_ar_tube_crn"] = true,
			["ar_prop_ar_tube_qg"] = true,
			["ar_prop_ar_tube_2x_crn_5d"] = true,
			["ar_prop_ar_tube_m"] = true,
			["stt_prop_stunt_tube_speedb"] = true,
			["ba_prop_battle_tube_fn_04"] = true,
			["ar_prop_ar_tube_crn_30d"] = true,
			["ar_prop_ar_tube_2x_gap_02"] = true,
			["bkr_prop_biker_tube_gap_02"] = true,
			["ar_prop_ar_tube_2x_crn_15d"] = true,
			["ar_prop_ar_tube_gap_02"] = true,
			["ar_prop_ar_tube_l"] = true,
			["bkr_prop_biker_tube_crn"] = true,
			["ar_prop_ar_tube_4x_crn_30d"] = true,
			["as_prop_as_tube_xxs"] = true,
			["ar_prop_ar_tube_crn2"] = true,
			["bkr_prop_biker_tube_cross"] = true,
			["ar_prop_ar_tube_4x_l"] = true,
			["ar_prop_ar_tube_4x_crn2"] = true,
			["ar_prop_ar_tube_2x_s"] = true,
			["ar_prop_ar_tube_s"] = true,
			["bkr_prop_biker_tube_m"] = true,
			["ar_prop_ar_tube_4x_crn_15d"] = true,
			["ar_prop_ar_tube_hg"] = true,
			["ar_prop_ar_tube_4x_crn"] = true,
			["ar_prop_ar_tube_cross"] = true,
			["ar_prop_ar_tube_2x_crn_30d"] = true,
			["bkr_prop_biker_tube_gap_03"] = true,
			["as_prop_as_tube_gap_02"] = true,
			["ar_prop_ar_tube_fork"] = true,
			["ar_prop_ar_tube_2x_m"] = true,
			["ar_prop_ar_tube_4x_xxs"] = true,
			["ar_prop_ar_tube_crn_15d"] = true,
			["stt_prop_track_tube_02"] = true,
			["ar_prop_ar_tube_speed"] = true,
			["ar_prop_ar_tube_crn_5d"] = true,
			["ba_prop_battle_tube_fn_03"] = true,
			["ar_prop_ar_tube_xs"] = true,
			["sr_prop_sr_tube_end"] = true,
			["ar_prop_ar_tube_4x_xs"] = true,
			["ba_prop_battle_tube_fn_02"] = true,
			["ap1_lod_slod4"] = true,
			["po1_lod_slod4"] = true,
			["ch3_lod_11b13_slod3"] = true,
			["ch3_lod_101114b_slod3"] = true,
			["vb_lod_slod4"] = true,
			["ch1_lod_slod3a"] = true,
			["ch1_lod_slod3c"] = true,
			["cs3_lod_1_slod3"] = true,
			["cs2_lod_06_slod3"] = true,
			["cs1_lod2_01_7_slod3"] = true,
			["dt1_lod_f1_slod3"] = true,
			["sp1_lod_slod4"] = true,
			["sm_lod_slod3"] = true,
			["bh1_lod_slod3"] = true,
			["hw1_lod_slod4"] = true,
			["id1_lod_slod4"] = true,
			["sc1_lod_slod4"] = true,
			["dt1_21_reflproxy"] = true,
			["cs4_lod_01_slod3"] = true,
			["cs3_lod_2_slod3"] = true,
			["cs5_lod_1_4_slod3"] = true,
			["ch3_lod_6_10_slod3"] = true,
			["cs6_lod_slod3_04"] = true,
			["cs6_lod_slod2_05"] = true,
			["cs6_lod_slod2_03"] = true,
			["cs1_lod3_terrain_slod3_01"] = true,
			["cs1_lod3_terrain_slod3_06"] = true,
			["cs2_lod_1234_slod3"] = true,
			["cs2_29_slod1"] = true,
			["cs1_14b_railbg01_d2"] = true,
			["cs1_14b_decal_007"] = true,
			["cs1_12_b01_d"] = true,
			["cs2_06c_lk_slod_01"] = true,
			["apa_mp_apa_yacht_win"] = true,
			["cs1_roadsa06_d"] = true,
			["hei_cs3_07_mil_decals07"] = true,
			["cs3_07_hanger04_lod"] = true,
			["dt1_11_slod1"] = true,
			["dt1_props_combo0110_slod"] = true,
			["dt1_21_slod"] = true,
			["dt1_02_slod"] = true,
			["dt1_05_lod "] = true,
			["dt1_03_build2top_lod"] = true,
			["ss1_11_slod"] = true,
			["sc1_06_carpark_lod"] = true,
			["sc1_08_det_04"] = true,
			["sc1_08_hdg1"] = true,
			["cs2_29_biolab127"] = true,
			["xm_prop_x17_osphatch_27m"] = true,
			["cs1_10_cablebld_d"] = true,
			["dt1_06_hospsignem"] = true,
			["dt1_19_lspd02_lod"] = true,
			["dt1_06_g1_detail"] = true,
			["dt1_rd1_r5h_slod1"] = true,
			["dt1_16_build006_decals"] = true,
			["dt1_18_build5_lod"] = true,
			["id2_rd_lod"] = true,
			["po1_03_brig2_noshad"] = true,
			["po1_sh1_sunk_lod"] = true,
			["cs1_07_sea_plane_13"] = true,
			["cs1_09_sea_ufo"] = true,
			["stt_prop_stunt_jump45"] = true,
			["stt_prop_stunt_jump30"] = true,
			["stt_prop_stunt_jump15"] = true,
			["stt_prop_stunt_bblock_huge_05"] = true,
			["stt_prop_stunt_bblock_hump_01"] = true,
			["stt_prop_stunt_bblock_hump_02"] = true,
			["stt_prop_stunt_bblock_huge_04"] = true,
			["stt_prop_stunt_bblock_huge_03"] = true,
			["stt_prop_stunt_bblock_huge_02"] = true,
			["stt_prop_stunt_bblock_huge_01"] = true,
			["stt_prop_stunt_landing_zone_01"] = true,
			["stt_prop_stunt_track_bumps"] = true,
			["stt_prop_stunt_track_cutout"] = true,
			["stt_prop_stunt_track_dwlink"] = true,
			["stt_prop_stunt_track_dwlink_02"] = true,
			["stt_prop_stunt_track_dwsh15"] = true,
			["stt_prop_stunt_track_dwshort"] = true,
			["stt_prop_stunt_track_dwslope15"] = true,
			["stt_prop_stunt_track_dwslope30"] = true,
			["stt_prop_stunt_track_dwslope45"] = true,
			["stt_prop_stunt_track_dwturn"] = true,
			["stt_prop_stunt_track_dwuturn"] = true,
			["stt_prop_stunt_track_exshort"] = true,
			["stt_prop_stunt_track_fork"] = true,
			["stt_prop_stunt_track_funlng"] = true,
			["stt_prop_stunt_track_funnel"] = true,
			["stt_prop_stunt_track_hill"] = true,
			["stt_prop_stunt_track_hill2"] = true,
			["stt_prop_stunt_track_jump"] = true,
			["stt_prop_stunt_track_link"] = true,
			["stt_prop_stunt_track_otake"] = true,
			["stt_prop_stunt_track_sh15"] = true,
			["stt_prop_stunt_track_sh30"] = true,
			["stt_prop_stunt_track_sh45"] = true,
			["stt_prop_stunt_track_sh45_a"] = true,
			["stt_prop_stunt_track_short"] = true,
			["stt_prop_stunt_track_slope15"] = true,
			["stt_prop_stunt_track_slope30"] = true,
			["stt_prop_stunt_track_slope45"] = true,
			["stt_prop_stunt_track_st_01"] = true,
			["stt_prop_stunt_track_st_02"] = true,
			["stt_prop_stunt_track_start"] = true,
			["stt_prop_stunt_track_start_02"] = true,
			["stt_prop_stunt_track_straight"] = true,
			["stt_prop_stunt_track_straightice"] = true,
			["stt_prop_stunt_track_turn"] = true,
			["stt_prop_stunt_track_turnice"] = true,
			["stt_prop_stunt_track_uturn"] = true,
			["stt_prop_stunt_tube_crn"] = true,
			["stt_prop_stunt_tube_crn2"] = true,
			["stt_prop_stunt_tube_crn_15d"] = true,
			["stt_prop_stunt_tube_crn_30d"] = true,
			["stt_prop_stunt_tube_crn_5d"] = true,
			["stt_prop_stunt_tube_cross"] = true,
			["stt_prop_stunt_tube_end"] = true,
			["stt_prop_stunt_tube_ent"] = true,
			["stt_prop_stunt_tube_fn_01"] = true,
			["stt_prop_stunt_tube_fn_02"] = true,
			["stt_prop_stunt_tube_fn_03"] = true,
			["stt_prop_stunt_tube_fn_04"] = true,
			["stt_prop_stunt_tube_fn_05"] = true,
			["stt_prop_stunt_tube_fork"] = true,
			["stt_prop_stunt_tube_gap_01"] = true,
			["stt_prop_stunt_tube_gap_02"] = true,
			["stt_prop_stunt_tube_gap_03"] = true,
			["stt_prop_stunt_tube_hg"] = true,
			["stt_prop_stunt_tube_jmp"] = true,
			["stt_prop_stunt_tube_jmp2"] = true,
			["stt_prop_stunt_tube_l"] = true,
			["stt_prop_stunt_tube_m"] = true,
			["stt_prop_stunt_tube_qg"] = true,
			["stt_prop_stunt_tube_s"] = true,
			["stt_prop_stunt_tube_xs"] = true,
			["stt_prop_stunt_tube_xxs"] = true,
			["stt_prop_stunt_wideramp"] = true,
		}
	},
	AntiExplosions = {
		Enabled = true,
		BanLength = "p",
		MaxPlaytime = 300, -- In minutes (Default : 5 hours)
		WhitelistedExplosions = {
			['BIRD_CRAP'] = true,
			['FIREWORK'] = true,
			['SNOWBALL'] = true,
		},
	},
	AntiVehiclesSpam = {
		Enabled = true,
		BanLength = "p",
		MaxPlaytime = 300, -- In minutes (Default : 5 hours)
	},
	AntiTriggerEvent = {
		Enabled = true,
		BanLength = "p",
		ProtectedClientEvents = {
			
		},
		ProtectedServerEvents = {
			
		},
	}
}
AntiProps = {
	Enabled = true,
	BanLength = "p",
	BlacklistedProps = {
		["dt1_tc_ufocore"] = true,
		[ ... ] = ... ,
	}
},

This module allows you to block the use of a particular prop. As soon as one of the props in this list is used, the prop will be deleted and the player banned for the duration set in BanLength.

AntiExplosions = {
	Enabled = true,
	BanLength = "p",
	MaxPlaytime = 300, -- In minutes (Default : 5 hours)
	WhitelistedExplosions = {
		['BIRD_CRAP'] = true,
		['FIREWORK'] = true,
		['SNOWBALL'] = true,
	},
},

The anti-explosion module checks the number of explosions caused by a player in a certain period of time. Over time, players become trusted. Therefore, by default, Madonn'Admin will no longer check the explosions of players with more than 300 minutes of play (by default, 5 hours, customizable in MaxPlaytime). Some explosions may not be counted.

AntiVehiclesSpam = {
    Enabled = true,
    BanLength = "p",
    MaxPlaytime = 300, -- In minutes (Default : 5 hours)
},

The anti-vehicle module works much the same as the anti-explosion module, except that it counts the vehicles without NPCs that a player spawns. Once a certain number has passed in a certain amount of time (kept confidential for security reasons), the player will be banned.

AntiTriggerEvent = {
	Enabled = true,
	BanLength = "p",
	ProtectedClientEvents = {
	
	},
	ProtectedServerEvents = {
			
	},
}

The AntiTriggerEvent module is a slightly more complex module, reserved for advanced users. You can protect the events of a resource, by having them transit through MadonnAdmin before they are actually sent. If a problem is detected, the player who tried to execute the event is directly banned.

To be able to set up this module:

  1. Add the following lines to the fxmanifest.lua of the resources you want to protect.

client_script "@MS_MadonnAdmin/client/module/cl_anticheat.lua"

server_script "@MS_MadonnAdmin/server/module/sv_anticheat.lua"

  1. Make sure that MS_MadonnAdmin is launched well before the scripts in question, in your server.cfg

  2. Configure the events to be protected in the configuration file.

Last updated