client.lua

The client.lua config file defines the core setup of the scoreboard.

local themes = require 'config.themes'

return {
    visibilityDistance = 10,
    openKey = 'HOME',
    toggle = true, -- If true, scoreboard will open/close on button press. If false, scoreboard stays open as long as button is held down.
    useLBTablet = false, -- Enable LB Tablet integration (requires lb-tablet resource)
    useMinimalFormat = false, -- Use the compact layout by default

    maxPlayers = GetConvarInt('sv_maxclients', 100), -- It returns 48 if it cant find the Convar Int

    -- UI Display Options (apply to all themes)
    -- showPlayerList = false,  -- Show nearby players with IDs (future feature)
    -- showPlayerJob = false,   -- Show job information in player cards (future feature)
    showJobs = true,         -- Show job count badges in header

    -- UI Configuration - Choose a theme or create custom configuration
    ui = themes.DEFAULT_SOLID,  -- You can use: DEFAULT, DEFAULT_SOLID, DARK_SOLID, CYBERPUNK, MILITARY, MINIMAL, FIRE, LUXURY, NEON_PINK, ICE_BLUE
    
    --[[
        THEME EXAMPLES:
        ui = themes.CYBERPUNK,     -- Neon cyberpunk theme
        ui = themes.MILITARY,      -- Green tactical theme  
        ui = themes.FIRE,          -- Orange/red theme
        ui = themes.LUXURY,        -- Purple premium theme      
        ui = themes.MINIMAL,       -- Light clean theme
        ui = themes.NEON_PINK,     -- Vice City style
        ui = themes.ICE_BLUE,      -- Cold blue theme
        
        OR CREATE CUSTOM Theme in config/themes.lua
    --]]
}

Last updated