Registering Stashes & Custom Inventories
Registering Stashes & Custom Inventories
Dynamic storage registration from another server resource.
Applies to: Nord Inventory v2.0.0
exports.nord_inventory:RegisterStash(
'mechanic_storage',
'Mechanic Storage',
80,
250000,
false,
{ mechanic = 0 },
vector3(0.0, 0.0, 0.0)
)
For more general storage:
exports.nord_inventory:RegisterInventory('my_inventory_id', {
label = 'My Inventory',
slots = 40,
maxWeight = 100000
})
Register storage from trusted server code and open it through the public inventory API.