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

  • ox_lib [mandatory]
  • ox_target [mandatory] (you can easily add bridge for other targets)

and other framework specific dependencies.

Inventory

At the moment, storage supports qb-inventory and ox_inventory. For other inventories, you'll have to write your own bridge.

Config

Storage is detecting framework automatically. If you have renamed your resources or core, please check /modules/bridge folder, there you'll be able to change name and etc. Otherwise, please check config at shared/* folder.

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.