Skip to Content
PixelSoft LogoPX SCRIPTS

🎁 px-dailyrewards

Highly engaging daily login reward script for FiveM with 30-day streak bonuses, custom sound effects, and Discord logging.

PAID RESOURCEQB / ESX / QBX Idle: 0.00ms Active: 0.00msSTREAK SYSTEM

Thank You for Your Purchase! If you need assistance, feature requests, or updates, join our Discord Support Server.


📋 Compatibility & Requirements

Layer / ComponentSupportedDetails / Minimum Version
ESX Legacy✅ Supportedes_extended (v1.8+ / Legacy)
QBCore✅ Supportedqb-core (Latest & Stable builds)
Qbox (QBX)✅ Supportedqbx_core
Database✅ Requiredoxmysql (player streak & claim history)
Inventory⚙️ Compatibleox_inventory, qb-inventory, qs-inventory, esx
Discord Logs🔔 Built-inWebhook notifications on daily claim / streaks
Resmon Values⚡ Zero Overhead0.00ms (Idle) • 0.00ms (Active)
Minimum Artifact5848+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 timestamps

Add to Server Config

Add the start line to your server.cfg:

ensure px-dailyrewards

Configuration

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

ActionControl / CommandDescription
Command/dailyrewardOpens the reward interface
KeybindF9 (Configurable)Instant keyboard shortcut
Close UIESC or BackspaceExits the reward menu

Need Help?

Join Our Discord CommunityLive 24/7 Support

Have questions or need assistance with custom reward setups? Our team is available on Discord.

Get Support ↗