vi/raiser
ui
ui, GTA 6 style illustration
Coreintermediateui

Scoreboard: Online Players + Ping

A hold-Tab scoreboard that asks the server for the live player list, server ids and ping, then renders it as a read-only NUI overlay.

PRODUCTION-SHAPED, the reference Lua is validated and written framework-correct for ESX, QBCore, and QBox, ready to drop into your server.
Est. Lua
~56 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-24
Unlock price
$49Core Pack

Unlock 48 core prompts

Profit potential / mostable
$500($150 to $2,000)

$50-389 script band, sized for a stable niche; top sellers clear around $11.85K/mo.

Effort vs return
intermediate3-5h

Description

A scoreboard that opens while the player holds Tab. The client requests a snapshot from the server, which enumerates every connected player with GetPlayers() and returns their server id, name and live ping plus the slot count. The client renders it as a read-only NUI overlay (no mouse focus) and closes on key release. Player counts are always server-authoritative.

Prompt Template

You are writing a FiveM resource: a Tab-hold scoreboard via NUI. No framework…

🔒 Eyes-only, locked prompt body

The full prompt template and its reference Lua are part of a one-time pack. Pick your depth, both are lifetime access, no subscription, ever.

Core$49one-time
  • 60 prompts + syntax-validated reference Lua
  • Lifetime access, pay once
Most Popular · Best Value
Vault$199one-time
  • All 510 prompts, the full library
  • Per-prompt profit/trend intelligence (CSV + playbook)
  • Lifetime free updates, new niches as the market moves
Get the Vault, $199

$49 for 60 · $199 for all 510 + intelligence, one-time, no subscription.

Expected Output

The reference Lua lives at content/expected-outputs/ui/06-scoreboard.lua. The…

🔒 Eyes-only, locked prompt body

The full prompt template and its reference Lua are part of a one-time pack. Pick your depth, both are lifetime access, no subscription, ever.

Core$49one-time
  • 60 prompts + syntax-validated reference Lua
  • Lifetime access, pay once
Most Popular · Best Value
Vault$199one-time
  • All 510 prompts, the full library
  • Per-prompt profit/trend intelligence (CSV + playbook)
  • Lifetime free updates, new niches as the market moves
Get the Vault, $199

$49 for 60 · $199 for all 510 + intelligence, one-time, no subscription.

Known Failure Modes

  • Client-side player list, the client only sees streamed peds; build the roster server-side with GetPlayers().
  • Focus lock on a read-only HUD, use SetNuiFocus(false,false); a scoreboard needs no mouse.
  • String ids, GetPlayers() returns strings; tonumber them before GetPlayerName/GetPlayerPing.
  • No hold bind, pair +/-scoreboard with RegisterKeyMapping so Tab actually opens it.

Integration Notes

  • Split into real client.lua and server.lua; list both plus the ui_page / files {} in fxmanifest.lua.
  • No framework dependency.
  • Test on a dev server with a second connected client (or a fake one): hold Tab, confirm both players appear with ids and a ping value that updates.

Profit Potential

$150-$2000/mo on Tebex (expected ~$500), lower-mid of the $50-389 band (Tebex, median ~$11.85K/mo); scoreboards are universal but simple, so volume over ticket size.

Trend Signal

stable, HUD/UI utilities are always-needed but commoditized.

Sales Angle

Position as a clean, server-authoritative Tab scoreboard with live ping that any framework can drop in. Recommend $59 on Tebex.

Difficulty & Ship Time

intermediate · ships in 3-5h.