> 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/server-configs/explosions.md).

# explosions

<details>

<summary>HUNK_AC.AntiLargeScaleExplosion</summary>

always true

detects if the explosion is silent (a method for explosion cheat)

</details>

<details>

<summary>HUNK_AC.AntiInvisibleExplosion</summary>

always true

detects if the explosion is invisible (a method for explosion cheat)

</details>

<details>

<summary>HUNK_AC.AntiLargeScaleExplosion</summary>

always true

detects if the explosion has a large scale (a method for explosion cheat)

</details>

<details>

<summary>ExplosionMaxSpawn / MaxExplosionCooldown</summary>

these configs are for detecting the <mark style="color:orange;">explosion spam</mark>

for example, if <mark style="color:yellow;">MaxSpawn is 5</mark> and <mark style="color:yellow;">Cooldown is 10</mark> it means if anyone creates explosions more than 5 times under 10 seconds it means they spammed and probably a cheater

because dangerous cheaters will make explosions by spamming

by default we set the both to 5 and its fine

</details>

<details>

<summary>HUNK_AC.ExplosionProtectionReaction</summary>

the reaction is recommended to be <mark style="color:yellow;">kick</mark>

because we want to be sure which type of explosions are used in your city so will check the logs and if someone was kicked by mistake then we fix it

<mark style="color:green;">after a long time that we are sure about the configs then we put the reaction to ban</mark>

</details>

<details>

<summary>HUNK_AC.WhitelistedExplotions</summary>

here we added the whitelisted explosions

so if anyone creates an explosion that is not here he gets detected as a cheater

so how can we be sure that we added the all explosions that are used in our server?

first, <mark style="color:purple;">we wait 2-3 days after we ran the anticheat</mark> then if we got any explosion log at Discord that says someone got kicked because of creating an explosion

then we check the log to get the explosion type

for example, the log says:

<mark style="color:yellow;">player x Tried to create a blacklist explosion - Type: 18</mark>

then we know that the explosion type <mark style="color:yellow;">18</mark> must be added to the whitelist because maybe one of our scripts is using that type

but before that, we need to make sure that he was not a cheater

for that, we can check if any other player gets detected like him or not

</details>
