last-lives
last-lives introduces an immersive limited-lives / permadeath system, designed for all types of FiveM servers.
Each character has a finite number of lives; when the last life is lost, the character reaches permanent death and must be wiped or handled by staff, creating real consequences and meaningful roleplay.
No more immortal characters — every action in-game carries a price to pay.
Features
Limited lives system
Each character starts with a configurable number of lives. Every death permanently removes one life.
In the config it is possible to exclude different types of death from the count: melee, punches, firearms, drowning, or falling
Persistent life tracking
Lives are stored in the database and linked to the character identifier (citizenid for QBCore/QBOX, charid or identifier for ESX), ensuring full persistence across reconnects and server restarts.
Final death screen
When the last life is lost, players are presented with a full-screen cinematic death screen.
Character wipe confirmation
Players must explicitly confirm the wipe. Once confirmed:
The player is disconnected from the server
Admin commands
Includes admin-only commands to fully manage lives:
Set lives for a character
Get current life count
Reset lives to default values
Life loss notifications
Players receive on-screen notifications whenever a life is lost, reinforcing the weight of death and increasing immersion.
Localized system
All UI text, notifications, quotes, and messages are fully localized and managed through locales files, allowing easy translation into multiple languages.
Compatibility
Frameworks
QBOX / QBCore
ESX
Database
oxmysql for persistent life and character data storage