例外と互換性

oxb を自分のスクリプトと共存させる方法:無視するスクリプト、イベント、実行パターン、エスクローリソース、回復やテレポートのスクリプト。

このページはまだお使いの言語に翻訳されていません。英語版を表示しています。


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")

最終更新:2026年11月11日