-- Documentation: -- readme.md file or https://github.com/Ekhion76/eco_crafting Config = {} Config.locale = 'en' Config.versionCheck = true Config.debugLevel = 0 -- 0-4, false or 0 = off Config.systemMode = { profession = true, -- proficiency system on/off (can be overridden by e_core) labor = false, -- if you turn off the lab, the profession system will automatically turn off. (can be overridden by e_core) money = false, -- money condition on/off chance = true, -- chance system on/off blueprint = true } -- Display components in user interface(nui) Config.displayComponent = { chance = true, -- show loaded recipe chance uiSizeBtn = true, -- show '+ -' buttons hideHigherProficiencyItems = false, -- it hides from the product list those items for which you do not have sufficient proficiency weight = true } Config.useTarget = true Config.debugPoly = false -- Default false Config.keyBind = { -- Default RegisterKeyMapping (if useTarget = false) openCraft = 'E', -- Open Craft Interface removePortableWS = 'U' -- Remove portable workstation } Config.checkCanInteract = true -- if open the crafting ui, then check isDeath, isPedCuffed, etc... -- ECO LOGGER Config.discordBotName = 'ECOBOT' Config.discordWebHook = { -- crafting = 'https://discord.com/api/webhooks/...', -- portable = 'https://discord.com/api/webhooks/...', -- Log the portable workstation add/remove } -- PORTABLE WORKSTATIONS Config.savePortableWorkstations = true -- Placed portable workstations are saved and loaded when server or script is restarted Config.workstationMaxCorrectionZ = 0.5 -- Default: 0.5 maximum height adjustment when placing a portable workstation Config.workstationExpirationTime = 7 -- Default: 7(day)- is evaluated at script startup, if 0 then turn off Config.workstationPlacementTime = 15 -- Default: 15(sec) Config.workstationRemovalTime = 15 -- Default: 15(sec) Config.workstationPlacementLimit = 1 -- number of workstations that can be placed by a player at the same time (does not apply to admins) Config.workstationRemoveCommand = 'workstationremoval' -- deletes the nearby workstation default: 'workstationremoval'(only admin) Config.workstationRemoveAdminGroup = 'god' -- default god Config.showRestrictedAreaCommand = 'showrestricted' -- visually displays restricted areas: 'showrestricted'(only admin) Config.showRestrictedAreaAdminGroup = 'god' -- default god Config.copyingPortableDataToClipboard = true -- if you are an admin and you place a table, then data will be copied to the clipboard -- if you set everything to false, only the owner and admin can remove it (this only applies to portable workstations) Config.canRemove = { -- admins can use the remove command everybody = false, -- everyone can remove the other settings are ignored ownerJob = false, -- if the job is the same as the owner's ownerGang = false, -- if the gang is the same as the owner's supervisoryJobs = { -- these workers always 'police', 'sheriff' } } -- if you set everything to false, only the owner can use it (this only applies to portable workstations) Config.canUse = { -- admins can use the remove command everybody = true, -- everyone can remove the other settings are ignored ownerJob = false, -- if the job is the same as the owner's ownerGang = false, -- if the gang is the same as the owner's }