L2S Documentation
DiscordTebex
  • Documentation
  • Information
    • Discord Roles
    • How to update your asset
    • FiveM Asset Escrow System
  • Coding Information
    • Webhook System
    • Register Key Mapping
    • Translation System
  • ASSETS & GUIDES
    • 🚨Dispatch
      • ⤵️Installation
      • ⚙️Configuration
        • Settings
        • API
        • Hub
        • CCTV
        • Dispatch
        • UI
      • 💻Integration
        • Exports
          • Client
          • Server
        • Police Alerts
        • Radio Channel
        • Duty System
    • 🏨Hotels V2
      • ⤵️Installation
      • ⚙️Configuration
        • Config
        • Elevators
        • Hotels
      • 💻Exports
    • 👮Police Hub
      • ⤵️Installation
      • ⚙️Configuration
      • 💻Events & Alerts
    • 💀Gangs Turf
      • ⤵️Installation
      • ⚙️Configuration
        • Settings
        • Gangs
      • 💻Exports
      • 📚Tutorial
    • 🔫Paint Ball
      • ⤵️Installation
      • ⚙️Configuration
        • Settings
        • Clothes
        • Locations
      • 💻Exports
Powered by GitBook
On this page
  • ScreenShots & Recordings
  • Discord Logs
  1. ASSETS & GUIDES
  2. Dispatch
  3. Configuration

API

PreviousSettingsNextHub

Last updated 5 months ago

ScreenShots & Recordings


API_Keys = {
    ServiceUsed = 'fivemanage',   -- discord | fivemanage | fivemerr
    Token = 'YOUR_TOKEN', --  fivemanage or fivemerr or discord webhook
}

Two Recommended websites for uploading records are:

  1. FiveManage: (Recommended)

  2. Fivemer:

We do not recommend using Discord webhooks here.


Discord Logs

Status_TimeOut = 60000 * 3 -- Deafult: 3m Log Discord timeout
Logs = {
    ['POLICE'] = {
        ['Status'] = {
            Active = true,
            Webhook = '',
            MSG_ID = 000000000000000000,
        },
        ['Records'] = '', -- Discord Webhook [Recorded Video]
        ['BOLO'] = '', -- Discord Webhook [Flagged Vehicles]
    },
    ['EMS'] = {
        ['Status'] = {
            Active = true,
            Webhook = '',
            MSG_ID = 0000000000000000000, -- false if you want it send msg everytime
        },
        ['Records'] = '',  -- Discord Webhook [Recorded Video]
        ['BOLO'] = false,
    },
}

To make the message happen, instead of sending a list of units every time, you must send a message via Discohook with the same Webhook.

To Get MSG ID Follow this steps:

  1. Create a specific chat and generate a webhook. Copy the webhook URL.

  2. Click on Send to send the message.

  3. Go back to the same chat and click on Copy Message ID and fill it in sh_api.

For More informations about webhooks visit Webhook System

Visit and paste the copied webhook URL.

🚨
⚙️
https://fivemanage.com/
https://fivemerr.com/
Discohook