OfficerGalvin Development
  • Landing Page
  • Sepura SC20 Radio
    • How It Works
    • Configuration
      • General Config
      • ESX / QB
      • Discord API
      • FMS / CMA
    • Editable Server Functions
  • Advanced Police Tape
    • How It Works
    • Configuration
  • Matrix Board
    • How It Works
    • Configuration
  • Method Of Entry
    • How It Works
    • Configuration
Powered by GitBook
On this page
  • Enabling Discord API
  • Job Whitelisting
  1. Sepura SC20 Radio
  2. Configuration

Discord API

For Badger Discord API Integration

Enabling Discord API

If you are using Badgers Discord API and wish to job check, make the relevant variable true. It is also important you enter the name for the resource allowing the script to use its exports.

Config.UsingBagderDiscordAPI = false
Config.BaderDiscordAPIFolderName = "Badger_Discord_API"

Job Whitelisting

If you wish to whitelist the Radio's Access, Contacts & View of Panic Buttons, you can enable this and enter the relevant discord id's.

Config.BagderDiscordAPIDiscordRoleIDs = { -- The Discord ID's that are allowed to use this.
    "902321769959030846",
    "108717881968197663",
    "908717881968197662"
}

PreviousESX / QBNextFMS / CMA

Last updated 1 year ago