Config

All config files live in configs/. Core settings are in configs/_config.lua.

Core (configs/_config.lua)

Config.Locale = 'en'
Config.MenuCommand = 'task'    -- false to disable
Config.MenuKeybind = false     -- e.g. 'F7' or false
Config.UseTarget = true
Config.ShowObjectiveHud = true

Config.DailyReset = {
    hour = 0,
    minute = 0,
    useUtc = false,
}

Config.Currency = {
    mode = 'special_coin', -- 'special_coin', 'standalone', 'bank', 'cash', 'custom'
    table = 'vip_players',
    identifierColumn = 'identifier',
    coinColumn = 'vcoin',
    label = 'Coins',
}

Task Pools (configs/tasks_*.lua)

Each { ... } block inside a Config.*Tasks table is one daily slot. The server picks 1 random task per slot each day.

Task Types

Type Behavior Required Fields
event Completes when trigger fires trigger, target = 1
escape Starts timer on startTrigger; stay uncuffed/alive startTrigger, target (mins)
visit Stay inside destination.pos radius destination = { pos, radius }, target (mins)
drive Drive any vehicle (or model) target (mins), optional model
counter Adds count on trigger trigger, target
counter_unique Adds count when item matches trigger, item, target
consume Adds count when consuming item trigger, item, target

Example: Adding a Gathering Pool (configs/tasks_gathering.lua)

Config.GatheringTasks = {
    -- Pool 1 (1 task picked daily)
    {
        {
            id = 'mine_any_25',
            type = 'counter',
            category = 'gathering',
            title = 'Mine 25 Ores',
            description = 'Mine any 25 ores at the quarry.',
            startPrice = 0,
            reward = 15,
            target = 25,
            unit = 'count',
            trigger = 'dailytasks:mining:any',
        },
        {
            id = 'mine_diamond_2',
            type = 'counter_unique',
            category = 'gathering',
            title = 'Find 2 Diamonds',
            description = 'Discover 2 diamonds while mining.',
            startPrice = 0,
            reward = 30,
            target = 2,
            unit = 'count',
            item = 'diamond',
            trigger = 'dailytasks:mining:unique',
        },
    },
}

Rewards Shop (configs/shop.lua)

Config.ShopCategories = {
    { id = 'combat', label = 'Combat', icon = 'shield' },
    { id = 'tools', label = 'Tools', icon = 'wrench' },
    { id = 'weapons', label = 'Weapons', icon = 'crosshair' },
    { id = 'consumables', label = 'Consumables', icon = 'package' },
}

Config.ShopItems = {
    {
        id = 'heavy_armor',
        category = 'combat',
        type = 'item',        -- 'item' or 'custom'
        item = 'heavyarmor',
        label = 'Heavy Armor',
        price = 25,
        amount = 1,
        maxPerDay = 3,        -- omit or 0 for unlimited
    },
}