Exceptions et compatibilité

Faire cohabiter oxb avec vos scripts : scripts ignorés, événements ignorés, motifs d'exécution, ressources escrow et scripts qui soignent ou téléportent.

Cette page n'est pas encore traduite dans votre langue : la version anglaise est affichée.


oxb is made to live with a real roleplay server. These are the tools, from the gentlest to the most drastic:

ToolWhereWhen to use it
*Action on warn***Configuration, next to each detectionTo investigate without punishing anyone.
Ignored eventsMain → EventsAn event of your server that the event protections block by mistake.
Execution pattern exceptionsBetaA specific execution that the injection detection flags and is legitimate.
Ignored scriptsSettings → SystemAn incompatible resource: oxb will not install itself in it.
`BYPASS` permissionAdminsA player who must not receive detections (for example your test team).

Scripts that heal, teleport or give weapons#

If the resource is installed with oxb (it installs itself on the first start), oxb sees when that script heals, moves, arms or creates entities and does not mistake it for a cheat. If an escrow script does those things, oxb cannot see it from the inside and you must tell it. The families are health (heals, max health), movement (teleports, cameras), weapon, vehicle, explosion and spawn.

In a client script
-- right before or after the action
exports.oxb:noteScriptAction("health")
In a server script
-- playerId is the affected player; 0 is valid for everyone (global spawns)
TriggerEvent("__oxb_internal:scriptAction", playerId, "health")

Dernière mise à jour : 11 novembre 2026