Hydra Docs
Get Started

Heal and armour items

Make sure medkits, food, drugs and vests are expected, so only unexplained refills are flagged.

How it works

A health or armour refill nothing explains is a classic cheat. Hydra watches for them, so it needs to know what your server uses to heal: medkits, bandages, food, drugs and vests.

Hydra finds these in your scripts and lists them in Settings › Heal & armour. Using one explains one refill. Refills nothing explains are flagged as GODMODE (health) or ARMOUR_REFILL (armour).

Hydra also notices when any item leaves a player's inventory just before a refill, so items it has never heard of only log the refill instead of sending it to review.

If your items are missing

If Hydra could not find your server's items, Settings › Heal & armour and the Home checklist ask you to add them from your server's item list. Supported inventories are read automatically: ox_inventory, qb-inventory and ESX.

Scripts that heal or give armour

Jobs, admin menus, paintball, buffs and similar scripts that set health or armour directly should tell Hydra first:

lua
-- server side, before you heal or give armour
exports.HydraAC:AllowHeal(source, 5000)
exports.HydraAC:AllowArmour(source, 5000)
SetPedArmour(GetPlayerPed(source), 100)

See Heal and armour exports.

Other things Hydra already allows for

Character load, revives, routing bucket changes, allowed teleports and safe zones all explain a refill without you doing anything.