-- The config.locale value is retrieved from tgiann-core.
config.locale.symbol="$"
-- Recommendation:
-- It is recommended to use the needRegisterStash setting or disableClientOpenInventory setting to true.
-- If needRegisterStash is true, inventories not registered by the client cannot be opened
-- If disableClientOpenInventory is true, the client will not be able to trigger openinventory events or exports, so cheaters will not be able to open inventories on client side.
-- if you activate these two settings, you should edit all your scripts and move the openinventory exports or events to the server side.
-- while doing this, you must first register the inventory with register stash and write extra protections in your server side event that opens the inventory.
-- for example, if it is a police stash, checking the player's job first is an extra precaution against cheaters.
config.needRegisterStash=false-- When true, the inventory must be registered with RegisterStash for stash and craft inventories. if the inventory is not registered. you cannot open the inventory with openInventory
config.disableClientOpenInventory={
disabled=false,-- When true, openinventory events and exports triggered from client will not work
ignoreTypeList={-- When the type is in this list, it will not be disabled
config.blockWeaponWheel=true-- If you don't have a script that blocks weaponwheel make it true, if you do have a script than false
config.preventHandWeaponChangingSlots=true-- prevents the player from changing the slot of the weapon they are using
config.showItemLabelOnMainInventory=false-- turn on/off the label of items in the main inventory
config.accessDropWhenInVehicle=false-- if true, players can drop items and access drop inventory while in the vehicle
config.kickPlayerWhenHackingDatected=false-- if true, the player will be kicked when the inventory hack is detected (U can edit ban function from editable)
config.autoEmote=true-- if true, the player will automatically me and do the emote when the trunk etc is opened
config.inventorySaveTime=10-- How often should updated inventory data be saved to the database? (Minute)
config.createDropWhenPlayerFull=true-- if true, when the player is full, the item will be dropped to the ground (only work with AddItem export)
-- false - "serverid" - "citizenid"
-- citizenid: QB: citizenid, ESX: identifier
config.contextGiveItemId="serverid"
config.contextGiveShowPlayerName=false-- if true, the player name will be shown in the context menu when giving an item to another player
config.openOwner={
trunk={
active=false,-- When set to true, only the vehicle owner can open the trunk.
openNpc=true,-- When the setting is active, the trunk can be used if the vehicle doesn't belong to anyone.
},
glovebox={
active=false,-- When set to true, only the vehicle owner can open the glovebox.
openNpc=false,-- When the setting is active, the glovebox can be used if the vehicle doesn't belong to anyone.
}
}
config.searchPlayer={
askTarget={
active=true,-- If true, when a player is searched, a request is sent to the other player to accept the search.
active=true,-- If true, the target player should play one of the following animations. if it's not playing one of the animations, it can't be searched.
blurbg=true,-- Sets the background blur setting of the player entering the server for the first time to the value in config.
blurMenu=false,-- Sets the menu background blur setting of the player entering the server for the first time to the value in config. (causes these players to make the screen flicker)
character=true,-- Sets the character visibility setting for the first player to enter the server to the value in config.
-- if you leave only one color the player will not change the color of the ui
-- if you are using tgiann-lumihud this setting will not work. colors will be changed from the /hud menu of lumihud
-- only use hex color
defaultColors={
{label="Green",background=config.defaultColor.background,color=config.defaultColor.color},-- The first index is set as the default color of the inventory.
kposet={name="kposet",label="Clothes Bag",weight=100,type="item",unique=true,useable=true,shouldClose=false,description="Special Bag to Store Your Clothes"},-- Clothe small bag item
bkposet={name="bkposet",label="Clothes Bag Plus",weight=300,type="item",unique=true,useable=true,shouldClose=false,description="Special Bag to Store Your Clothes"},-- Clothe big bag item
clothe_set={name='clothe_set',label='Clothe Set',weight=0,type='item',image='clothe_set.png',clothe=true,unique=true,useable=true,shouldClose=false,description=''},-- Clothe set item
]]
config.clothingAsItem=false
-- Only works when clothingAsItem is false or Custom Script Clothe is active(https://docs.tgiann.com/scripts/tgiann-clothing/events-exports#custom-script-clothe)