SBF PermaID System ESX/QB/QBOX/STANDALONE
What it is:
A permanent ID system for FiveM servers that assigns each player a unique, persistent identification number that remains constant across sessions and character changes.
Youtube: https://youtu.be/wKtOH-dqEqk
How it works:
-
Each player receives a permanent ID (PermaID) based on their Rockstar license identifier
-
IDs are stored in a MySQL database and automatically assigned on first connection
-
The system maintains real-time mapping between server IDs (source) and PermaIDs
-
Works with ESX, QBCore, QBox, or standalone frameworks
-
Persistent Player Identification
-
Starts from a configurable base number (default: 1001)
-
Never changes, even if player changes characters or rejoins
-
Independent of temporary server source IDs
-
-
HUD Display System
-
Shows PermaID on screen with fully customizable styling
-
In-game editor to adjust position, size, colors, fonts, shadows, borders
-
Admin-only access to editor (configurable via groups/ACE permissions)
-
Settings saved per-player in database
-
-
Developer Exports
-
Get PermaID from source:
GetPermaIdFromSource(source) -
Get source from PermaID:
GetSourceFromPermaId(permaId) -
Universal resolver:
ResolvePlayerId(id)(works with both) -
Client-side: Get own PermaID
-
-
Admin Command Override
-
Automatically overrides admin commands to work with PermaIDs instead of server IDs
-
Includes commands for: items, money, jobs, vehicles, inventory, weapons, heal/revive, admin groups
-
Makes administration easier and more reliable
-
Benefits:
Players can be consistently identified and targeted regardless of character switches or reconnects, making admin work, logging, and player management significantly more reliable.