Daily Rewards System

RedM Daily Rewards script for VORP/RSG frameworks.


Installation

  1. Download and extract to your resources folder

  2. Import sql/database.sql to your database

  3. Add ensure cas-dailyrewards to your server.cfg

  4. Configure config.lua to your needs


Configuration

Framework

Config.Framework = 'vorp'  -- 'vorp' or 'rsg'

Commands

Config.Commands = {
    dailyDetails = {
        command = 'dailyreward',      -- Opens the daily reward menu
        description = 'Open daily rewards menu',
    },
    setVip = {
        command = 'setvip',           -- Admin: Set VIP status
        description = 'Set VIP status for a player (Admin Only)',
        group = 'admin'
    },
    resetDaily = {
        command = 'resetdaily',       -- Admin: Reset player progress
        description = 'Reset daily rewards for a player (Admin Only)',
        group = 'admin'
    },
    createVipCode = {
        command = 'createvipcode',    -- Admin: Generate VIP code
        description = 'Create a VIP code (Admin Only)',
        group = 'admin'
    }
}

Discord Webhook

Missed Day Recovery

Streak Bonuses

VIP System

Daily Rewards

Reward Types:

Type
Example

money

{ type = 'money', amount = 100 }

gold

{ type = 'gold', amount = 5 }

item

{ type = 'item', item = 'consumable_breakfast', amount = 3 }

weapon

{ type = 'weapon', weapon = 'WEAPON_REVOLVER_CATTLEMAN', ammo = { ['ammopistolnormal'] = 1 } }

Notifications

Locale (UI Text)

All UI text can be customized in Config.Locale. Supports full localization for:

  • Main UI labels

  • VIP section

  • Streak info

  • Reward types

  • Popup messages

  • Notifications


Dependencies

  • oxmysql

  • vorp_core / rsg-core

  • vorp_inventory / rsg-inventory


Support

For issues or questions, contact the developer.

VIP - TEBEX INTEGRATION

https://docs.tebex.io/creators/command-management/an-introduction-to-commandsarrow-up-right

Last updated