


Was this page helpful?
MBT Ratio is a persistent KD (Kill/Death) ratio tracker for FiveM servers. Every player kill and death is recorded in a MySQL database, and each player can view their personal stats at any time through a toggleable NUI panel.
A custom physical scoreboard prop is placed anywhere in the world and displays a live leaderboard — rendered as a DUI texture on the 3D object — showing all players ranked by their KD ratio.
At the end of each configured period (weekly or monthly), the player with the highest KD ratio is selected as the winner and receives a randomly rolled prize the next time they log in.
F7)| Framework | Supported |
|---|---|
| ESX Legacy | ✅ |
| QBCore | ✅ |
mbt_ratio MySQL tableMBT.DUI.Refresh seconds the server recalculates the KD leaderboard and broadcasts it to all clients; the DUI on the prop updates automatically when the player is within rangeserver/draws.json, and delivers the reward the next time that player connectstxAdmin:events:serverShuttingDown or txAdmin:events:scheduledRestart event (or manually via server event)The resource name must remain mbt_ratio exactly. The script verifies its own name on startup and stops itself if renamed.