Configuration

This guide explains how to configure the NF_ReportSystem for your server.

Basic Configuration

Framework Selection

Config.Framework = 'esx' -- Options: 'esx', 'qbcore', 'vrp', 'ace', 'custom', 'SteamHEX'

Framework Permissions

Config.Framework_perms = {
    ['admin'] = true,
    ['headadmin'] = true,
    ['owner'] = true,
    ['headhelper'] = false,
    ['helper'] = false,
    ['user'] = false,
}

Admin List (for SteamHEX)

Config.AdminList = {
    'steam:11000013cb8b8ba',
}

Command Configuration

Player Commands

Admin Commands

UI Configuration

Colors

UI Text

Screenshot Configuration

Basic Screenshot

API Configuration

Discord Bot

Steam API

Server Information

Notification System

Notification Function

Notification Messages

Report Types

The system supports three types of reports:

  1. Player Reports

  2. Bug Reports

  3. Questions

Admin Features

  1. View all reports

  2. Take screenshots

  3. Teleport to players

  4. Bring players

  5. Spectate players

  6. Chat with players

  7. Close reports

Player Features

  1. Submit reports

  2. Chat with admins

  3. Cancel reports

  4. View report status

Best Practices

  1. API Keys

    • Keep your Discord bot token and Steam API key secure

    • Never share these keys in public repositories

    • Regularly rotate keys for security

  2. Framework Selection

    • Choose the correct framework for your server

    • Configure permissions according to your server's hierarchy

    • Test framework integration before deployment

  3. UI Customization

    • Customize UI text to match your server's language

    • Adjust colors to match your server's theme

    • Test UI on different screen resolutions

  4. Screenshot System

    • Test screenshot functionality before enabling

    • Ensure proper permissions for screenshot storage

    • Monitor storage usage for screenshots

  5. Admin Management

    • Regularly update admin list when using SteamHEX

    • Review and update permission levels

    • Monitor admin actions for abuse

  6. Notification System

    • Test notifications on different frameworks

    • Customize notification messages

    • Ensure notifications are visible but not intrusive

  7. Security

    • Regularly update the script

    • Monitor for unauthorized access

    • Keep server information private

  8. Performance

    • Monitor resource usage

    • Optimize screenshot storage

    • Clean up old reports periodically

Last updated