PF Refund
A refund code system for FiveM — admins create codes containing items, players redeem them in-game.
Features
- Admin UI for creating refund codes with items from ox_inventory
- Per-item metadata support (key-value pairs)
- Configurable expiry (1h to 7d, permanent, or custom)
- Max uses per code (unlimited or capped)
- Partial claim handling — remaining items saved for later
- Multi-framework support (QBCore, QBox, ESX) with auto-detection
- ACE or framework-based permission system
- Database persistence with MySQL
- Logging via ox_lib logger and Discord webhooks
- Full localization support (EN, DA included)
Dependencies
Commands
| Command | Description |
|---|---|
/refund | Opens the admin refund creation panel (requires permission) |
/claimrefund <code> | Redeem a refund code and receive items |