Main
config.main.lua
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",
OneUserAtATime = true, -- If true, only one user can be on the computer at a time
OnlyOwnerPickUp = true, -- If true, only the owner can pick up the computer and miners (if false, everyone can pick up the computer and miners)
PlaceOnlyInAppartmentsAndHouses = false, -- If true, you can only place the computer in appartments and houses
-- 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/ngdTgLtsPcWttgwAMACiI/Minimalist-Wallpaper-4K-HD-Free-download.jpg",
DefaultAvatar = "https://r2.fivemanage.com/ngdTgLtsPcWttgwAMACiI/pfp.png",
-- QB Inventory "nui://qb-inventory/html/images/"
-- Ox Inventory "nui://ox_inventory/web/images/"
InventoryImages = "nui://ox_inventory/web/images/", -- Inventory images path
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 },
},
},
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",
},
},
BackupItem = "bd_hdd", -- Backup item for the computer data
AccountNames = { -- Edit only right side of the equal sign to correspond with your server's account names
["Bank"] = "bank",
["Cash"] = "cash",
},
MetadataFieldName = "metadata", -- "metadata" for ox_inventory, "info" for qb-inventory
}