Troubleshooting
Installation
[!!] license NOT validated
- Wrong or expired key: check
Config.License.keyand the subscription under Account, on the website. - Moved to a new VPS: reset the IP binding under Account and start the Shield again.
With an invalid license the Shield stays idle: it does not detect and does not punish. If the API goes down, the Shield keeps working for up to 3 days with what it has stored.
[!!] OneSync OFF
Put set onesync on in server.cfg, before ensure mengazo-shield.
[!!] engine INCOMPLETE
Someone changed the order of, or removed files from, the Shield's fxmanifest.lua. Restore the original file.
The companion was not installed in a resource
- The resource does not run Lua (map, stream or JavaScript only): this is expected.
- The resource is in
Config.AutoInject.exclude. - Write failure: check the folder's write permission and the line
add_unsafe_child_process_permission mengazo-shieldinserver.cfg. - Install it by hand:
shield_install <resource>, thenrefreshandrestart <resource>.
Alerts and blocks on players who are not cheating
The path is always the same: open the record under Blocks, see which detection it is and which script shows up in the evidence. Then look for the case below.
Staff get detected using the admin menu
The menu does noclip, invisibility or teleport on the client and does not tell the Shield. Two ways out:
- Integrate the menu:
notifyActionandclearAction. This is the best one. - Give staff bypass: Staff and bypass.
/nc sends the admin back to the starting point
That is sustained noclip being blocked. Tell the Shield in the command:
exports['mengazo-shield']:notifyAction(source, "noclip") -- when turning on
exports['mengazo-shield']:clearAction(source, "noclip") -- when turning offA script's heal or armor triggers an alert
The script applies health or armor on the client. Tell the Shield from the server first:
exports['mengazo-shield']:notifyAction(src, "heal")
exports['mengazo-shield']:notifyAction(src, "armour", nil, 100)If the script's server side already sends an event with its own name (darcolete, curar), you only need to teach that name in Bridge.pushKinds. See Configuration.
A script's teleport triggers an alert
Pass the destination: notifyTeleportTo.
A ped change triggers an alert
notifyPedChange before the change, or allowPed for a player's fixed ped.
The garage vehicle disappears or the spawn is blocked
- The garage creates the vehicle without telling the Shield:
authorizeSpawn. - The model is on the blacklist (
hydra,rhino...): remove it fromBlacklists.griefVehiclesor add it toAllowlist.models.
The server's NPCs or props get deleted
The model is in Blacklists.exploitPeds or Blacklists.crasherObjects. Add the model to Allowlist.models, or to Config > Allowed models, in the panel.
Shots from one of the server's weapons are blocked
An addon weapon, or one with increased damage in weapons.meta. Set the base damage:
- In the panel: Config > Base damage per weapon.
- In the file:
Allowlist.overrides.weaponDamage.
For range (long-distance shots blocked): Config > Hit range per weapon, or Allowlist.overrides.weaponRanges.
shield_calibration shows the damage and range your server's players deal with each weapon.
A faction blip or police GPS triggers an alert
See Blips on players.
Many "Event without session mark" records
- You updated the Shield and did not restart the server. The resources are still running the old companion. Restart the server.
- The resource has its client in JavaScript and receives a client event from another resource: list it in
Config.RemoteGate.tokenExempt. - The resource does not have the companion:
shield_install <resource>.
shield_tokens shows which resources and events are arriving without the mark.
A script stops responding (HUD frozen, inventory does not open)
The event went over the call limit and was refused. Run shield_gate, see which event had refusals and adjust it in Config.RemoteGate.overrides. See Configuration.
Server with max health above 200 or armor above 100
Raise maxHealth and maxArmour in SyncGuards. See Configuration.
Configuration
I changed the file and nothing changed
- Only staff, bypass,
allowlist.luaandblacklists.luatake effect without a restart. Everything else needsrestart mengazo-shield. - The panel overrides the file. If the option exists in the panel, change it there.
- Syntax error: the console warns you and the Shield keeps running the previous version.
I want to test without punishing anyone
- The whole server:
shield_mode monitor. Go back withshield_mode enforce. - A new script:
shield_dryrun on 15 nome_do_scriptshows for 15 minutes what would be deleted, without deleting it. - A single detection: set it to warn, in Protections.
A player was banned by mistake
- In the console:
shield_unban <ID>. The ID appears on the player's screen and in the console. - In the panel: Bans.
- A detection banned wrongly during a period: Bans > Unban by date, or
shield_unban desde ...(see Commands).
Contacting support
Send along:
- The
shield_statusline (version and mode). - The record under Blocks: detection name and the evidence.
- The name of the script involved and what the player was doing.
- If possible, the output of
shield_readiness.
