Advanced Scoreboard
What is this resource?
Advanced scoreboard with multiple features
Supported Framework : ESX, QBCore
Update : 1.3.0
- Add Job aggregation
Config.Jobs = { enable = true, job_list = { -- Jobs to be displayed on top of scoreboard {jobs = {'police'}, label = "Police", icon = "fa-solid fa-user-shield"}, {jobs = {'ambulance'}, label = "Ambulance", icon = "fa-solid fa-truck-medical"}, {jobs = {'mechanic1','mechanic2','mechanic3'}, label = "Mechanic", icon = "fa-solid fa-toolbox"}, }, }
Update : 1.1.0
- Add RolePlayMode
Config.RolePlayMode = { enable = true, default_player_name_prefix = "Player", can_see = { ['framework'] = { ['esx'] = {'superadmin','admin','moderator'}, ['qbcore'] = {'god','admin'} }, ['identifiers'] = {'license:xxx','discord:xxx','steam:xxx'} } }
Features
1. Title
- You can add your custom title through config file
Config.Title = { first = 'ROLEPLAY', second = 'SCOREBOARD'}
2. Jobs
- You can add multiple jobs on top of scoreboard to indicate total number of online players for each job
- You can choose the icon for each job
Config.Jobs = {
enable = true,
job_list = { -- Jobs to be displayed on top of scoreboard
["police"] = {label = "Police", icon = "fa-solid fa-user-shield"},
["ambulance"] = {label = "Ambulance", icon = "fa-solid fa-truck-medical"},
["mechanic"] = {label = "Mechanic", icon = "fa-solid fa-toolbox"},
},
}
3. Total Players Count
- Total players count
4. Player Information
- Following Player information are displayed : Discord Avatar, Name, Role, Job, Grade, Money , Bank balance, salary
5. Advertisement Section
- You can add advertisement that can be seen by all players , this section is fully configurable
Config.Advertisement = {
enable = true,
image = 'https://cdn.discordapp.com/attachments/1052372106605772801/1098397063353479349/event1.png',
title = 'CASINO HEIST',
description = 'Lorem ipsum dolor sit amet consectetur. Pulvinar praesent fusce leo facilisis. Lorem ipsum dolor sit amet consectetur. Pulvinar praesent fusce leo facilisis.',
date = '23.09.2022 21:00',
}
6. Event Section
- You can add event that can be seen by all players , this section is fully configurable
Config.Event = {
enable = true,
image = 'https://cdn.discordapp.com/attachments/1052372106605772801/1098397063588356096/event2.png',
title = 'VANILLA CLUB',
description = 'Lorem ipsum dolor sit amet consectetur. Pulvinar praesent fusce leo facilisis. Lorem ipsum dolor sit amet consectetur. Pulvinar praesent fusce leo facilisis.',
date = '23.09.2022 21:00',
}
7. Players List
- Players list contains following information
Discord Avatar : Discord profile image
Name : Player name
Role : The role of the player, this role is handled by different ways
1- From Framework permission
2- From identifiers permissions
This is fully configurable
Config.Roles = {
type = 'framework', -- Source of players role , possible value ( framework, identifiers)
default_role = "Citizen",
role_list = {
['framework'] = {
['esx'] = {
['superadmin'] = 'founder',
['admin'] = 'management',
['moderator'] = 'staff',
},
['qbcore'] = {
['god'] = 'change_me',
['admin'] = 'change_me',
}
},
['identifiers'] = {
['license:xxx'] = 'change_me',
['discord:xxx'] = 'change_me',
['steam:xxx'] = 'change_me',
}
}
}
Job : The player Job
Duty: Indicates whether a player is on duty or not
Ping: Player Ping
ID: Player ID
8-Performance
- The script resmon is 00 ms
9-Translation
- The scoreboard is fully translatable via config
JSLocale.UserName = 'Name';
JSLocale.Role = 'Role';
JSLocale.Job = 'Job';
JSLocale.Ping = 'PING';
JSLocale.Duty = 'DUTY';
JSLocale.ID = 'ID';
JSLocale.TotalPlayers = 'Total Players';
JSLocale.Online = 'ONLINE';
JSLocale.MyInformation = 'My Information';
JSLocale.PlayerList = 'Player List';
JSLocale.InfoName = 'Name';
JSLocale.InfoRole = 'Role';
JSLocale.InfoCash = 'Cash';
JSLocale.InfoBank = 'Bank Account';
JSLocale.InfoJob = 'Job';
JSLocale.InfoGrade = 'Grade';
JSLocale.InfoSalary = 'Salary';
10-Protected discord setting only server side
DiscordGuildId = 0
DiscordBotToken = "CHANGE_ME"
11- Automatic version check
- In every restart , the script check if the script version is up to date
Purchase
Tebex : Click here
Installation and Usage
- Purchase the resource from Tebex, download the script from link received by email, or access it via your fivem assets via your fivem account Fivem keymaster
- Choose your framework and setup your discord settings
- In your server.cfg add ensure cf4_scoreboard and start your server
|-------------------------------------|----------------------------|
| Code is accessible | No |
| Subscription-based | NO |
| Lines (approximately) | 600 |
| Requirements | ESX / QBCore |
| Support | Yes |