Config

Get all item configurations.

exports['skeexs-inventory']:Items()

Returns: table<string, table> - All items from Config.Items

local allItems = exports['skeexs-inventory']:Items()
for name, config in pairs(allItems) do
    print(name, config.label, config.weight)
end

ItemConfig

Get configuration for a specific item.

exports['skeexs-inventory']:ItemConfig(itemName)

Returns: table|nil

local config = exports['skeexs-inventory']:ItemConfig('water')
if config then
    print('Label:', config.label)
    print('Weight:', config.weight)
    print('Stackable:', config.stack)
end

Last updated