🤠
KOJA DOCS
  • Home
  • Store
  • Discord
  • lib
    • Client
  • NEW
    • 🚗Cardealer
      • Installation
      • Configuration
        • Creating a Cardealer
        • Changing Language
        • Creating a webhook for logging
    • 🎁Daily Rewards
      • Installation
      • Configuration
        • đŸ‡ĩ🇱Changing Language
        • đŸ›Ąī¸Debug Prints
        • đŸšĒOpen Commands
        • 🛒Shop Link
        • âœī¸Theme
        • đŸ–Ĩī¸Auto Table
        • 🎁Rewards
        • đŸŽŸī¸Missions
        • 📔Promocodes
      • Guides
        • âœˆī¸Creating/Editing Locales
        • đŸ”ĢManaging Missions
        • 💎Setting Premium Status
    • 📊Hud
      • Installation
      • Configuration
        • đŸ‡ĩ🇱Changing Language
        • đŸ›Ąī¸Debug Prints
        • đŸšĒSettings Command
        • đŸ—ēī¸Hide Minimap
        • đŸ—’ī¸Notifications
        • đŸŽī¸Nitro
        • âš™ī¸Engine
        • đŸ’ēSeatbelt
        • 🤖Cruisemode
      • Guides
        • âœˆī¸Creating/Editing Locales
        • 🔗Progressbar
        • â„šī¸TextUI
    • đŸ”ĢShop Heist
      • Installation
      • Configuration
        • đŸ‡ĩ🇱Changing Language
        • 👮Required Police To Start Heist
  • 🛒Shops
    • Installation
    • Configuration
      • đŸ‡ĩ🇱Changing Language
      • đŸŽ¯Target
      • đŸ›ī¸Adding new shop
      • 🚗Server side exports
      • 📃SQL
    • Guides
      • âœˆī¸Creating/Editing Locales
  • 📜Dialogs
    • Installation
    • Configuration
      • đŸ‡ĩ🇱Changing Language
      • đŸŽ¯Target
      • 📃Create Dialog
      • 🎹Available Keys
      • 🌀Default Images
  • OLD
    • 🎓Jobselector [FREE]
      • 📕Step By Step Guide
      • âš™ī¸Server
    • đŸ› ī¸Crafting [FREE]
      • 📕Step By Step Guide
      • 👇Client
      • 👆Server
Powered by GitBook
On this page
  1. NEW
  2. Daily Rewards
  3. Configuration

Missions

Explanation of the missions configuration in the script

id - Unique mission identifier (you will be updating this for players progression) title - Mission name desc - Mission description needed_progress - Required count of the needed task to complete type - Type of the mission (daily, weekly, monthly)

reward = { item - Item respname label - Reward name displayed to the player count - Number of rewards type - Type of reward (item, vehicle, money) }


shared/config.lua
Config.Missions = {
    daily = {
        {
            id = 'mission_1',
            title = "Drive 10 km",
            desc = "Get behind the wheel and drive a total of 10 km around the city.",
            needed_progress = 10,
            type = 'daily',
            reward = {
                item = 'bread',
                label = 'Bread',
                count = 1,
                type = 'item',
            }
        },
        -- ...  
    },
    weekly = {
        {
            id = 'mission_7',
            title = "Weekly Mission 1",
            desc = "Win 3 races.",
            needed_progress = 3,
            type = 'weekly',
            reward = {
                item = 'bread',
                label = 'Bread',
                count = 1,
                type = 'item',
            }
        },
        -- ...
    },
    monthly = {
        {
            id = 'mission_9',
            title = "Monthly Mission 1",
            desc = "Gather 50 items.",
            needed_progress = 50,
            type = 'monthly',
            reward = {
                item = 'bread',
                label = 'Bread',
                count = 1,
                type = 'item',
            }
        },
        -- ...
    }
}
```
PreviousRewardsNextPromocodes

Last updated 4 months ago

🎁
đŸŽŸī¸