A lightweight persistent unique ID system for FiveM servers. Every player is automatically assigned a 6-digit UID that sticks across sessions, displayed cleanly on screen and accessible to any other resource via exports β no framework required.
π¦ FEATURES
β
Assigns a unique persistent 6-digit UID to every player
β
On-screen display in the bottom-right corner
β
Toggle UID visibility on/off per player
β
Force-refresh command to restore display if it disappears
β
Admin command to reset any player's UID with ACE permission support
β
Database persistence via oxmysql β UIDs survive reconnects and restarts
β
Rate limiting on server events to prevent spam/abuse
β
Server exports | getUID, getIdentifier, getAllUIDs, isUIDOnline
β
Client exports | getMyUID, isVisible
β
Fully standalone β no ESX or framework required
β
Fully configurable | UID range, refresh interval, generation attempts, command names
π§ DEPENDENCIES
- oxmysql
βοΈ INSTALLATION
- Import
db.sqlinto your database - Drop
ms_uidinto your resources folder - Add
ensure ms_uidto your server.cfg - Add to server.cfg for admin access:
add_ace group.admin ms_uid.admin allow - Configure
config.luato your liking - Restart your server
π SUPPORT
Join my Discord for support and updates:Β https://discord.gg/dRkkJk92rX