Server Config

shared/server_config.lua

ServerConfig Overview

The ServerConfig section controls how your server interacts with external services, handles recorded data, and sends notifications.

Webhook for Recorded Media

ServerConfig.Webhook = "" -- Dumping all pics

This webhook URL stores all recorded media (like bodycam footage and images) sent from your server.

Discord Bot for Reports & Messages

ServerConfig.DiscordBot = "" -- Bot token for sending messages/documents

This is the bot token that allows sending important messages and documents (e.g., PDF reports) to your Discord channels.

Admin Webhook for Exploit Alerts

ServerConfig.AdminWebhook = "" -- Dumping all pics

This webhook sends alerts to admins if someone tries an NUI exploit, helping you monitor and respond quickly.

Role-Specific Roster Webhooks

ServerConfig.Roster = {
    ['bcso'] = "",
    ['sasp'] = "",
    ['police'] = "",
    ['ambulance'] = "",
}

These webhooks targets to specific roster of the departments (like BCSO, SASP, Police, Ambulance) based on the user's role.

Last updated