Main

File Path: shared/config.main.lua

This file consists of the main information needed for the script to operate correctly (such as language, admin group etc.)


Config File

Config["Main"] = {
    -- View available languages in the locales folder or translate the en.json file to your language or copy paste the en.json file and rename it to your language.
    -- We would be grateful if you share you translation with us so we can add it to the repository as a default one.
    Language = "en",
    AdminGroup = "qbcore.god", -- Admin group for the commands

    -- Display thingys
    UsernameStartsWith = "bd_",
    CoinDisplayName = "BDCOIN",

    -- This only works if somehow the field in the database is empty. It is a backup variant if somehow the player doesn't have a wallpaper (which is impossible but still).
    -- If you want to change the actual default ones, upload your images to fivemanage.com and replace the default values in your database (bd_computers).
    DefaultWallpaper = "https://r2.fivemanage.com/pub/4m02sqtf01yu.jpg",
    DefaultAvatar = "https://r2.fivemanage.com/pub/b3wlienka20z.png",
    
    -- Recommended to leave as is, if you don't know what you are doing.
    Items = {
        ["Desks"] = {
            ["bd_desk1"] = { Item = "bd_desk1", Label = "Desk 1", Hash = 1845693979, Type = "desk", Prop = "xm_prop_base_staff_desk_01" },
            ["bd_desk2"] = { Item = "bd_desk2", Label = "Desk 2", Hash = 2084153992, Type = "desk", Prop = "xm_prop_base_staff_desk_02" },
            ["bd_desk3"] = { Item = "bd_desk3", Label = "Desk 3", Hash = 1230813074, Type = "desk", Prop = "v_ind_dc_desk01" },
            ["bd_desk4"] = { Item = "bd_desk4", Label = "Desk 4", Hash = 992647982, Type = "desk", Prop = "v_ind_dc_desk02" },
        },
        /**
            * Rack Slots are generated on server placing and slots are saved in the database, so if you change it here, it will only affect new servers.
        **/
        ["Servers"] = {
            ["bd_server1"] = { Item = "bd_server1", Label = "Server 1", Hash = 1030147405, Type = "miner", Prop = "hei_prop_mini_sever_01", RackSlots = 4 },
            ["bd_server2"] = { Item = "bd_server2", Label = "Server 2", Hash = 1806543322, Type = "miner", Prop = "hei_prop_mini_sever_02", RackSlots = 8 },
            ["bd_server3"] = { Item = "bd_server3", Label = "Server 3", Hash = 412812214, Type = "miner", Prop = "hei_prop_mini_sever_03", RackSlots = 12 },
            ["bd_server4"] = { Item = "bd_server4", Label = "Server 4", Hash = 1365277628, Type = "miner", Prop = "xm_base_cia_server_01", RackSlots = 16 },
            ["bd_server5"] = { Item = "bd_server5", Label = "Server 5", Hash = 3592488263, Type = "miner", Prop = "xm_base_cia_server_02", RackSlots = 20 },
        },
    },

    -- Recommended to leave as is, if you don't know what you are doing.
    ItemsForBuild = {
        ["cpu"] = {
            Item = "bd_cpu",
            Label = "CPU",
            Icon = "microchip",
        },
        ["gpu"] = {
            Item = "bd_gpu",
            Label = "GPU",
            Icon = "database",
        },
        ["ssd"] = {
            Item = "bd_ssd",
            Label = "SSD",
            Icon = "hard-drive",
        },
        ["vpn"] = {
            Item = "bd_vpn",
            Label = "VPN",
            Icon = "network-wired",
        },
    },
}

Last updated