🔌Installing

requirements :

  • ox_lib

  • mysql

first, you need to go to required_resources folder inside the HUNK-AC folder then copy and paste the GetPlayers and dummy resource into your resource folder and delete the required_resources folder

then add these lines inside the server.cfg

start GetPlayers

start HUNK-AC

add_ace resource.HUNK-AC command allow

and do not start dummy resource, we are going to use it later

ok now if you are using ESX legacy then go to fxmanifest.lua and add this code and if you are using QB then skip this part

shared_script '@es_extended/imports.lua'

Encoded Scripts

now you need to go inside configs/server/protected_events.lua

then inside HUNK_AC.EncodedScripts you need to add every encoded resource (non-Tebex scripts) you have on your server

so do not add the scripts you bought from Tebex

if you have a script that is encoded and you bought it from other websites then add it inside HUNK_AC.EncodedScripts

after that restart the anticheat you need to go to the server console and execute cipherscan command

this command will find infected files for the cipher backdoor because if there are infected files then while installing the AC the server will crash

so it's very important to use the cipherscan command before jumping into the next parts

if any infected files were found then go to the files and delete the suspicious codes

after that restart the server then go to the server console or f8 inside the game and run this command

installac all

installac command has two modes: all/active

in active mode, the AC will be installed only inside the started resources

but we recommend using the all mode

you can also use uninstallac for deleting the install files from your resources later if you needed

now you need to add the export

exports['HUNK-AC']:PlayerIsReady()

you need to add the export in one of your scripts that handles landing the player on the ground

in other words, it must be the last script that lands the ped on the ground

you can read about this export with examples here:

start_ac

then after it's finished you need to restart the server

then you are ready to edit the config files

Last updated