> For the complete documentation index, see [llms.txt](https://shift-studios.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://shift-studios.gitbook.io/docs/new/editor-15.md). Agents can also search and read this documentation through its [MCP server](https://shift-studios.gitbook.io/docs/~gitbook/mcp).

# Player List

Transform Your Server With Shift Studios — Powerful, Optimized, And Reliable Resources Built To Improve Every Experience.

<figure><img src="https://4062160621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fgqh3gjuJzDAWNXTD9sEE%2Fuploads%2FOO3GtIKocWlYTXidIi23%2Fe5e8d4f0-9879-4ea3-b7f4-6201238a0f89.png?alt=media&amp;token=a12b62cf-d729-4a77-80dd-dc9629003623" alt=""><figcaption></figcaption></figure>

### Installation

{% stepper %}
{% step %}

### Player List

Read Everything Below To Install
{% endstep %}

{% step %}

### Drag & Drop

Drag & Drop The Resource Into Your FiveM Server
{% endstep %}

{% step %}

### Ensure The Resource

Make Sure To Ensure shift-players In Your Server CFG.
{% endstep %}

{% step %}

### Configure Resource

Make Sure To Configure The Resource To Your Liking

{% code expandable="true" %}

```lua
-- ⚫ ███████╗██╗  ██╗██╗███████╗████████╗    ███████╗████████╗██╗   ██╗██████╗ ██╗ ██████╗ ███████╗ ⚫
-- ⬛ ██╔════╝██║  ██║██║██╔════╝╚══██╔══╝    ██╔════╝╚══██╔══╝██║   ██║██╔══██╗██║██╔═══██╗██╔════╝ ⬛
-- ⚫ ███████╗███████║██║█████╗     ██║       ███████╗   ██║   ██║   ██║██║  ██║██║██║   ██║███████╗ ⚫
-- ⬛ ╚════██║██╔══██║██║██╔══╝     ██║       ╚════██║   ██║   ██║   ██║██║  ██║██║██║   ██║╚════██║ ⬛
-- ⚫ ███████║██║  ██║██║██║        ██║       ███████║   ██║   ╚██████╔╝██████╔╝██║╚██████╔╝███████║ ⚫
-- ⬛ ╚══════╝╚═╝  ╚═╝╚═╝╚═╝        ╚═╝       ╚══════╝   ╚═╝    ╚═════╝ ╚═════╝ ╚═╝ ╚═════╝ ╚══════╝ ⬛

Config = {}

-- Framework: auto, esx, qbcore, qbox, standalone
-- Leave this on auto unless you have a specific reason to force a framework.
Config.Framework = 'auto'

Config.Brand = {
    Name = 'Active Players',
    Subtitle = 'Live Server Overview',
    Icon = 'players'
}

Config.Command = {
    Enabled = true,
    Name = 'players'
}

Config.Keybind = {
    Enabled = true,
    DefaultKey = 'F10',
    Description = 'Open Players'
}

-- UI/server refresh settings.
Config.RefreshInterval = 5000      -- How often an open player list requests fresh data.
Config.RequestCooldown = 750       -- Server-side anti-spam cooldown per player.
Config.ServerCacheInterval = 1000  -- Reuses one server snapshot across nearby requests.
Config.MaxPlayersShown = 128       -- Caps only the rendered player list, not the online count.

Config.PlayerList = {
    ShowPlayerNames = true,
    ShowPlayerPing = true,
    ShowServerId = true,
    ShowJob = true,
    HighlightSelf = true
}


-- Services shown in the Services tab.
-- Built-in icons: police, ambulance, mechanic, taxi, realtor, justice, generic
Config.Jobs = {
    { name = 'police', label = 'Police Department', category = 'Public Safety', icon = 'police', countOffDuty = false },
    { name = 'ambulance', label = 'Emergency Medical', category = 'Medical Services', icon = 'ambulance', countOffDuty = false },
    { name = 'mechanic', label = 'Mechanics', category = 'Vehicle Services', icon = 'mechanic', countOffDuty = false },
    { name = 'taxi', label = 'Taxi Service', category = 'Transportation', icon = 'taxi', countOffDuty = false },
    { name = 'realestateagent', label = 'Real Estate', category = 'Property Services', icon = 'realtor', countOffDuty = false },
    { name = 'doj', label = 'Department Of Justice', category = 'Legal Services', icon = 'justice', countOffDuty = false }
}

-- Jobs that count toward robbery police requirements.
Config.PoliceJobs = { 'police', 'sheriff', 'state' }
Config.CountOffDutyPolice = false

-- Robberies shown in the Robberies tab.
-- Built-in icons: store, bank, jewelry, vault, robbery
-- Ready/Unavailable status is calculated automatically from the configured police requirement.
-- Other scripts can override a robbery to Active, Cooldown, or Disabled through the included export.
Config.Robberies = {
    { name = 'store', label = 'Convenience Store', category = 'Small Robbery', icon = 'store', minPolice = 2, enabled = true },
    { name = 'fleeca', label = 'Fleeca Bank', category = 'Bank Robbery', icon = 'bank', minPolice = 4, enabled = true },
    { name = 'jewelry', label = 'Vangelico Jewelry', category = 'Jewelry Robbery', icon = 'jewelry', minPolice = 5, enabled = true },
    { name = 'pacific', label = 'Pacific Standard', category = 'Major Bank', icon = 'vault', minPolice = 8, enabled = true },
    { name = 'bobcat', label = 'Bobcat Security', category = 'Heist', icon = 'vault', minPolice = 6, enabled = true },
    { name = 'humane', label = 'Humane Labs', category = 'Heist', icon = 'robbery', minPolice = 8, enabled = true }
}

-- Small header buttons beside the close button.
Config.Links = {
    discord = { Enabled = true, Label = 'Discord', Url = 'https://discord.gg/shift-studios' },
    tebex = { Enabled = true, Label = 'Tebex', Url = 'https://shift-studios.tebex.io/' }
}

Config.Text = {
    playersTab = 'Players',
    jobsTab = 'Services',
    robberiesTab = 'Robberies',
    online = 'Online',
    connectedPlayers = 'Connected Players',
    playerSearch = 'Search Players...',
    noPlayers = 'No Players Found',
    activeServices = 'Active Services',
    robberyHeading = 'Robbery Availability',
    employees = 'Employees',
    departments = 'Departments',
    noServices = 'No Services Configured',
    availableRobberies = 'Available Robberies',
    policeOnline = 'Police Online',
    robberyLocations = 'Locations',
    noRobberies = 'No Robberies Configured'
}

```

{% endcode %}
{% endstep %}

{% step %}

### Restart / Start Your Server

Ensure Everything Is Working Well & Enjoy !!
{% endstep %}
{% endstepper %}
