Yoda Things Documentation
  • 💚Yoda Things Documentation
  • INFORMATION
    • 📃Discord Roles
    • 📀Assets Updates
    • ✅Ensure/Start Order
  • PAID RESOURCES
    • 🗑ïļAdvanced Garbage Job
      • 🧰Installation
      • ⚙ïļConfiguration
    • 🚚PostOP Deliveries
      • 🧰Installation
      • ⚙ïļConfiguration
    • 📋Reputation System
      • 🧰Installation
      • ⚙ïļConfiguration
        • ✅Add New Job's
        • 📎Exports
  • FREE RESOURCES
    • 🌐Notify System
    • ðŸ’ĻOxy/Drug Runs
      • 🧰Installation
    • 🗑ïļGarbage Job
      • 🧰Installation
    • ðŸŠĶCemetery Robbery
      • 🧰Installation
      • ⚙ïļConfiguration
Powered by GitBook
On this page

Was this helpful?

  1. PAID RESOURCES
  2. Reputation System
  3. Configuration

Add New Job's

In the yoda reputation system, it is possible to add the jobs you want in the tabs of the UI you want (if you use YODA UI). To do this, you must follow the steps below to implement in config_jobs.lua.

  • Label -> The label is to store the jobs in the DB and must be a name that is easy to access, so it must not have spaces or special characters.

  • Name -> Name of the Job

  • Tab -> Name of the tab to YODA UI

  • Tab Icon -> Icon for Tab

  • Job Icon -> Icon for Job Card

  • Max Points -> The maximum of points for this job

  • Level Thresholds -> The points needed to reach each level

  • Rewards -> The reward for each level

Configjobs = {}

Configjobs.Jobs = {
    ["garbage"] = { -- label
        name = "Garbage GO", -- name
        tab = "Work Zone", -- tab name
        icon_tab = "fa-trash", -- tab icon
        icon_job = "fa-trash", -- job icon
        max_points = 5000, -- max of points
        level_thresholds = { -- levels and their points
            ["1"] = 1, 
            ["2"] = 200,
            ["3"] = 600,
            ["4"] = 1000,
            ["5"] = 1500,
            ["6"] = 2100,
            ["7"] = 2800,
            ["8"] = 3600,
            ["9"] = 4500,
            ["10"] = 5000
        },
        rewards = { -- rewards per level
            ["1"] = { ["item"] = "scrap", ["quantity"] = 1 },
            ["5"] = { ["money"] = 500 },
            ["10"] = { ["item"] = "gold_bar", ["quantity"] = 1 }
        }        
    },
    ["pizza"] = {
        name = "Pizza & Pl",
        tab = "Food",
        icon_tab = "fa-pizza-slice",
        icon_job = 'fa-pizza-slice',
        max_points = 5000,
        level_thresholds = {
            ["1"] = 1,
            ["2"] = 150,
            ["3"] = 800,
            ["4"] = 1300,
            ["5"] = 2000,
            ["6"] = 2800,
            ["7"] = 3700,
            ["8"] = 4700,
            ["9"] = 4900,
            ["10"] = 5000
        },
        rewards = {
            ["1"] = { ["item"] = "scrap", ["quantity"] = 1 },
            ["5"] = { ["money"] = 500 },
            ["10"] = { ["item"] = "gold_bar", ["quantity"] = 1 }
        }        
    },
}

PreviousConfigurationNextExports

Last updated 5 months ago

Was this helpful?

📋
⚙ïļ
âœ