🎁 px-dailyrewards
Modern, customizable Daily Reward & Streak progression system for FiveM servers with automatic time tracking, multi-rarity rewards, and vehicle integration.
Thank You for Your Purchase! If you need assistance, feature requests, or updates, join our Discord Support Server .
📋 Compatibility & Requirements
| Layer / Component | Supported | Details / Minimum Version |
|---|---|---|
| ESX Legacy | ✅ Supported | es_extended (v1.8+ / Legacy) |
| QBCore | ✅ Supported | qb-core (Latest & Stable builds) |
| Qbox (QBX) | ✅ Supported | qbx_core |
| Database | ✅ Required | oxmysql (player streak & claim history) |
| Inventory | ⚙️ Compatible | ox_inventory, qb-inventory, qs-inventory, esx |
| Discord Logs | 🔔 Built-in | Webhook notifications on daily claim / streaks |
| Resmon Values | ⚡ Zero Overhead | 0.00ms (Idle) • 0.00ms (Active) |
| Minimum Artifact | 5848+ | FiveM server artifact build |
Installation
Download & Extract
Download the resource package from Keymaster and place it into your resources directory.
Recommendation: Keep the folder name as px-dailyrewards.
- fxmanifest.lua
- config.lua
- install.sql
Database Setup
Import the provided install.sql file into your database using HeidiSQL, phpMyAdmin, or Navicat:
-- Creates px_dailyrewards table for tracking streak days and claim timestampsAdd to Server Config
Add the start line to your server.cfg:
ensure px-dailyrewardsConfiguration
Open config.lua to adjust streak parameters and rewards:
Config.Framework: Set to'esx','qbcore', or'qbx'.Config.ResetTime: Time in hours between claims (Default:24).Config.GracePeriod: Time in hours before streak resets (Default:48).Config.InventoryImagePath: Base path or URL to your inventory icons.
Reward Item Example
[1] = {
type = 'money',
amount = 5000,
label = '$5,000 CASH',
description = 'Daily pocket money.',
image = 'URL_TO_IMAGE', -- Optional custom image
rarity = 'common'
},Vehicle Keys & Fuel Integration
By default, the script supports standard frameworks, but you can easily adapt custom vehicle lock or fuel systems:
Config.Functions = {
-- Function to give vehicle keys to the player
-- @param vehicle: The vehicle entity
-- @param plate: The vehicle plate text
GiveKeys = function(vehicle, plate)
if Config.Framework == 'qbcore' or Config.Framework == 'qbx' then
TriggerEvent('vehiclekeys:client:SetOwner', plate) -- Example for qb-vehiclekeys
elseif Config.Framework == 'esx' then
-- Example for ESX key systems (uncomment and adapt if needed)
-- exports['wasabi_carlock']:GiveKey(plate)
end
end,
-- Function to set the vehicle's fuel level
-- @param vehicle: The vehicle entity
-- @param fuel: Fuel level (0-100)
SetFuel = function(vehicle, fuel)
exports['LegacyFuel']:SetFuel(vehicle, fuel) -- Example for LegacyFuel / ps-fuel / qb-fuel
-- Entity(vehicle).state.fuel = fuel
end
}Player Controls & Usage
| Action | Control / Command | Description |
|---|---|---|
| Command | /dailyreward | Opens the reward interface |
| Keybind | F9 (Configurable) | Instant keyboard shortcut |
| Close UI | ESC or Backspace | Exits the reward menu |
Need Help?
👾 Join Our Discord Community
Have questions or need assistance with custom reward setups? Our team is available on Discord.
Get Support ↗
Created with ❤️ by PixelSoft