Skip to main content

Installation

caution

Please carefully read installation process, otherwise fd_storage resource will not work.

Dependecies

Global dependencies

We've tried not use a lot of third party dependencies, so you won't need to install that many dependencies. For this resource to work, you'll need to install

and other framework specific dependencies.

Framework Specific

Resource should be compatible with older and newest QBCore versions, you can get it at QBCore Framework Repository. However, it's tested only with newest version.

Additionally you'll need:

Please make sure to ensure it before fd_storage resource, and don't forget to set your framework and core resource in shared/config.lua.

Config

Depending on your framework please set appropriate framework configuration in shared/config.lua.

core = {
framework = 'qbcore', -- available: qbcore, esx
resource = 'qb-core' -- for qbcore usually: qb-core, for esx usually: es_extended
},

Items

Icons

First of all, please move icons from images/ folder to your inventory resource and add items to inventory config as specified below.

Items

Add items to shared/items.lua or where your QBShared.Items is.

    ["smallcrate"] = {
["name"] = "smallcrate",
["label"] = "Small Crate",
["weight"] = 0,
["type"] = "item",
["image"] = "smallcrate.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Is there something in it?"
},
["mediumcrate"] = {
["name"] = "mediumcrate",
["label"] = "Medium Crate",
["weight"] = 0,
["type"] = "item",
["image"] = "mediumcrate.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Is there something in it?"
},
["bigcrate"] = {
["name"] = "bigcrate",
["label"] = "Big Crate",
["weight"] = 0,
["type"] = "item",
["image"] = "bigcrate.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Is there something in it?"
},
["smallcontainer"] = {
["name"] = "smallcontainer",
["label"] = "Small Container",
["weight"] = 0,
["type"] = "item",
["image"] = "smallcontainer.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Is there something in it?"
},
["mediumcontainer"] = {
["name"] = "mediumcontainer",
["label"] = "Medium Container",
["weight"] = 0,
["type"] = "item",
["image"] = "mediumcontainer.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Is there something in it?"
},
["bigcontainer"] = {
["name"] = "bigcontainer",
["label"] = "Big Container",
["weight"] = 0,
["type"] = "item",
["image"] = "bigcontainer.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Is there something in it?"
},
["smalltrapcrate"] = {
["name"] = "smalltrapcrate",
["label"] = "Small Fake Crate",
["weight"] = 0,
["type"] = "item",
["image"] = "smalltrapcrate.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Is there something in it?"
},
["trapcrate"] = {
["name"] = "trapcrate",
["label"] = "Medium Fake Crate",
["weight"] = 0,
["type"] = "item",
["image"] = "trapcrate.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Is there something in it?"
},
["bigtrapcrate"] = {
["name"] = "bigtrapcrate",
["label"] = "Big Fake Crate",
["weight"] = 0,
["type"] = "item",
["image"] = "bigtrapcrate.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Is there something in it?"
},

["portablefridge"] = {
["name"] = "portablefridge",
["label"] = "Portable Fridge",
["weight"] = 0,
["type"] = "item",
["image"] = "portablefridge.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Is there something in it?"
},
["craterepairkit"] = {
["name"] = "craterepairkit",
["label"] = "Container repairkit",
["weight"] = 0,
["type"] = "item",
["image"] = "craterepairkit.png",
["unique"] = false,
["useable"] = false,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Extend that lifetime?"
},
["cratehackingdevice"] = {
["name"] = "cratehackingdevice",
["label"] = "Container hacking device",
["weight"] = 0,
["type"] = "item",
["image"] = "cratehackingdevice.png",
["unique"] = false,
["useable"] = false,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Unlock that god damn container..."
},
["cratepadlock"] = {
["name"] = "cratepadlock",
["label"] = "Container padlock",
["weight"] = 0,
["type"] = "item",
["image"] = "cratepadlock.png",
["unique"] = false,
["useable"] = false,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Let's make that container safe..."
},

Start

If you did everything as described above, please start your server and enjoy new portable / additional storages!

Common Issues

Questions

If you have an issue or questions, please visit our discord, and open a ticket.