Whitelist System
Guardex includes a whitelist system to prevent false positives and allow trusted players and resources to perform actions that would otherwise trigger the anticheat.
Whitelist Categories
Vehicles
Whitelisted vehicle models that players are allowed to spawn:
Config.Whitelist = {
Vehicles = {
'adder',
'zentorno',
'police',
'police2',
'police3',
'ambulance',
'firetruk'
},
-- Other whitelist categories...
}Military Vehicles
Military vehicles are specially monitored and will trigger an auto-ban if spawned by non-whitelisted players:
Config.Whitelist = {
-- Other whitelist categories...
MilitaryVehicles = {
'hydra',
'lazer',
'rhino',
'apc',
'insurgent',
'insurgent2',
'insurgent3',
'barrage',
'khanjali',
'trailersmall2', -- Anti-aircraft trailer
'chernobog',
'scarab',
'scarab2',
'scarab3',
'halftrack',
'minitank',
'valkyrie',
'valkyrie2',
'savage',
'hunter',
'akula',
'annihilator',
'buzzard',
'buzzard2',
'cargobob',
'cargobob2',
'cargobob3',
'cargobob4'
},
-- Other whitelist categories...
}Objects
Whitelisted object models that players are allowed to spawn:
Config.Whitelist = {
-- Other whitelist categories...
Objects = {
'prop_roadcone01a',
'prop_barrier_work05',
'prop_toolchest_01'
},
-- Other whitelist categories...
}Peds
Whitelisted ped models that players are allowed to spawn:
Config.Whitelist = {
-- Other whitelist categories...
Peds = {
'a_m_y_skater_01',
'a_m_y_skater_02',
's_m_y_cop_01',
's_m_m_paramedic_01'
},
-- Other whitelist categories...
}Admins
Whitelisted admin identifiers that are exempt from certain anticheat checks:
Config.Whitelist = {
-- Other whitelist categories...
Admins = {
-- Format: identifier = true
["steam:76561199564102185"] = true,
-- Example: ["discord:123456789012345678"] = true
}
}Adding to the Whitelist
To add items to the whitelist, simply edit the corresponding section in the config.lua file.
Adding Vehicles
Config.Whitelist.Vehicles = {
'adder',
'zentorno',
'police',
'police2',
'police3',
'ambulance',
'firetruk',
'your_vehicle_model_here' -- Add your vehicle model here
}Adding Objects
Config.Whitelist.Objects = {
'prop_roadcone01a',
'prop_barrier_work05',
'prop_toolchest_01',
'your_object_model_here' -- Add your object model here
}Adding Peds
Config.Whitelist.Peds = {
'a_m_y_skater_01',
'a_m_y_skater_02',
's_m_y_cop_01',
's_m_m_paramedic_01',
'your_ped_model_here' -- Add your ped model here
}Adding Admins
Config.Whitelist.Admins = {
-- Format: identifier = true
["steam:76561199564102185"] = true,
["discord:123456789012345678"] = true,
["your_identifier_here"] = true -- Add your admin identifier here
}Finding Identifiers
To find a player's identifiers:
- Have the player connect to your server
- In the server console, look for the connection message
- The message will contain all identifiers (steam, license, discord, ip, etc.)
- Alternatively, use the
/infocommand in-game