Page cover

🙋XP

The inbuilt XP system can be toggled on or off via the main config

If you are using the XP system ensure you have imported the SQL file provided to your database

You can define various settings for XP such as XP chance, XP commands and XP gains from interactions along side the XP levels and their amount requirements

XP = { -- xp settings
    Enabled = true, -- enable xp system (make sure to import sql file if enabled)
    XPChance = 50, --50% chance to earn xp
    Command = { -- command settings
        Enabled = true, -- enable xp command
        Name = 'recyclexp', -- name of xp command
        Description = 'Check your recycling XP level', -- command description
    },
    XPGain = { -- amount of xp earnt from recycling
        Min = 5, -- min amount
        Max = 10, -- max amount
    },
    XPLevels = { -- XP levels and their respective amounts
        [1] = 100,
        [2] = 250,
        [3] = 500,
        [4] = 1000,
        [5] = 1500,
        [6] = 2250,
        [7] = 3500,
        [8] = 5000,
        [9] = 7500,
        [10] = 10000,
        --add more levels as required following the index number for the next level
    },
},

Last updated