config.lua

0r-builderjob/config.lua
--[[
    All script settings are found and edited in this file.
    Make sure to configure everything properly before running the script.
]]

Config = {}

-- Default locale for the script.
Config.locale = "en"

-- Builder Menu Configuration
Config.BuilderMenu = {
    -- Command to open the menu.
    openWithCommand = {
        active = true,           -- Set to true to enable command-based menu opening.
        command = "buildermenu", -- The command used to open the menu.
    },
    -- Keybind to open the menu.
    openWithKey = {
        active = true, -- Set to true to enable keybind-based menu opening.
        key = "F8",    -- The key used to open the menu.
    },
    -- Item to open the menu.
    -- This allows players to open the menu by using a specific item.
    openWithItem = {
        active = true,               -- Set to true to enable item-based menu opening.
        itemName = "builder_tablet", -- The name of the item that opens the menu.
    },
    -- Jobs allowed to open the menu.
    -- If table is empty, all jobs can access the menu.
    -- If you want to restrict access, add specific job names.
    allowedJobs = {
        -- "job-name", -- Replace "job-name" with the actual job names that can access the menu.
    },

    -- Distance requirement to be near job-giving NPCs to open the menu. (optional) If 0, always accessible.
    requiredMinDistance = 25.0,
}

-- Experience points required for each level.
Config.Levels = {
    0, 500, 1500, 3000, 5000, 7500, 10500, 14000, 18000, 22500,
}

-- Info Box Configuration
Config.InfoBox = {
    align = "left",  -- Alignment of the task info box (left or right).
    toggleKey = "B", -- Key used to toggle additional tasks-related info (e.g., stats, details).
}

-- Money Configuration
Config.CleanMoney = {
    isItem = true,        -- Set to true if money is represented as an item, false if it's an account.
    itemName = "cash",    -- Name of the money item if isItem is true.
    accountName = "bank", -- Name of the money account if isItem is false.
}

Config.JobClothing = {
    active = true, -- Enable or disable job-specific clothing.
    outfit = {
        -- QB/QBOX
        ["t-shirt"] = { item = 0, texture = 0 },
        ["torso2"] = { item = 56, texture = 0 },
        ["pants"] = { item = 9, texture = 0 },
        ["shoes"] = { item = 25, texture = 0 },
        ["arms"] = { item = 74, texture = 0 },
    },
}

-- Debug Mode
Config.debug = true -- Enable (true) or disable (false) debug mode for development/testing.

Last updated