Configuration
General Configuration
Config = {}
-- Use "esx" or "qb"
Config.Framework = "qb"
-- If you are using one of the most recent versions of ESX, set the script name. Default = "es_extended"
Config.ESXExport = "es_extended"
-- Default ESX: "esx:getSharedObject" | Default QB: "qb-core"
Config.Core = "qb-core"
-- Type the name of your server or the title you want to be displayed
Config.Title = "ROLEPLAY"
-- Write a subtitle that will appear below your server name or title
Config.Subtitle = "SCOREBOARD"
-- Command to open the scoreboard
Config.Command = "scoreboard"
-- Set to false to not use a key to open the scoreboard
Config.UseKey = false
-- F11 by default
Config.Key = 344
Configuration Options
Framework Settings
- Config.Framework: Set to
"esx"or"qb"depending on your framework - Config.ESXExport: The ESX resource name (default:
"es_extended") - Config.Core: The core event/export name
- ESX:
"esx:getSharedObject" - QBCore:
"qb-core"
- ESX:
Display Settings
- Config.Title: The main title displayed on the scoreboard (e.g., "ROLEPLAY")
- Config.Subtitle: The subtitle displayed below the main title (e.g., "SCOREBOARD")
Access Settings
- Config.Command: The chat command to open the scoreboard (default:
"scoreboard") - Config.UseKey: Enable/disable keyboard shortcut (default:
false) - Config.Key: The key code to open the scoreboard (default:
344= F11)
Common Key Codes
If you want to use a keyboard shortcut, here are some common key codes:
| Key | Code | |-----|------| | F10 | 57 | | F11 | 344 | | F12 | 348 | | Home | 213 | | End | 207 | | Insert | 121 |
[!WARNING] Don't touch the first line of the configuration file (
Config = {})