-- config/hacking.lua (server only — players never receive it)
Config.Hacking = {
enabled = true,
item = 'hacking_usb', -- without it: "Access is denied."
commands = {
whois = { chance = 0.85, cooldown = 30, traceChance = 0.05 },
sqldump = { chance = 0.60, cooldown = 120, traceChance = 0.10 },
inject = { chance = 0.35, cooldown = 900, traceChance = 0.25,
minReduce = 10, maxReduce = 40, deleteChance = 0.05 },
},
policeJobs = { 'police', 'sheriff' },
alertBlipSeconds = 90,
Alert = function(source, coords, message)
HackingPoliceAlert(coords, message) -- or your dispatch script
end,
}