Perm ID — FiveM Permanent Player IDs
v1.1.0
FiveM player identity
One player.
One permanent ID.
A fast, database-backed permanent ID system for ESX, QBCore, and Qbox. Give every character a reliable identity that persists across sessions and is simple for other resources to read.
Built for real servers
Everything needed for dependable player IDs.
Perm ID handles assignment, storage, synchronization, and staff controls while staying lightweight and framework friendly.
Permanent by design
Every character receives a unique numeric ID stored safely in MySQL and restored when they return.
Framework detection
Automatically detects ESX, QBCore, or Qbox/QBX, with an option to select a framework manually.
Easy integration
The permanent ID is replicated through player state and added to supported framework metadata.
Staff controls
An ACE-protected in-game command lets authorized staff change a permanent ID through an ox_lib dialog.
Reserved IDs
Protect special numbers with configurable blocked IDs and full numeric ranges.
Discord logs
Send optional webhook logs when a character receives an ID or a staff member changes one.
Developer friendly
Read an ID with one line.
Replicated player state provides a clean, framework-independent way for your other resources to access a permanent ID.
- ✓Available on the server and client
- ✓Replicated automatically with state bags
- ✓QBCore and QBX metadata support included
-- Server: read a player's permanent ID
local permId = Player(source).state.permid
if permId then
print(('Permanent ID: %s'):format(permId))
end
-- Client: read the local permanent ID
local myPermId = LocalPlayer.state.permidSimple setup
Small dependency list. Broad compatibility.
Import the included SQL file or let the resource create its database table automatically when it starts.
Persistent. Flexible. Lightweight.
Reliable IDs for every character.
Configure the starting number, SQL identifiers, staff permissions, blocked ranges, command name, and Discord logging to fit your server.
Perm ID for FiveMESX · QBCore · Qbox/QBX

