CS Docs

Anti Trigger Installation

Learn how to install and configure the Anti Trigger protection from Cyber Anticheat.

Overview

The Anti Trigger feature prevents cheaters from calling unsafe events on your server. You can safely use events as long as they are included in the whitelist.

Installation Commands

Installing Anti Trigger

Use the following command to install the anti trigger feature:

cy safe-events install
Explanation:Installs the anti trigger protection into your server.

Removing Anti Trigger

Use the following command to remove the feature:

cy safe-events uninstall
Explanation:Removes the anti trigger protection from your server.

Whitelist Events Configuration

You can add safe events to the whitelist inside the config.lua of Cyber Anticheat:

Example whitelist:

Config.WhitelistEvents = {
  "ox_inventory:openInventory",
  "chat:addMessage",
  "your_resource:custom_event"
}

Notes

  • Only events listed here will be allowed.
  • This list is automatically loaded when the feature is installed.
  • Make sure to match the event names exactly, including capitalization.