X3D Inventory config
Change values in the form, then copy one topic or the whole file into your server.
Download with my settingsGeneral
Docs ↗Config.LocaleLanguage of the screens and messages: 'th' | 'en'
Config.DebugPrint debug logs to the console (keep off on a live server)
Config.OpenKeyBag toggle key (players can rebind it in Settings > Key Bindings > FiveM)
Config.CloseCommandCommand that force-closes the bag (in case the screen gets stuck)
Config.AdminSearchCommandAdmin command to search another player's bag: /x3dinv <id>
Config.DurabilityDurability: false = no durability bar at all, even when other scripts register providers
Config.StackLimitStack limit per slot: false = unlimited stacking
Config.WeightWeight: false = no weight and the weight bar is hidden · max_weight = fallback cap when no capacity data exists
enabledmax_weightConfig.SlotLimitSlot count: false = unlimited slots and the counter is hidden · max_slots = fallback when no capacity data exists
enabledmax_slotsConfig.SoundsPlay the game's click sound when an item is used
Config.BlurBlur the game behind the open bag
Config.OpenWhileDeadAllow opening the bag while dead
Config.BlockInVehicleBlock opening the bag while in a vehicle
Config.GiveDistanceGive distance in metres — re-checked by the server
Config.DropToTrashDragging onto the trash deletes the item
Config.DropToGroundtrue = drop onto the ground for others to pick up instead of deleting (overrides DropToTrash)
Config.GroundDropLifetimeSeconds before a ground drop disappears
Config.SearchDistanceBag search distance in metres — re-checked by the server
Config.SearchGroupsAdmin groups (xPlayer.getGroup()) allowed to search other bags
Config.SearchJobsJobs allowed to search other bags
Config.AccountSlotsAccounts shown as bag slots (bank always shows in the money box at the top)
moneybankblack_moneyaccount names shown (override the English ESX labels)
Docs ↗Config.AccountLabelsaccount names shown (override the English ESX labels)
| # | Name | th | en | Options |
|---|---|---|---|---|
| 1 | money | |||
| 2 | black_money | |||
| 3 | bank |
Weight per $1 for each account (unset = 0) and 1 more
Docs ↗Config.AccountWeightWeight per $1 for each account (unset = 0)
e.g. Config.AccountWeight = { black_money = 0.001 }
Config.AccountRarityRarity of the money slots 0–4 (unset = 0)
moneyAccounts that can't be dropped / given
Docs ↗Config.AccountRulesAccounts that can't be dropped / given
| # | Name | type | list | Options |
|---|---|---|---|---|
| 1 | drop | |||
| 2 | give |
Sort order in the bag (lower number first)
Docs ↗Config.SortOrderSort order in the bag (lower number first)
accountpersonalhouse_keyvehicle_keyaccessoryitemweaponalwaysShow = hotkey bar always visible · showOnKeyPress = show it when a number is pressed · defaultCooldown = ms between uses and 1 more
Docs ↗Config.QuickSlotsalwaysShow = hotkey bar always visible · showOnKeyPress = show it when a number is pressed · defaultCooldown = ms between uses
enabledalwaysShowshowOnKeyPressposition'bottom' | 'bottom-left' | 'bottom-right'
slotsdefaultCooldownConfig.ItemCooldownsPer-item cooldown in ms — 0 / false = none
vest['bandage'] = 5000,
vest_traininghelmetItems with no cooldown at all
Docs ↗Config.NoCooldownItemsItems with no cooldown at all
Cooldown multiplier per job (0.5 = twice as fast)
Docs ↗Config.JobCooldownModifiersCooldown multiplier per job (0.5 = twice as fast)
| # | Name | items | Options |
|---|---|---|---|
| 1 | ambulance |
Extra cooldown cut by job grade: multiplier - (grade × gradeReduction), never below minModifier and 3 more
Docs ↗Config.JobGradeCooldownReductionExtra cooldown cut by job grade: multiplier - (grade × gradeReduction), never below minModifier
enabledgradeReductionminModifierConfig.CloseEventsClient events that close the bag at once, e.g. { 'myserver:restartLock' }
Config.ReviveEventsRevive events that never fire playerSpawned (restores weapon state), e.g. { 'myrespawn:revived' }
Config.RestartLockStateGlobalState key marking the pre-restart lock (value { lock = true }) — nil = not used
e.g. Config.RestartLockState = 'restartlock'