Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

ย 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Aiben Scoreboard

A modern, feature-rich scoreboard for FiveM servers with support for ESX, QBCore, and Qbox frameworks. Features a beautiful okok-style UI with both fullscreen and compact display modes.

Version Framework License

โœจ Features

  • Multi-Framework Support: Fully compatible with ESX, QBCore, and Qbox
  • Dual UI Modes: Fullscreen layout or compact card-style display
  • Real-time Updates: Live player count, duty status, and ping information
  • Service Integration: Built-in support for okokBossMenu duty system
  • Admin Highlighting: Customizable admin role display with colors and icons
  • Search Functionality: Filter players by name in real-time
  • Responsive Design: Modern UI with okok-style theming
  • Easy Configuration: Simple drag-and-drop installation
  • Multi-language Support: Built-in translation system

๐Ÿ“ธ Screenshots

Fullscreen Mode

Fullscreen Scoreboard

Compact Mode

Compact Scoreboard

๐Ÿš€ Installation

1. Download & Install

  1. Download the resource files
  2. Place the Scoreboard folder in your server's resources directory
  3. Add ensure Scoreboard to your server.cfg

2. Framework Detection

The resource automatically detects your framework:

  • ESX: Detects es_extended
  • QBCore: Detects qb-core
  • Qbox: Detects qbox-core

3. Keybind Setup

  • Default key: HOME
  • Players can change this via GTA keybinds (FiveM key mapping)
  • Command: aiben_scoreboard

โš™๏ธ Configuration

Basic Settings

Config.Framework = "auto"           -- "auto" | "qb-core" | "qbox" | "esx"
Config.DefaultKey = "HOME"          -- Default keybind
Config.DefaultUI = "fullscreen"     -- "fullscreen" | "compact"
Config.RefreshInterval = 3000       -- Update interval (ms)

Theme Customization

Config.Theme = {
    bg = "rgba(15,15,20,0.92)",     -- Background color
    panel = "rgba(22,22,30,0.98)",  -- Panel background
    accent = "#00E5FF",             -- Primary accent (neon cyan)
    accent2 = "#8A2BE2",            -- Secondary accent (neon purple)
    text = "#FFFFFF",               -- Text color
    muted = "#9aa0a6",              -- Muted text color
    success = "#21c55d",            -- Success color
    danger = "#ef4444",             -- Danger color
    warning = "#f59e0b",            -- Warning color
    shadow = "0 10px 30px rgba(0,0,0,0.45)"  -- Shadow effect
}

Services Configuration

Config.Services = {
    { job = "police",    label = "Police",   icon = "๐Ÿ›ก๏ธ", color = "#00B4D8" },
    { job = "ambulance", label = "EMS",      icon = "๐Ÿš‘",  color = "#EF476F" },
    { job = "mechanic",  label = "Mechanic", icon = "๐Ÿ”ง",  color = "#F77F00" }
}

Admin Roles

Config.Admins = {
    ["god"]   = { label = "Owner",      color = "#FF006E", icon = "๐Ÿ‘‘" },
    ["admin"] = { label = "Admin",      color = "#8338EC", icon = "๐Ÿ›ก๏ธ" },
    ["mod"]   = { label = "Moderator",  color = "#3A86FF", icon = "๐Ÿ”จ" }
}

okokBossMenu Integration

Config.OkokBossMenu = {
    enabled = true,
    resource = "okokBossMenu",      -- Your okokBossMenu resource name
    export  = "IsPlayerOnDuty"      -- Export function name
}

๐ŸŽฎ Usage

Player Controls

  • Open Scoreboard: Press HOME key (default)
  • Switch UI Mode: Click "Compact" or "Fullscreen" button
  • Search Players: Type in the search box to filter players
  • Close Scoreboard: Click the "โœ•" button or press HOME again

UI Modes

Fullscreen Mode

  • Complete player list with all details
  • Service statistics
  • Search functionality
  • Admin role highlighting
  • Real-time duty status

Compact Mode

  • Minimal card display
  • Player count and duty statistics
  • Service overview
  • Quick access to fullscreen mode

๐ŸŒ Localization

The resource supports multiple languages. Edit locales.lua to add new translations:

Locales["fr"] = {
    title = "Tableau de Bord du Serveur",
    total_players = "Joueurs en Ligne",
    on_duty = "En Service",
    -- ... add more translations
}

Set your preferred language in config.lua:

Config.Locale = "en"  -- Change to your language code

๐Ÿ”ง Dependencies

Required

  • ESX, QBCore, or Qbox framework

Optional

  • okokBossMenu - For enhanced duty system integration

๐Ÿ“ File Structure

Scoreboard/
โ”œโ”€โ”€ fxmanifest.lua          # Resource manifest
โ”œโ”€โ”€ config.lua              # Configuration file
โ”œโ”€โ”€ client.lua              # Client-side logic
โ”œโ”€โ”€ server.lua              # Server-side logic
โ”œโ”€โ”€ locales.lua             # Translation strings
โ”œโ”€โ”€ README.md               # This file
โ””โ”€โ”€ html/
    โ”œโ”€โ”€ index.html          # UI structure
    โ”œโ”€โ”€ style.css           # Styling
    โ””โ”€โ”€ script.js           # UI logic

๐Ÿ› Troubleshooting

Common Issues

  1. Scoreboard not opening

    • Check if the resource is started: ensure Scoreboard
    • Verify keybind in GTA settings
    • Check console for errors
  2. Framework not detected

    • Ensure your framework resource is started before Scoreboard
    • Check Config.Framework setting
  3. Duty status not showing

    • Verify okokBossMenu integration settings
    • Check ESX duty system configuration
  4. UI not displaying correctly

    • Clear browser cache
    • Restart the resource

Debug Mode

Enable debug logging by checking the server console for detailed information.

๐Ÿค Support

For support and questions:

  • Check the troubleshooting section above
  • Review the configuration options
  • Ensure all dependencies are properly installed

๐Ÿ“ Changelog

Version 1.0.0

  • Initial release
  • Multi-framework support
  • Dual UI modes (fullscreen/compact)
  • Real-time player information
  • Admin role highlighting
  • Service integration
  • Search functionality
  • Multi-language support

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ™ Credits

  • Author: Aiben
  • Framework Support: ESX, QBCore, Qbox
  • UI Design: okok-style theming
  • Icons: Unicode emoji support

Made with โค๏ธ for the FiveM community

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages