Scoreboard
Configuration
Configuration options for the Scoreboard resource.
Configuration
All settings live in config.lua inside the resource folder.
Config = {}
-- Framework: 'qbcore', 'qbox', or 'esx'
Config.Framework = 'qbcore'
-- Keybind to open/close scoreboard
Config.Keybind = 'F10'
-- Columns shown in the scoreboard
Config.Columns = {
{ label = 'Player', key = 'name' },
{ label = 'Job', key = 'job' },
{ label = 'Playtime', key = 'playtime' },
}
-- Max players shown per page
Config.PlayersPerPage = 20
-- Refresh interval in milliseconds
Config.RefreshInterval = 5000Options
| Key | Type | Description |
|---|---|---|
Framework | string | Your server framework |
Keybind | string | Key to toggle scoreboard |
Columns | table | Columns displayed per player |
PlayersPerPage | number | Players shown per page |
RefreshInterval | number | Data refresh rate (ms) |
