Configuration
The configuration file can be found in config folder of anticheat resource named config.lua. Inside the config file you can set values or actions for every feature of anticheat. Down below, each feature will be detailed with more details about each feature even though there are instructions in the config file. Copy and find in the config file the feature you need to adjustBe careful with the values and tables. If you do not keep the same format or delete them it will cause errors
Anti stop resource
The anti stop resource will prevent player to stop the anticheat resource. This feature does NOT exist in config to be set to true or false, as if it was possible to set to false, your server would have been exposed to a very high risk and anticheat will not monitor some cheating actions and we would have been exposed as bad advertisment. Resource stopped means that client lost the tranmission with server and there are only five cases when the client loses the transmission with the server which are:Resource stopped from executor (most common)
Host low performance: unstable network (freezings, drops, packet loss, DDOS attacks), lost internet, poor specifications
Server low performance: high server resource consumption
Player's low pc performance: poor specifications
Player's bad internet connection: unstable internet connection, low internet speed
Stopping resource from executor is the most common reason (1). In case all players got kicked for stop resource it means that the server or host has low performance (2) (3). In case only one player got kicked for stop resource it means he stopped the resource from cheat (1) or he has low pc performance or bad internet connection (4) (5), where stop resource is the most common reason. The penalty can be KICK (if the player stops the resource while he is on the server) or BAN (if the player stops the reasource before joining the server)Commands names
Config.Help, Config.ClearAllCommand, Config.ClearVehiclesCommand, Config.ClearPedsCommand, Config.ClearObjectsCommand, Config.BanListCommand, Config.UnbanCommand, Config.UnbanAllCommand - variables that sets your commands names that you can call from server console in order to perform the right action. For more guidance visit Commands sectionConfig.SafeGameEnvironment
Config.SafeGameEnvironment
true: Add extra security to your server environment (more safe then if it is set to false). You need to also add in your server.cfg the following permission:
add_ace resource.rac command allow
false: Don't allow the anticheat to add extra security to your server
Recommended: trueConfig.ScreenshotAPI



Config.SendPlayerLogWithImage
Config.DiscordServer
Config.AccessMenuIds
Config.HasUserAccessMenuId
Do not change the name or structure of the function. You have to modify just the content of the function. By changing the name or structure of the function you will cause errors and the detection will no longer working
Do not add parameters on the function. By adding new parameters to the function you will cause errors and the detection will no longer working
Config.TeleportToPlacesMenu
Keep the same format if you want to add or remove a place from the table
Config.WhitelistedIds
Config.WhitelistedIds
Do not change the name or structure of the function. You have to modify just the content of the function. By changing the name or structure of the function you will cause errors and the detection will no longer working
Do not add parameters on the function. By adding new parameters to the function you will cause errors and the detection will no longer working
In case a player is local banned, whitelisting the player will not allow the player to connect to the server. Whitelisting a player with his identifiers will only protect him from almost all anticheat detections. In order to allow him connect to the server you should check Bans section to see how to unban a player in order to allow him connect to the server
Config.ShowPrints
Config.RockstarId
Config.SteamId
Config.SteamIdAge
Config.DiscordId
Config.DiscordIdAge
Config.AntiSpecialCharactersConnect
Config.XSSConnect
Config.AntiEmojiConnect
Config.AntiVPN
Config.AntiMultipleSessions
Config.AntiBanEvade
Config.AntiBanEvadeIP
Config.AntiSpoofer
Config.AntiReleaseMode
Config.AntiMenus
Config.AntiExecutor
Config.AntiLuaInject
Config.DeathPrint
Config.DamagePrint
Config.ComaHealth
Config.AntiExplosions
Config.BlockedExplosions
Keep the same format if you want to add / remove a explosion in / from the table
Config.AntiSpamExplosions
Config.AntiProjectiles
Config.AntiSpamProjectiles
Config.WhitelistedProjectiles
Keep the same format if you want to add / remove a projectile in / from the table
Config.AntiParticles
Config.WhitelistedParticles
Keep the same format if you want to add a particle in the table
Config.AntiCollision
Config.RemoveCollisionProps
Keep the same format if you want to add / remove obiect / prop collision
It is recommended for you to keep the gas pump's collision removed and Config.AntiCollision set to true in order to avoid explosions on the server and maybe penalty from anticheat
Config.FrameworkAntiWeapons
Config.FrameworkAntiWeaponsCheck
Do not change the name or structure of the function. You have to modify just the content of the function. By changing the name or structure of the function you will cause errors and the detection will no longer working
Do not add parameters on the function. By adding new parameters to the function you will cause errors and the detection will no longer working
Config.AntiBlacklistedWeapons
Config.BlacklistedWeapons
Keep the same format if you want to add / remove a weapon in / from the table.
Config.AntiExplosiveWeapons
Config.AntiLoadout
Config.AntiGiveWeapon
Config.AntiRemoveWeapon
Config.AntiInfiniteAmmo
Config.AntiInfiniteBullets
Config.AntiRapidFire
Config.AntiNoRecoil
Config.AntiFastReload
Config.AntiStunPlayer
Config.AntiSuperPunch
Config.AntiDamageModifier
Config.AntiDamageMultiplier
Config.AntiBulletModifier
Config.AntiSilencedWeapon
Config.AntiRangeModifier
Config.AntiKill
Config.AntiKillPlayersInMass
Config.AntiSpawnWeapon
Config.AntiSpoofWeapon
Config.AntiMetaFiles
Config.AntiAimbotAccuracy
Config.AntiAimbotRpf
Config.AntiAimbot1
Config.AntiAimbot2
Config.AntiAimbot3
Config.AntiSilentAim
Config.AntiSilentAim2
Config.AntiCornerShoot
Config.AntiTriggerbot
Config.AntiESP1
Config.AntiESP2
Config.AntiBlacklistedVehicles
Config.BlacklistedVehicles
Keep the same format if you want to add a new vehicle model to be blacklisted or remove a vehicle from blacklist
Do not delete the entire table in case you want to allow spawning any vehicle that is blacklisted. You can set it on false or delete only the vehicle you want to use. Deleting the entire table will cause errors and issues to your server
Config.AntiBlacklistedModels
Config.WhitelistedModels
Keep the same format if you want to add a new model to be whitelisted
Do not delete the entire table in case you want to allow using a model that is not whitelisted. You can set it on false or add only the model you want to use. Deleting the entire table will cause errors and issues to your server
Config.AntiBlacklistedPeds
Config.WhitelistedPeds
Keep the same format if you want to add a new ped model to be whitelisted or blacklisted
Do not delete the entire table in case you want to allow spawning any ped that is whitelisted or blacklisted. You can set it on false or delete only the ped you want to use. Deleting the entire table will cause errors and issues to your server
There are two different penalties for blacklisted peds: Config.AntiBlacklistedModelsPenalty which is the penalty for using a ped model for you as a player and Config.AntiBlacklistedPedsPenalty which is the penalty for spawning a ped model on the server as entity
Config.AntiBlacklistedProps
Config.WhitelistedProps
Keep the same format if you want to add a new prop / object model to be whitelisted
Do not delete the entire table in case you want to allow spawning any prop / object that is not whitelisted. You can add the prop / object that you want to use or set to false in case you do not want to use that prop / object. Deleting the entire table will cause errors and issues to your server.
Config.OneSyncEntities
Config.CountEntities
It is not recommended at all to use WARNING penalty because it has no punishment for the player who is spamming entities and this can lead to server crash due to high consumption of your server and also player's client and prints
Config.EntitySpawnCheck
The Config.EntitySpawnCheck feature can be influenced by server performance, latency because it depends on how quickly information is synchronized between client and server. In case there are problems on your server about performance or latency we recommend to try solve them because this feature also tries to avoid these issues as much as possible. In case this feature will affect your server (delete entities which are spawned correctly), if you have set this feature to true, please set to false
Config.AdvancedEntitySpawnCheck
The only penalty for spawning entities from unknown or injected (abnormal) scripts that are not supposed to create vehicles, peds or objects/props is BAN and it cannot be changed. Config.countEntitiesPenalty is not the penalty for this feature. In case you want to disable this feature, set Config.AdvancedEntitySpawnCheck to false
The Config.AdvancedEntitySpawnCheck feature can be influenced by server performance, latency because it depends on how quickly information is synchronized between client and server. In case there are problems on your server about performance or latency we recommend to try solve them because this feature also tries to avoid these issues as much as possible. In case this feature will affect your server (delete entities which are spawned correctly), if you have set this feature to true, please set it back to false
Config.AnticheatEntityLockdown
Example:
Before
After
Config.EntitiesTimer
Config.AntiInvisibleEntities
Even though there are still some methods where cheaters can create entities from their menus/executors, the anticheat resource blocks all possible suspicious entity creation activities. In order to prevent this issue, the only solution is to use anticheat entity lockdown feature or shift entity creation from client-side to server-side directly from your server or make sure that you have all entity creation functions on server-side and add to your server.cfg one of the lines below at your choice:
Config.AntiEmptyVehicle
Config.AntiAttachVehicles
Config.AntiFlyingVehicles
Config.AntiLaunchingVehicles
Config.AntiBlackholeVehicles
Config.AntiVehicleWeapons
Config.AntiKillEngine
Config.AntiKillWheels
Config.AntiKickFromVehicle
Config.AntiVDM
Config.AntiVehicleNoclip
Config.AntiVehicleFix
Config.AntiVehicleChangeColor
Config.AntiStealVehicle
Config.AntiVehicleSpeedHack
Config.AntiVehicleRocketBoost
Config.AntiLongDistanceVehicle
Config.AntiMultipleSameVehicles
Config.AntiMultipleVehicles
Config.AntiNoDriverVehicle
Config.AntiNoDriverExcludeVehicles
Config.AntiChangeVehiclePlate
Config.AntiBlacklistedPlate
Config.BlacklistedPlates
Set Config.AntiBlacklistedPlates to false in case there is a situation where a cheater can troll by stealing the vehicle from a player, change the vehicle plate into a blacklisted plate and give penalty to the player because of the cheater
Keep the same format if you want to add / remove blacklisted plate on vehicle
Config.AntiPickup
Config.AntiSpamChat
Config.AntiBlacklistedWords
Config.BlacklistedWords
Keep the same format if you want to add / remove blacklisted words on chat
Config.AntiBlacklistedCommands
Config.BlacklistedCommands
Keep the same format if you want to add / remove blacklisted command on chat
Event protection (SecuredServerEvents, SecuredClientEvents)
Make sure that you started the anticheat resource as first resource in server.cfg, above your resource list
Config.AntiSpamTriggers
Config.SpamTriggers
The Config.AntiSpamTriggers feature set to warning will not perform any action as it could spam your server console and discord log in case there is a player spamming an existing event from the table. Prints on server console and discord log are available only for kick and ban penalty. In case there are bans for an existing event from the table, you can adjust your trigger limit, remove the event from the table or set Config.AntiSpamTriggers to false
Keep the same format if you want to add event names or comment (--) / delete them (the entire row) in case you want to remove it. You can also adjust the limit in case you have issues with players that are spamming and you allow this thing
Config.AntiBlockedEvents
Config.BlockedEvents
Keep the same format if you want to add server or client event names
Config.TriggerEventsExploitCheck
Config.AntiBlacklistedAnims
Config.AntiClearPedTasksEvent
Config.AntiFreeze
Config.AntiFire
Config.AntiVoid
Config.AntiSound
Config.AntiSpectate
Config.AntiFreecam
Config.AntiFreecamShot
Config.AntiNoclip
Config.AntiNoclipShot
Config.AntiTeleport
Config.AntiTeleportToWaypoint
Config.AntiInvisible
Config.AntiDisableHeadshot
Config.AntiGodmode
Config.AntiGodmode2
Keep the same format if you want to add / remove a server safezone in Config.ServerSafezones
Config.AntiInfiniteHealth
Config.AntiRevive
Example
Before
After
Config.AntiInfiniteArmour
Config.AntiArmour
Example
Before
After
Config.AntiInfiniteStamina
Config.AntiRagdoll
Config.AntiNightVision
Config.AntiThermalVision
Config.AntiMenyoo
Config.AntiTrackPlayers
Config.AntiSpeedHack
Config.AntiTinyPed
Config.AntiSuperJump
Config.AntiFallingPeds
Config.AntiClonePed
Config.AntiAggressivePeds
Config.AntiCrasher
Config.AntiDevTools
Config.AntiSoloSession
Config.AntiFakeDesync
Config.AntiCombatRoll
Config.AntiInfiniteRoll
Config.AntiBlacklistedOutfits
Keep the same format if you want to add a new blacklisted outfit
You must keep the keys exactly as they are: face, mask, hair, hands, pants, bag, shoes, accessory, undershirt, kevlar, badge, jacket. Changing any of keys will cause errors and issues to your server. In order to add a new blacklist outfit you have to keep the same format and change only the drawable id values (the number corresponding to each specific key)
Example:
If you don’t need to compare all components for a particular outfit, you can enter only the keys you want to check.
Example:
Do not delete the entire table in case you want to allow some outfit. The table is dedicated only to blacklisted outfits. In case you do not want to use this feature you can leave it to false as it was in the default configuration. Deleting the entire table will cause errors and issues to your server.
Config.AntiCopyOutfit
Config.AntiRandomizeOutfit
Config.UseModuleScreenshotBasic
Config.AntiBlacklistedWordsOnScreen
Config.BlacklistedWordsOnScreen
In case your server uses similar menus to cheating menus (made with Rage UI) be sure that the words from the table will not exist in your server menus. Also, in case there is penalty for words that exist in the table, but the player does not use a cheating menu, remove the word from the table. This thing usually happens with short words, so you should avoid adding short words in the table. In case the player is banned for being detected with a blacklisted word on the screen but you do not see a cheating menu on his screen, you have to remove that word from the table
Last updated