> For the complete documentation index, see [llms.txt](https://newily-scripts.gitbook.io/newily-scripts-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://newily-scripts.gitbook.io/newily-scripts-docs/documentation/free-scripts/newily-scoreboard.md).

# Newily Scoreboard

## Links

{% embed url="<https://newilyscripts.tebex.io/package/7227849>" %}

## Config

```
Config = {}

-- Debug Settings
Config.Debug = true -- Enable debug prints

-- Framework Settings
Config.Framework = "qb-core" -- Available: "esx", "qb-core", "qbox"

-- Locale Settings
Config.Locale = "sv" -- Available: "en", "sv"

-- Server Information
Config.ServerName = "Avail Roleplay"
Config.ServerLogo = "https://r2.fivemanage.com/trNcPC22WB4ULBgKtmHVt/avail.png"
Config.MaxPlayers = 64

-- Display Settings
Config.ShowAccountName = false  -- true = show account name, false = show character name
Config.ShowPing = true
Config.ShowStaffIcon = true  -- Show star icon next to staff members
Config.HideEmptyJobs = false
Config.ClickableCards = true
Config.UpdateInterval = 5  -- Update interval in seconds

-- Staff Groups (players with these groups will have a star icon next to their name)
Config.StaffGroups = {
    "admin",
    "mod",
    "superadmin"
}

-- Job Configuration
-- Each job should have:
-- id: unique job identifier (string) OR table of job ids for grouping multiple jobs
-- label: display name
-- icon: lucide-react icon name - https://lucide.dev/icons/
-- color: hex color for job badge
Config.Jobs = {
    {
        id = "police",
        label = "Police",
        icon = "Shield",
        color = "#3b82f6"
    },
    {
        id = "ambulance",
        label = "Ambulance",
        icon = "Heart",
        color = "#ef4444"
    },
    {
        id = "mechanic",
        label = "Mechanic",
        icon = "Wrench",
        color = "#f97316"
    },
    {
        id = "taxi",
        label = "Taxi",
        icon = "Car",
        color = "#eab308"
    },
    {
        id = "realestateagent",
        label = "Real Estate",
        icon = "Home",
        color = "#8b5cf6"
    },
    {
        id = "lawyer",
        label = "Lawyer",
        icon = "Scale",
        color = "#10b981"
    },
    {
        id = "banker",
        label = "Banker",
        icon = "Landmark",
        color = "#06b6d4"
    },
    {
        id = "reporter",
        label = "Reporter",
        icon = "Newspaper",
        color = "#f59e0b"
    },
    {
        id = "trucker",
        label = "Trucker",
        icon = "Truck",
        color = "#84cc16"
    },
    {
        id = "unemployed",
        label = "Unemployed",
        icon = "User",
        color = "#6b7280"
    },

    --Example for grouping multiple jobs:
    --[[ 

    { 
        id = {"cardealer", "mcdealer"}, 
        label = "Bilfirma", 
        icon = "Car", 
        color = "#eab308" 
    },

    ]]--
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://newily-scripts.gitbook.io/newily-scripts-docs/documentation/free-scripts/newily-scoreboard.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
