Skip to main content

Core Configuration

Core Configuration

The complete configuration is in config.lua. The values below are the defaults shipped with v1.6.11.

General

Config.Framework = 'auto'
Config.Locale = 'en'
Config.Debug = false

Config.OpenCommand = 'inventory'
Config.OpenKey = 'TAB'
Config.AdminCommand = 'norditems'
Config.AdminAce = 'nord_inventory.admin'

Inventory capacity defaults

Config.DefaultPlayerSlots = 40
Config.DefaultPlayerWeight = 80000 -- grams
Config.DefaultStashSlots = 60
Config.DefaultStashWeight = 150000
Config.TrunkSlots = 50
Config.TrunkWeight = 120000
Config.GloveboxSlots = 10
Config.GloveboxWeight = 15000

Weights are stored in grams in the default configuration.

Sessions and persistence

Config.InventorySessionSeconds = 300
Config.SaveIntervalSeconds = 30
Config.MaxTransferAmount = 100000
Config.MaxContainerDepth = 3

Config.EnableWeight = true
Config.EnableVolume = false
Config.EnableDurability = true
Config.EnableItemHistory = true
Config.TransactionLogRetentionDays = 14

UI defaults

Config.UI = {
    theme = 'dark',
    columns = 7,
    slotSize = 'medium',
    showWeight = true,
    animations = true,
    hotbarSlots = 5,
    hotbarKeybinds = true
}

Standalone hotbar

Config.Hotbar = {
    Enabled = true,
    Command = 'hotbar',
    OpenKey = 'Z',
    Mode = 'timed', -- timed | toggle
    Duration = 3200,
    ShowOnSlotUse = false
}

Ground inventory

Config.GroundOpenDistance = 3.0
Config.GroundDrawDistance = 15.0
Config.GroundPropDistance = 35.0
Config.GroundDefaultModel = 'prop_cs_cardbox_01'
Config.GroundLifetimeSeconds = 1800
Config.GroundSlots = 30
Config.GroundWeight = 250000
Config.ThrowMaxDistance = 8.0
Config.ThrowMaxHeightDifference = 4.0

See the dedicated Vehicle Storage and Interaction pages for nested vehicle/target settings.

Weapon magazine configuration added in v1.6.9+

Config.WeaponAmmo = {
    Enabled = true,
    DefaultMagazineSize = 30,
    MaxMagazineSize = 999,
    DetectMagazineFromGame = true,
    AutoReloadDelay = 260,
    ReloadCooldown = 650,
    ManualReloadControl = 45,
}

DefaultMagazineSize is only a bootstrap fallback until the weapon instance has authoritative metadata.magazineSize.