BC Panel - Configuration

Configuration guide for the BC Panel web-based administration system.

Configuration File

The main configuration file is located at config/config.lua or config/config.php. Edit this file with your settings.

Example Configuration

Config.lua
Config = {}

Config.Framework = 'qb' -- 'qb' or 'esx'
Config.Locale = 'en' -- Language Settings two options 'en' or 'tr'

-- Report Categories
Config.Categories = {
    {label = 'Cheating/Hacking', value = 'cheating'}, -- don't change value
    {label = 'Harassment', value = 'harassment'}, -- don't change value
    {label = 'Bug Abuse', value = 'bug'}, -- don't change value
    {label = 'Other', value = 'other'}, -- don't change value
}

-- Report Priorities
Config.Priorities = {
    {label = 'Low', value = 'low'}, -- don't change value
    {label = 'Medium', value = 'medium'}, -- don't change value
    {label = 'High', value = 'high'}, -- don't change value
}

-- Admin Groups, i guess everyone admin permissions same but if yours is different

Database Configuration

DB_HOST

Your MySQL database host (usually 'localhost' or your server IP).

DB_NAME

The name of your MySQL database.

DB_USER

Your MySQL database username.

DB_PASS

Your MySQL database password.

Server Configuration

FIVEM_SERVER_IP

Your FiveM server's IP address or hostname.

FIVEM_SERVER_PORT

Your FiveM server's query port (default: 30120).

API_KEY

Your FiveM server's API key for authentication (if required).

Security Settings

SESSION_SECRET

Generate a random string for session encryption. Keep this secret and secure.

ENABLE_2FA

Enable two-factor authentication for administrator accounts (recommended).