> For the complete documentation index, see [llms.txt](https://quickfire-corp.gitbook.io/ncpf/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://quickfire-corp.gitbook.io/ncpf/guides/getting-started/configuration/checks/fight/direction.md).

# Direction

Config path: `checks.fight.direction`\
Permission (bypass): `nocheatplus.checks.fight.direction`\
Exemption: `FIGHT_DIRECTION`

The Fight.Direction check prevents players from hitting entities out of FOV/crosshair

| Option               | Description                                                                                                                                                                                                                                                                   |
| -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| strict               | Extra strict interpretation method, will also check the angle between the viewing direction and the direction towards the target, making the check more accurate in a close combat, at cost of (potentially) more false positives. This only applies to PVP, not versus mobs. |
| failall              | Only set off the direction check if no suitable looking direction during the loop can pass.                                                                                                                                                                                   |
| loopprecision        | How much should NoCheatPlus expand the target hitbox by? (Mitigates false positives) Higher value, higher leniency thus a higher chance of cheating (minimum: 0.5)                                                                                                            |
| strictangleprecision | If the strict mode is active, what should the max angle be between the vector from attacker to target and the look vector? Max 100.0, min 50.0.                                                                                                                               |
| penalty              | How long should a player have to wait to hit other entities after triggering the check.                                                                                                                                                                                       |

{% hint style="warning" %}
Disabling this would allow players to fight entities while having their back turned on them.
{% endhint %}

**Related**

* [Active](/ncpf/guides/getting-started/configuration/checks/general/active.md)
* [Actions](/ncpf/guides/getting-started/configuration/checks/general/actions.md)
