Config builder

X3D Use Item config

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

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

General

Config.Framework

Framework: 'auto' detects es_extended · 'esx' forces ESX · 'standalone' uses no framework

Config.Locale

Language of every message ('th' or 'en') · texts live in locales.lua

Config.ReviveEvent

Config.ReviveEvent = 'esx_ambulancejob:revive'

The revive item (aed) asks your death-screen script to wake the player up

false (default) = hook into nothing: heals to full and stands the player up by itself

To use your own death-screen script, put its event name, e.g.

Config.ReviveEvent = 'esx_ambulancejob:revive'

Config.RestartLockState

Pre-restart economy lock (e.g. esx_restart) — put the GlobalState key that system uses

It sets .lock = true near a restart, e.g. Config.RestartLockState = 'restartlock'

Not using one? leave false (no lock)

Config.CheckBagSpace

Check bag space before opening a box — put the inventory resource that has export CheckItemFit(src, item, count)

e.g. Config.CheckBagSpace = 'ox_inventory' · false = open straight away (overflow is the inventory's job)

Config.HealAnim

animation while healing

dict
clip
Config.HealProp

prop held while healing

model
bone
offset
rot

Healing items: pct = share healed (0.20 = 20%) · duration = time (ms) · prop = hold the prop or not

Config.Heal

Healing items: pct = share healed (0.20 = 20%) · duration = time (ms) · prop = hold the prop or not

e.g. ['medkit'] = { pct = 0.50, duration = 5000, prop = true }

Healing items: pct = share healed (0.20 = 20%) · duration = time (ms) · prop = hold the prop or not · 2 rows
#NamepctdurationpropOptions
1painkiller
2bandage

CPR animation · pumpInterval = time between compressions (ms) and 1 more

Config.ReviveAnim

CPR animation · pumpInterval = time between compressions (ms)

dict
clip
pumpInterval
Config.ReviveRadius

radius (meters) to look for a downed player

Revive items: duration = CPR time (ms)

Config.Revive

Revive items: duration = CPR time (ms)

e.g. ['aed_mini'] = { duration = 7000 }

Revive items: duration = CPR time (ms) · 2 rows
#NamedurationOptions
1aed
2aed_super

repair animation

Config.FixAnim

repair animation

dict
clip

Repair items: duration = time (ms) · radius = reach to find the car (meters)

Config.Fix

Repair items: duration = time (ms) · radius = reach to find the car (meters)

e.g. ['fixkit_pro'] = { duration = 8000, radius = 5.0 }

Repair items: duration = time (ms) · radius = reach to find the car (meters) · 1 rows
#NamedurationradiusOptions
1fixkit

reload animation and 1 more

Config.AmmoAnim

reload animation

dict
clip
ms
Config.MaxAmmo

max ammo per weapon (cannot top up past this)

Ammo items: amount = rounds added · weapons = limit to these weapons (omit = any weapon)

Config.Ammo

Ammo items: amount = rounds added · weapons = limit to these weapons (omit = any weapon)

e.g. ['ammo_box'] = { amount = 60 }

Ammo items: amount = rounds added · weapons = limit to these weapons (omit = any weapon) · 2 rows
#NameamountweaponsOptions
1speed_loader
2ammo_box

max boxes opened in one use

Config.BoxMaxPerUse

max boxes opened in one use

Boxes: box item = list of { item received, count } per box

Config.Boxes

Boxes: box item = list of { item received, count } per box

e.g. ['box_cement'] = { { 'cement', 100 } }

Boxes: box item = list of { item received, count } per box · 8 rows
#NameOptions
1box_cement
2box_ingot_gold
3box_ingot_steel
4box_ingot_copper
5box_wood_plank
6box_gem_diamond
7box_gem_ruby
8fight_pack

box-opening animation

Config.BoxAnim

box-opening animation

dict
clip
ms

eat and drink animations: ms = time

Config.ConsumeAnims

eat and drink animations: ms = time

eat and drink animations: ms = time · 2 rows
#NamedictclipmsOptions
1eat
2drink

Food: anim = animation · heal = share of health restored · effects = buffs { kind, value, seconds }

Config.Food

Food: anim = animation · heal = share of health restored · effects = buffs { kind, value, seconds }

e.g. ['bread'] = { anim = 'eat', heal = 0.05, effects = { { 'regen', 1, 60 } } }

Food: anim = animation · heal = share of health restored · effects = buffs { kind, value, seconds } · 6 rows
#NameanimhealeffectsOptions
1food_lunchbox
2drink_water
3milk
4meal_basic
5meal_hearty
6meal_feast

Armor and helmet =====

Config.Armor

Armor and helmet =====

Armor and helmet ===== · 3 rows
#NameitemarmorzoneExportOptions
1vest
2rental
3helmet