Reason Anticheat Documentation
  • Introduction
  • Information
  • Links
  • FAQ
  • Resources Documentation
    • 🟣Reason Anticheat
      • Features
      • Dependencies
      • Commands
      • Logs
      • Menu
      • Installation
      • Configuration
      • Webhooks
      • Bans
      • Showcase
      • Set your game build and artifacts
      • Server crash prevention
      • Secure your server
    • 🟣Anti aimbot
    • 🟣Anti trigger event protection
    • 🟣Anti dumper
    • 🟣Anti weapons
    • 🟣Framework protections
Powered by GitBook
On this page
  • Webhooks file from cfg folder
  • What is a webhook?
  • How can I create a webhook?
  • Example
  1. Resources Documentation
  2. Reason Anticheat

Webhooks

Webhooks file from cfg folder

The webhooks file can be found in cfg folder of anticheat resource named webhooks.

cfg.WebhookStartAnticheat = ''
cfg.WebhookStopAnticheat = ''
cfg.WebhookWarning = ''
cfg.WebhookEntities = ''
cfg.WebhookKick = ''
cfg.WebhookBan = ''
cfg.WebhookConnect = ''
cfg.WebhookDisconnect = ''
cfg.WebhookConnectWarning = ''
cfg.WebhookKillsAndDeaths = ''
cfg.WebhookBackdoor = ''
cfg.WebhookOCR = ''

What is a webhook?

A webhook is an URL that you can create in your discord channel on Integrations section (found in Edit Channel) where the anticheat resource sends messages to the specific discord channel in order to monitor the anticheat activity.

How can I create a webhook?

You can create a webhook on your discord following the next steps:

  1. Create Category

  2. Enter your category name (Example: Anticheat Logs)

  3. Create Channel

  4. Enter your channel name (Example: connect)

  5. Right click on your created channel and select Edit Channel

  6. Select Integrations section

  7. Press Create Webhook button

  8. Select the new webhook created

  9. Enter your bot name (Example: Reason Anticheat)

  10. Copy Webhook URL

  11. Paste Webhook URL to one of the webhook file (For the connect example, you have to add the Webhook URL between the quotation marks of cfg.WebhookConnect)

Example

cfg.WebhookStartAnticheat = 'https://discord.com/api/webhooks/1234/abcd'
cfg.WebhookStopAnticheat = 'https://discord.com/api/webhooks/1234/abcd'
cfg.WebhookWarning = 'https://discord.com/api/webhooks/2345/bcde'
cfg.WebhookEntities = 'https://discord.com/api/webhooks/3456/cdef'
cfg.WebhookKick = 'https://discord.com/api/webhooks/4567/defg'
cfg.WebhookBan = 'https://discord.com/api/webhooks/5678/efgh'
cfg.WebhookConnect = 'https://discord.com/api/webhooks/6789/fghi'
cfg.WebhookDisconnect = 'https://discord.com/api/webhooks/7890/ghij'
cfg.WebhookConnectWarning = 'https://discord.com/api/webhooks/8901/hijk'
cfg.WebhookKillsAndDeaths = 'https://discord.com/api/webhooks/9012/ijkl'
cfg.WebhookBackdoor = 'https://discord.com/api/webhooks/01234/jklm'
cfg.WebhookOCR = 'https://discord.com/api/webhooks/12345/klmn'

It is recommended to place different webhook for each category.

PreviousConfigurationNextBans

Last updated 1 month ago

🟣