> For the complete documentation index, see [llms.txt](https://unique-store.gitbook.io/hunk-ac/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://unique-store.gitbook.io/hunk-ac/overview/installing.md). Agents can also search and read this documentation through its [MCP server](https://unique-store.gitbook.io/hunk-ac/~gitbook/mcp).

# Installing

requirements :

* ox\_lib <https://github.com/overextended/ox_lib>
* oxmysql <https://github.com/overextended/oxmysql>
* screencapture <https://github.com/itschip/screencapture>

{% hint style="info" %}
Artifacts version 25770 is recommended to use on your server before installing the anticheat
{% endhint %}

first, you need to go to <mark style="color:yellow;">required\_resources</mark> folder inside the HUNK-AC folder then copy and paste the <mark style="color:blue;">GetPlayers</mark> resource into your resources folder

{% hint style="warning" %}
you need to rename the HUNK-AC folder to something else before jumping to the next step.

rename it to something miss leading names! like temp\_deleted or qb\_trash or something similar to these words
{% endhint %}

make sure these lines are added inside the <mark style="color:yellow;">server.cfg</mark>

```
ensure oxmysql
ensure ox_lib
ensure screencapture
```

then add these lines at the end of the server.cfg (after all resources)

{% code overflow="wrap" %}

```lua
add_unsafe_child_process_permission AC_FOLDER_NAME
ensure GetPlayers
ensure AC_FOLDER_NAME
```

{% endcode %}

now download the web panel map image from:

<https://hunkac.com/map/GTAV-HD-MAP-satellite.jpg>

then copy it into acfolder/panel/assets folder

now go to <mark style="color:$warning;">configs/server/panel.lua</mark>

then set your username and password inside <mark style="color:purple;">ownerUsername</mark> and <mark style="color:purple;">ownerPassword</mark>

after that restart the anticheat then go to the server console and execute <mark style="color:yellow;">cipherscan</mark> 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 <mark style="color:yellow;">cipherscan</mark> 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 go to the <mark style="color:yellow;">server console</mark> and run this command

<mark style="color:yellow;">installac all</mark>

installac command has two modes: <mark style="color:purple;">all/active</mark>

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

but we recommend using the <mark style="color:yellow;">all</mark> mode

you can also use <mark style="color:yellow;">uninstallac</mark> for deleting the install files from your resources later if you needed

then after it's finished <mark style="color:green;">you need to restart the server</mark> and lets get into <mark style="color:$warning;">webpanel</mark> part.
