βš™οΈConfiguration

In config.lua you have everything you need to change to make the script to your liking

Language and Locales

At the moment there are only the following language: en

To change the language simply change the config.lua from en to the language you want. All translations are available in the locales folder.

Config.Locale = 'en'

Systems and Frameworks

At the moment we work with QB-CORE , QBX and ESX frameworks. All those frameworks with ox_lib.

To change the framework or system just change it with the options given

Config.UI = 'YODA' -- YODA OR OX
Config.Inventory = 'OX' -- OX OR QB
Config.Notify = 'OX' -- OX OR QB

Translations

In the yoda reputation system, there are two types of translations, one in the config for the custom ui and one in the locales for the ox_lib ui.

Config.yodaui = {
    jobLevel = 'Level',
    xpBadge = 'XP',
    NoRewardsForNextLevel = 'No rewards for next level',
    NoAvatarAvailable = 'No Avatar Available',
    title = 'Work Reputation',
    subtitle = 'See your progress on your jobs',
}
return {
    reputationUi = {
        title = 'Work Reputation',
        level = 'Level',
        XP = 'XP',
        NEXTLEVELREWARD = 'Next level reward',
        NoRewardsForNextLevel = 'No rewards for next level',
    }
}

Last updated

Was this helpful?