RM-ScriptsRM-SCRIPTS
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 = 5000

Options

KeyTypeDescription
FrameworkstringYour server framework
KeybindstringKey to toggle scoreboard
ColumnstableColumns displayed per player
PlayersPerPagenumberPlayers shown per page
RefreshIntervalnumberData refresh rate (ms)