Dream Services
Discord Shop
  • Home
    • Welcome
    • FAQ
    • Purchase
    • Keymaster
    • Common issues
  • Support
    • Support Policy
    • πŸ‡ΊπŸ‡ΈTicket Rules (EN)
    • πŸ‡©πŸ‡ͺTicket Rules (GER)
  • Development Guide
    • Create own locale
  • Product
    • 🎰Dream Vending
      • Config Preview
      • Installation
      • Item Use Effect API
    • 🚘Dream Used Cardealer
      • Config Preview
      • Installation
    • ⚑Dream Solarsystems
      • Config Preview
      • Installation
    • πŸ”ŒDream Solarjob
      • Config Preview
      • Installation
    • πŸͺ™Dream Cryptomining
      • Config Preview
      • Installation
      • Create Warehouses
      • Server
        • Exports
          • IsWarehouseAvailable
          • GetAllWarehouses
          • GetPlayerWarehouses
          • GetWarehouse
          • GetWarehouseWorth
          • GetWarehouseRevenue
          • GetWarehouseTransactions
          • GetWarehouseAllServer
          • GetWarehouseAllServerStatus
          • GetWarehouseServer
          • RefreshAllWarehouses
    • πŸš™Dream Fakeplates
      • Config Preview
      • IsPlateFake
    • 🐟Dream Fishing
      • Config Preview
    • πŸͺDream Market Stalls
      • Config Preview
    • 🚬Dream Smoking
      • Config Preview
      • Installation
Powered by GitBook
On this page
  • Dream Solarjob Config
  • Dream Solarjob Locales
  1. Product
  2. Dream Solarjob

Config Preview

πŸ”§ See the current config files

Dream Solarjob Config

DreamCore.lua
DreamLocales = {} -- Do not touch this!!!
DreamFramework = {} -- Do not touch this!!!
DreamCore = {} -- Do not touch this!!!

-- Dream Solarjob Settings
DreamCore.Language = 'en'
DreamCore.GiveCredits = true -- Set to false if you don't want to give credits

DreamCore.XPLevelThreshold = 100 -- Needed default XP for 1 Level
DreamCore.XPIncreasement = 25 -- XP Increasement for each Level
DreamCore.LeaderGrade = 4 -- Minimum Grade to give bonuses to employees
DreamCore.LevelMoneyMultiplier = {
    activate = true,
    multiplier = 0.05 -- 5% more money for each level (e.g. Player is level 5 and gets 25% more money)
}
DreamCore.Grades = { -- Automatic Grades
    [0] = { leader = false, minLevel = 1 },
    [1] = { leader = false, minLevel = 5 },
    [2] = { leader = false, minLevel = 10 },
    [3] = { leader = false, minLevel = 15 },

    -- Leader
    [4] = { leader = true, minLevel = 0 },
    [5] = { leader = true, minLevel = 0 }
}

-- All Office IPLs
DreamCore.AllOfficeIPLs = {
    -- Arcadius Business Centre
    'ex_dt1_02_office_02b', -- Executive Rich
    'ex_dt1_02_office_02c', -- Executive Cool
    'ex_dt1_02_office_02a', -- Executive Contrast
    'ex_dt1_02_office_01a', -- Old Spice Warm
    'ex_dt1_02_office_01b', -- Old Spice Classical
    'ex_dt1_02_office_01c', -- Old Spice Vintage
    'ex_dt1_02_office_03a', -- Power Broker Ice
    'ex_dt1_02_office_03b', -- Power Broker Conservative
    'ex_dt1_02_office_03c', -- Power Broker Polished

    -- Maze Bank Building
    'ex_dt1_11_office_02b', -- Executive Rich
    'ex_dt1_11_office_02c', -- Executive Cool
    'ex_dt1_11_office_02a', -- Executive Contrast
    'ex_dt1_11_office_01a', -- Old Spice Warm
    'ex_dt1_11_office_01b', -- Old Spice Classical
    'ex_dt1_11_office_01c', -- Old Spice Vintage
    'ex_dt1_11_office_03a', -- Power Broker Ice
    'ex_dt1_11_office_03b', -- Power Broker Conservative
    'ex_dt1_11_office_03c', -- Power Broker Polished

    -- Lom Bank
    'ex_sm_13_office_02b', -- Executive Rich
    'ex_sm_13_office_02c', -- Executive Cool
    'ex_sm_13_office_02a', -- Executive Contrast
    'ex_sm_13_office_01a', -- Old Spice Warm
    'ex_sm_13_office_01b', -- Old Spice Classical
    'ex_sm_13_office_01c', -- Old Spice Vintage
    'ex_sm_13_office_03a', -- Power Broker Ice
    'ex_sm_13_office_03b', -- Power Broker Conservative
    'ex_sm_13_office_03c', -- Power Broker Polished

    -- Maze Bank West
    'ex_sm_15_office_02b', -- Executive Rich
    'ex_sm_15_office_02c', -- Executive Cool
    'ex_sm_15_office_02a', -- Executive Contrast
    'ex_sm_15_office_01a', -- Old Spice Warm
    'ex_sm_15_office_01b', -- Old Spice Classical
    'ex_sm_15_office_01c', -- Old Spice Vintage
    'ex_sm_15_office_03a', -- Power Broker Ice
    'ex_sm_15_office_03b', -- Power Broker Conservative
    'ex_sm_15_office_03c', -- Power Broker Polished
}

-- All Solar Contracts
DreamCore.SolarContracts = {
    {
        name = 'Solar Panel Installation 1',
        vehicle = 'burrito',
        minimumLevel = 1,
        reward = {
            xp = 100,
            money = { min = 1000, max = 2000 } -- The Player will get a random amount between min and max and the company will get half of it
        },
        electricbox = vector3(190.3329, 116.8642, 96.0635),
        electricboxHeading = 247.2561, -- This is the heading for the player to interact with the electric box
        solarpanels = {
            {
                model = 'prop_solarpanel_02',
                coords = vector3(212.9322, 100.3477, 105.0705),
                heading = 360.00,
                blip = { show = true, name = "Solar Panel [%s]", sprite = 544, scale = 0.7, color = 70 }
            },
            {
                model = 'prop_solarpanel_02',
                coords = vector3(206.1897, 103.1665, 105.0705),
                heading = 360.00,
                blip = { show = true, name = "Solar Panel [%s]", sprite = 544, scale = 0.7, color = 70 }
            },
            {
                model = 'prop_solarpanel_02',
                coords = vector3(197.5705, 106.5344, 105.0705),
                heading = 360.00,
                blip = { show = true, name = "Solar Panel [%s]", sprite = 544, scale = 0.7, color = 70 }
            },
            {
                model = 'prop_solarpanel_02',
                coords = vector3(193.8265, 114.1017, 105.0705),
                heading = 360.00,
                blip = { show = true, name = "Solar Panel [%s]", sprite = 544, scale = 0.7, color = 70 }
            },
        },
        blip = {
            show = true,
            name = 'Solar Construction',
            sprite = 801,
            scale = 1.1,
            color = 70
        },
    },

    {
        name = 'Solar Panel Installation 2',
        vehicle = 'burrito',
        minimumLevel = 1,
        reward = {
            xp = 50,
            money = { min = 500, max = 1000 } -- The Player will get a random amount between min and max and the company will get half of it
        },
        electricbox = vector3(108.9308, 160.2433, 104.5303),
        electricboxHeading = 248.5612, -- This is the heading for the player to interact with the electric box
        solarpanels = {
            {
                model = 'prop_solarpanel_02',
                coords = vector3(111.4265, 154.5632, 110.9218),
                heading = 360.00,
                blip = { show = true, name = "Solar Panel [%s]", sprite = 544, scale = 0.7, color = 70 }
            },
            {
                model = 'prop_solarpanel_02',
                coords = vector3(117.4821, 151.4313, 110.9218),
                heading = 360.00,
                blip = { show = true, name = "Solar Panel [%s]", sprite = 544, scale = 0.7, color = 70 }
            }
        },
        blip = {
            show = true,
            name = 'Solar Construction',
            sprite = 801,
            scale = 1.1,
            color = 70
        },
    }

}

-- All Solar Job Headquarters
DreamCore.SolarHeadquarters = {
    {
        name = 'Solar Energy Headquarter',
        coords = vector3(-1571.2001, -571.0403, 108.5229),
        entrances = {
            {
                -- This is the entrance blip not headquarter blip
                blip = {
                    show = true,
                    name = 'Entrance [Main]',
                    sprite = 475,
                    scale = 0.5,
                    color = 53
                },
                model = 'a_m_y_smartcaspat_01',
                coords = vector3(-1580.9637, -558.6066, 33.9533),
                heading = 30.33
            },
            {
                -- This is the entrance blip not headquarter blip
                blip = {
                    show = true,
                    name = 'Entrance [Garage]',
                    sprite = 475,
                    scale = 0.5,
                    color = 53
                },
                model = 'a_m_y_smartcaspat_01',
                coords = vector3(-1534.9783, -580.7968, 24.7078),
                heading = 36.33
            }
        },
        blip = {
            show = true,
            sprite = 805,
            scale = 1.1,
            color = 66
        },
        interior = {
            ipl           = 'ex_sm_13_office_03b',
            coords        = vector3(-1578.8003, -564.3625, 108.5229),
            heading       = 210.00,
            spawnpoints   = {
                { coords = vector3(-1541.5402, -567.0441, 25.5255), heading = 34.9165 }
            },
            secretary     = {
                use = true,
                model = 'a_f_y_business_02',
                coords = vector3(-1570.9280, -574.9794, 107.5230),
                anim = { 'amb@world_human_stand_impatient@female@no_sign@base', 'base' },
                heading = 25.00
            },
            deliverypoint = {
                type = 2,
                coords = vector3(-1571.3627, -529.5821, 36.0),
                size = vector3(1.5, 1.5, 1.5),
                blip = {
                    show = true,
                    name = 'Delivery Point',
                    sprite = 477,
                    scale = 1.0,
                    color = 70
                }
            },
            waypoints     = {
                { type = 'exit',     label = 'Exit [Main]',              marker = { type = 2, size = vector3(0.3, 0.3, 0.3) },  size = vector3(2.0, 2.0, 2.0), coords = vector3(-1579.7924, -565.1591, 108.5229), teleport = vector3(-1583.4890, -555.2403, 34.9537) },
                { type = 'exit',     label = 'Exit [Garage]',            marker = { type = 36, size = vector3(0.5, 0.5, 0.5) }, size = vector3(2.0, 2.0, 2.0), coords = vector3(-1577.7709, -563.5770, 108.5229), teleport = vector3(-1537.3330, -577.7051, 25.7078) },
                { type = 'computer', label = 'Access the Computer',      marker = nil,                                          size = vector3(1.0, 1.0, 1.0), coords = vector3(-1570.8883, -574.1729, 108.3228) },
                { type = 'boss',     label = 'Access the Boss Computer', marker = nil,                                          size = vector3(1.0, 1.0, 1.0), coords = vector3(-1556.3005, -575.5287, 108.3228), minGrade = 4 },
            }
        }
    }
}

-- All Solar Store Locations
DreamCore.SolarStore = {
    {
        name = 'Solar Store',
        coords = vector3(29.35, -1770.43, 29.60),
        ped = {
            model = 's_m_y_dealer_01',
            coords = vector3(29.35, -1770.43, 28.60),
            heading = 45.0
        },
        blip = {
            show = true,
            sprite = 285,
            scale = 0.9,
            color = 66
        },
        payment = { 'money', 'bank' },
        items = {
            { name = 'Solar Panel', item = 'solarpanel', price = 500 }
        }
    }
}
DreamCoreExt.lua
DreamCore.Webhooks = {
    Enabled = true,

    -- Base Data
    Color = '10169855', -- Change the Color of the Webhook
    Author = 'Dream Solar Job', -- Change the Author of the Webhook
    IconURL = 'https://i.ibb.co/KNS96CM/dreamservices-round.png', -- Change the IconURL of the Webhook

    -- Webhook URLs
    StoreBuyItem = 'https://canary.discord.com/api/webhooks/XXX/XXX',
    EmployeeBonus = 'https://canary.discord.com/api/webhooks/XXX/XXX',
    EmployeeFire = 'https://canary.discord.com/api/webhooks/XXX/XXX',
    BusinessWithdrawMoney = 'https://canary.discord.com/api/webhooks/XXX/XXX',
    BusinessCompleteContract = 'https://canary.discord.com/api/webhooks/XXX/XXX',
}

Dream Solarjob Locales

Reminder: You can create your own locale file in your language πŸ‘Œ

en.lua
DreamLocales['en'] = {
    ['NotifyHeader'] = 'Solar Job',

    ['SolarStoreTarget'] = 'Open Solar Store',
    ['SolarStoreTitle'] = '🏠 Solar Store',
    ['SolarStoreEmpty'] = 'There is nothing to buy here :(',
    ['SolarStoreBuy'] = 'Buy Solar Panel',
    ['SolarStoreBuyDesc'] = '1x %s for $%s',
    ['SolarStoreInputTitle'] = 'πŸ“ Buy Contract',
    ['SolarStoreAmountLabel'] = 'Amount',
    ['SolarStoreAmountDesc'] = 'How many solar panels do you want to buy?',
    ['SolarStoreWalletLabel'] = 'Wallet',
    ['SolarStoreWalletDesc'] = 'How do you want to pay the solar panels?',
    ['SolarStoreWalletOptions'] = {
        ['cash'] = 'Cash', -- for QBCore
        ['money'] = 'Cash',
        ['bank'] = 'Bank',
    },
    ['SolarStoreBuySuccess'] = 'You have successfully bought %s %s!',
    ['SolarStoreBuyError'] = {
        ['invalid_player'] = 'You do not have enough money to buy this item!',
        ['invalid_store'] = 'You must be in a solar store to buy this item!',
        ['invalid_item'] = 'You must select a valid item to buy!',
        ['not_enough_money'] = 'You do not have enough money to buy this item!',
    },
    ['SolarHeadquarterEnter'] = 'Enter Headquarter',
    ['SolarHeadquarterWaypoint'] = {
        ['computer'] = {
            ['Title'] = 'πŸ–₯️ Computer',
            ['CurrentLevelTitle'] = 'Current Level',
            ['CurrentLevelDesc'] = 'Level %s (%sXP / %sXP)',
            ['StartNewContract'] = 'Start New Contract',
            ['StartNewContractDesc'] = 'Start a new contract to earn money and XP!',
        },

        ['boss'] = {
            ['Title'] = 'πŸ‘” Boss Actions',
            ['AccountBalanceTitle'] = 'Account Balance',
            ['AccountBalanceDesc'] = 'Your company has $%s',

            ['AccountWithdrawTitle'] = 'Withdraw Money',
            ['AccountWithdrawDesc'] = 'Withdraw money from the company',
            ['AccountWithdrawInputTitle'] = 'πŸ’Έ Withdraw Money',
            ['AccountWithdrawInputAmount'] = 'Amount',
            ['AccountWithdrawInputAmountDesc'] = 'How much money do you want to withdraw?',
            ['AccountWithdrawNotEnoughMoney'] = 'Your company does not have enough money to withdraw this amount!',
            ['AccountWithdrawSuccess'] = 'You have successfully withdrawn %s$ from your company!',

            ['EmployeeListTitle'] = 'Employee List',
            ['EmployeeListDesc'] = 'See all employees of your company',
            ['EmployeeBonusTitle'] = 'Employee Bonus',
            ['EmployeeBonusDesc'] = 'Give a bonus to an employee',
            ['EmployeeFireTitle'] = 'Fire Employee',
            ['EmployeeFireDesc'] = 'Fire an employee from your company',

            ['EmployeeListPersonTitle'] = '%s (%s)',
            ['EmployeeListPersonStatus'] = {
                ['online'] = 'Online',
                ['offline'] = 'Offline',
            },
            ['EmployeeListPersonDesc'] = 'Grade: %s | Level: %s | XP: %s/%s',
            ['EmployeeBonusPersonDesc'] = 'Give the player a bonus for his work!',

            ['EmployeeBonusPersonInputTitle'] = 'πŸ“ Employee Bonus',
            ['EmployeeBonusPersonInputAmount'] = 'Amount',
            ['EmployeeBonusPersonInputAmountDesc'] = 'How much money do you want to give?',
            ['EmployeeBonusPersonNotEnoughMoney'] = 'Your company does not have enough money to give this bonus!',
            ['EmployeeBonusPersonSuccess'] = 'You have successfully given %s a bonus of %s$!',
            ['EmployeeBonusPersonInformation'] = 'You got a bonus of %s$! Congratulations!',

            ['EmployeeFirePersonDesc'] = 'Fire the player from the company!',
            ['EmployeeFirePersonDialogTitle'] = 'πŸ“ Fire Employee',
            ['EmployeeFirePersonDialogDesc'] = 'Are you sure you want to fire %s from your company?',
            ['EmployeeFirePersonSuccess'] = 'You have successfully fired %s from your company!',
            ['EmployeeFirePersonInformation'] = 'You have been fired from the company!',
        },
    },
    ['SolarHeadquarterContractNotAvailable'] = 'No contracts available!',
    ['SolarHeadquarterContractInfoTitle'] = '~y~New Contract',
    ['SolarHeadquarterContractInfoDesc'] = '~c~Go to the construction with %s Solar Panels',
    ['SolarHeadquarterContractElectricBox'] = {
        ['TurnOffElectricity'] = 'Turn Off Electricity',
        ['TurnOffElectricityProgressBar'] = 'Turn Off Electricity...',
        ['SuccessNotify'] = 'You have successfully turned off the electricity! Go place the solar panels now!',
    },
    ['SolarHeadquarterContractSolarPanel'] = {
        ['PlaceSolarPanel'] = 'Place Solar Panel',
        ['SuccessNotify'] = 'You have successfully placed a solar panel [%s/%s]!',
        ['ErrorNotify'] = 'You need at least %s solar panel to place!',
    },
    ['SolarHeadquarterContractDriveBack'] = 'Drive back to the headquarter! To receive your profit.',
    ['SolarHeadquarterContractSuccess'] = 'You have successfully completed the contract!\n You gained %s$ and %sXP!'
}
PreviousDream SolarjobNextInstallation

Last updated 6 months ago

πŸ”Œ