Config builder

X3D Inventory config

Change values in the form, then copy one topic or the whole file into your server.

Download with my settings
v1.1.4
💡 Already changed your config? Paste it to continue from it. Keys new in this version get ★.

General

Docs ↗
Config.Locale

Language of the screens and messages: 'th' | 'en'

Config.Debug

Print debug logs to the console (keep off on a live server)

Config.OpenKey

Bag toggle key (players can rebind it in Settings > Key Bindings > FiveM)

Config.CloseCommand

Command that force-closes the bag (in case the screen gets stuck)

Config.AdminSearchCommand

Admin command to search another player's bag: /x3dinv <id>

Config.Durability

Durability: false = no durability bar at all, even when other scripts register providers

enabled
Config.StackLimit

Stack limit per slot: false = unlimited stacking

enabled
Config.Weight

Weight: false = no weight and the weight bar is hidden · max_weight = fallback cap when no capacity data exists

enabled
max_weight
Config.SlotLimit

Slot count: false = unlimited slots and the counter is hidden · max_slots = fallback when no capacity data exists

enabled
max_slots
Config.Sounds

Play the game's click sound when an item is used

Config.Blur

Blur the game behind the open bag

Config.OpenWhileDead

Allow opening the bag while dead

Config.BlockInVehicle

Block opening the bag while in a vehicle

Config.GiveDistance

Give distance in metres — re-checked by the server

Config.DropToTrash

Dragging onto the trash deletes the item

Config.DropToGround

true = drop onto the ground for others to pick up instead of deleting (overrides DropToTrash)

Config.GroundDropLifetime

Seconds before a ground drop disappears

Config.SearchDistance

Bag search distance in metres — re-checked by the server

Config.SearchGroups

Admin groups (xPlayer.getGroup()) allowed to search other bags

adminsuperadmin
Config.SearchJobs

Jobs allowed to search other bags

police
Config.AccountSlots

Accounts shown as bag slots (bank always shows in the money box at the top)

money
bank
black_money

account names shown (override the English ESX labels)

Docs ↗
Config.AccountLabels

account names shown (override the English ESX labels)

account names shown (override the English ESX labels) · 3 rows
#NamethenOptions
1money
2black_money
3bank

Weight per $1 for each account (unset = 0) and 1 more

Docs ↗
Config.AccountWeight

Weight per $1 for each account (unset = 0)

e.g. Config.AccountWeight = { black_money = 0.001 }

Config.AccountRarity

Rarity of the money slots 0–4 (unset = 0)

money

Accounts that can't be dropped / given

Docs ↗
Config.AccountRules

Accounts that can't be dropped / given

Accounts that can't be dropped / given · 2 rows
#NametypelistOptions
1drop
2give

Sort order in the bag (lower number first)

Docs ↗
Config.SortOrder

Sort order in the bag (lower number first)

account
personal
house_key
vehicle_key
accessory
item
weapon

alwaysShow = hotkey bar always visible · showOnKeyPress = show it when a number is pressed · defaultCooldown = ms between uses and 1 more

Docs ↗
Config.QuickSlots

alwaysShow = hotkey bar always visible · showOnKeyPress = show it when a number is pressed · defaultCooldown = ms between uses

enabled
alwaysShow
showOnKeyPress
position

'bottom' | 'bottom-left' | 'bottom-right'

slots
defaultCooldown
Config.ItemCooldowns

Per-item cooldown in ms — 0 / false = none

vest

['bandage'] = 5000,

vest_training
helmet

Items with no cooldown at all

Docs ↗
Config.NoCooldownItems

Items with no cooldown at all

Cooldown multiplier per job (0.5 = twice as fast)

Docs ↗
Config.JobCooldownModifiers

Cooldown multiplier per job (0.5 = twice as fast)

Cooldown multiplier per job (0.5 = twice as fast) · 1 rows
#NameitemsOptions
1ambulance

Extra cooldown cut by job grade: multiplier - (grade × gradeReduction), never below minModifier and 3 more

Docs ↗
Config.JobGradeCooldownReduction

Extra cooldown cut by job grade: multiplier - (grade × gradeReduction), never below minModifier

enabled
gradeReduction
minModifier
Config.CloseEvents

Client events that close the bag at once, e.g. { 'myserver:restartLock' }

Config.ReviveEvents

Revive events that never fire playerSpawned (restores weapon state), e.g. { 'myrespawn:revived' }

Config.RestartLockState

GlobalState key marking the pre-restart lock (value { lock = true }) — nil = not used

e.g. Config.RestartLockState = 'restartlock'