Configuration
There are two files:
config/config.lua: rewards, timers and colours. Players download this file, so no secrets here.server/sv_config.lua: premium codes and the webhook. It's never sent to players.
Opening the menu
config/config.lua
Config.OpenCommand = "dailyrewards"
Config.OpenKey = "F10"
Players can rebind the key in GTA's key settings under FiveM.
Timers
config/config.lua
Config.Cooldown = 86400 -- seconds before the next reward can be claimed (24 hours)
Config.StreakExpiry = 172800 -- seconds before the streak resets to Day 1 (48 hours)
Rewards
Config.Rewards has one entry for each day from 1 to 30, each with a normal and a premium reward:
config/config.lua
[10] = {
normal = { item = "money", amount = 3000, label = "Cash", isCash = true },
premium = { item = "money", amount = 8000, label = "Premium Cash", isCash = true }
},
[30] = {
normal = { item = "WEAPON_PISTOL", amount = 1, label = "Pistol", isCash = false },
premium = { item = "WEAPON_SMG", amount = 1, label = "Micro SMG", isCash = false }
},
| Field | What it does |
|---|---|
item | The item name in your inventory (ignored when isCash = true) |
amount | How many, or how much cash |
label | The name shown in the menu |
isCash | true gives cash instead of an item |
Premium players get both rewards when they claim a day.
Theme
config/config.lua
Config.Theme = {
Primary = "#4dffd2",
Success = "#7dff9a",
Danger = "#ff4d6a",
Gold = "#ffb347",
BackgroundDark = "#05070a",
PanelBackground = "#0a0e14",
CardBackground = "#0f1520",
}
Use #rrggbb or FiveM's FFrrggbb. Remove a line to keep the default colour.
Premium codes
server/sv_config.lua
SvConfig.RedeemCodes = {
["gsdaily"] = { maxUses = 0, expires = nil },
["launch2026"] = { maxUses = 100, expires = "2026-12-31" },
}
- Codes aren't case-sensitive.
maxUsesis how many characters can redeem it.0means unlimited.expiresis the last day it works ("YYYY-MM-DD", server time), ornilfor never.- Each character can redeem a code only once.
warning
Change the example gsdaily code before going live, or anyone who reads these docs can get premium.
Webhook
server/sv_config.lua
SvConfig.Webhook = "https://discord.com/api/webhooks/..."
Logs claims, redeems and admin commands to Discord. Leave it as "" to turn it off.
Translations
The text is in locales/en.lua. Config.Language picks the file.