Build Amazing 🚔 Roleplay Servers 🎮 with QBCore ⚡
The most popular and feature-rich FiveM framework. Used by 5,000+ servers worldwide to create immersive gaming experiences.
See QBCore in Action ⚡
Watch how easy it is to create powerful roleplay features with QBCore's intuitive API and modular architecture.
Simple Event System
Create server and client events with just a few lines of code. QBCore handles all the networking for you.
Player Management
Built-in player object with inventory, money, job management, and metadata storage out of the box.
Modular Architecture
Export functions between resources seamlessly. Build complex systems with reusable components.
Real-time Notifications
Integrated notification system with customizable styles and automatic item box displays.
Everything You Need to Build Epic Servers 🎯
QBCore comes packed with powerful features and tools that make server development faster, easier, and more enjoyable.
Player Management
Complete player system with jobs, gangs, permissions, and metadata
local Player = QBCore.Functions.GetPlayer(src)
Player.Functions.AddMoney("cash", 1000)
Player.Functions.SetJob("police", 1)
Database Integration
MySQL integration with automatic player data saving and loading
MySQL.insert('INSERT INTO player_vehicles
(license, citizenid, vehicle, hash, mods)
VALUES (?, ?, ?, ?, ?)', {
license, citizenid, vehicle, hash, mods
})
Event System
Robust client-server communication with built-in validation
RegisterNetEvent('qb-example:client:notify')
AddEventHandler('qb-example:client:notify', function(msg)
QBCore.Functions.Notify(msg, "success")
end)
Anti-Cheat Protection
Built-in protection against common exploits and cheating attempts
-- Automatic validation
QBCore.Functions.TriggerCallback('qb-police:server:getCops',
function(cops)
if cops >= Config.MinCops then
-- Action allowed
end
end)
High Performance
Optimized for large servers with minimal resource usage
-- Efficient player loops
CreateThread(function()
while true do
for playerId in pairs(QBCore.Functions.GetPlayers()) do
-- Process players efficiently
end
Wait(30000) -- 30 second intervals
end
end)
Highly Configurable
Extensive configuration options for every aspect of your server
Config = {}
Config.MaxPlayers = GetConvarInt('sv_maxclients', 48)
Config.DefaultMoney = {
cash = 500,
bank = 5000,
crypto = 0
}
Multi-Language Support
Built-in localization system supporting multiple languages
local Lang = QBCore.Shared.Locale
Lang:t('info.received_paycheck', {
value = ESX.Math.GroupDigits(salary)
})
Resource Management
Smart resource loading and dependency management system
QBCore.Functions.AddItems({
['bandage'] = {
name = 'bandage',
label = 'Bandage',
weight = 115,
type = 'item',
image = 'bandage.png',
unique = false,
useable = true,
shouldClose = true,
combinable = nil,
description = 'A bandage works every time'
}
})
Trusted by the Community 📊
See the real numbers behind QBCore's success. Our framework powers thousands of servers and brings joy to hundreds of thousands of players.
$ qb-stats --servers
$ qb-stats --downloads
$ qb-stats --players
$ qb-stats --contributors
$ qb-stats --stars
$ qb-stats --resources
Join the Largest FiveM Community
Become part of a thriving ecosystem of developers, server owners, and players who choose QBCore for their roleplay experiences.
Simple Yet PowerfulCode Examples
See how easy it is to get started with QBCore. From installation to advanced features, everything is designed to be developer-friendly.
Quick Installation
Get QBCore running on your server in seconds
# Clone the QBCore framework
git clone https://github.com/qbcore-framework/qb-core.git [qb-core]
# Start the core resource in your server.cfg
start qb-core
# Your server is now powered by QBCore!
Create a Simple Job
Define custom jobs with unique mechanics
400">"text-green-400">-- Add this to your qb-core/shared/jobs.lua
[400">'police'] = {
label = 400">'Police Department',
defaultDuty = false,
offDutyPay = false,
grades = {
[400">'0'] = { name = 400">'Cadet', payment = 75 },
[400">'1'] = { name = 400">'Officer', payment = 100 },
[400">'2'] = { name = 400">'Sergeant', payment = 125 },
[400">'3'] = { name = 400">'Lieutenant', payment = 150 },
[400">'4'] = { name = 400">'Chief', payment = 200, isboss = true }
}
}
Player Management
Handle player data with powerful APIs
400">"text-green-400">-- Get player data
400">"text-purple-400">local Player = QBCore.Functions.GetPlayer(source)
400">"text-green-400">-- Add money to player
Player.Functions.AddMoney(400">'cash', 1000, 400">'bonus-pay')
400">"text-green-400">-- Set player job
Player.Functions.SetJob(400">'police', 2)
400">"text-green-400">-- Save player data
Player.Functions.Save()
400">"text-green-400">-- Trigger client event
TriggerClientEvent(400">'qb-core:not400">ify', source, 400">'Welcome to the server!', 400">'success')
Ready to Start Coding?
Dive into our comprehensive documentation and discover all the powerful features QBCore has to offer. From basic setup to advanced customization.
What the CommunitySays About QBCore
Don't just take our word for it. Here's what server owners, developers, and community leaders are saying about their QBCore experience.
“QBCore transformed our server completely. The modular design made it so easy to customize everything to our needs. Our player count has doubled since the switch!”
Alex Rivera
Server Owner
Los Santos RP
“As a developer, I love how clean and well-documented QBCore is. The API is intuitive and the community support is incredible. Best framework decision we ever made.”
Sarah Chen
Lead Developer
Liberty City Life
“The stability and performance improvements were immediate. No more server crashes, and the new features keep our players engaged. QBCore just works.”
Marcus Johnson
Community Manager
Vice City Stories
“QBCore transformed our server completely. The modular design made it so easy to customize everything to our needs. Our player count has doubled since the switch!”
Alex Rivera
Server Owner
Los Santos RP
“As a developer, I love how clean and well-documented QBCore is. The API is intuitive and the community support is incredible. Best framework decision we ever made.”
Sarah Chen
Lead Developer
Liberty City Life
“The stability and performance improvements were immediate. No more server crashes, and the new features keep our players engaged. QBCore just works.”
Marcus Johnson
Community Manager
Vice City Stories
“QBCore transformed our server completely. The modular design made it so easy to customize everything to our needs. Our player count has doubled since the switch!”
Alex Rivera
Server Owner
Los Santos RP
“As a developer, I love how clean and well-documented QBCore is. The API is intuitive and the community support is incredible. Best framework decision we ever made.”
Sarah Chen
Lead Developer
Liberty City Life
“The stability and performance improvements were immediate. No more server crashes, and the new features keep our players engaged. QBCore just works.”
Marcus Johnson
Community Manager
Vice City Stories
“QBCore transformed our server completely. The modular design made it so easy to customize everything to our needs. Our player count has doubled since the switch!”
Alex Rivera
Server Owner
Los Santos RP
“As a developer, I love how clean and well-documented QBCore is. The API is intuitive and the community support is incredible. Best framework decision we ever made.”
Sarah Chen
Lead Developer
Liberty City Life
“The stability and performance improvements were immediate. No more server crashes, and the new features keep our players engaged. QBCore just works.”
Marcus Johnson
Community Manager
Vice City Stories
“Migrating from ESX was seamless. The documentation made it easy, and the performance gains were noticeable from day one. Highly recommended!”
Emma Thompson
Script Developer
San Andreas United
“The built-in security features and anti-cheat protection have saved us countless hours. QBCore handles the heavy lifting so we can focus on our community.”
David Park
Server Admin
Night City RP
“Our players love the smooth inventory system and job mechanics. The user experience is so much better now. Thank you QBCore team!”
Lisa Rodriguez
Community Leader
Desert Springs RP
“Migrating from ESX was seamless. The documentation made it easy, and the performance gains were noticeable from day one. Highly recommended!”
Emma Thompson
Script Developer
San Andreas United
“The built-in security features and anti-cheat protection have saved us countless hours. QBCore handles the heavy lifting so we can focus on our community.”
David Park
Server Admin
Night City RP
“Our players love the smooth inventory system and job mechanics. The user experience is so much better now. Thank you QBCore team!”
Lisa Rodriguez
Community Leader
Desert Springs RP
“Migrating from ESX was seamless. The documentation made it easy, and the performance gains were noticeable from day one. Highly recommended!”
Emma Thompson
Script Developer
San Andreas United
“The built-in security features and anti-cheat protection have saved us countless hours. QBCore handles the heavy lifting so we can focus on our community.”
David Park
Server Admin
Night City RP
“Our players love the smooth inventory system and job mechanics. The user experience is so much better now. Thank you QBCore team!”
Lisa Rodriguez
Community Leader
Desert Springs RP
“Migrating from ESX was seamless. The documentation made it easy, and the performance gains were noticeable from day one. Highly recommended!”
Emma Thompson
Script Developer
San Andreas United
“The built-in security features and anti-cheat protection have saved us countless hours. QBCore handles the heavy lifting so we can focus on our community.”
David Park
Server Admin
Night City RP
“Our players love the smooth inventory system and job mechanics. The user experience is so much better now. Thank you QBCore team!”
Lisa Rodriguez
Community Leader
Desert Springs RP
Join These Success Stories
Ready to transform your FiveM server? Join thousands of successful servers that have made the switch to QBCore.