📦Warehouses V2

Introduction

Empower your players with the option to own or rent their very own warehouse, offering boundless storage capacity. With three customizable levels—small, medium, and large—your players can effortlessly store many items, expanding their gaming experience like never before.

This script is written to work with QBCore and Zap Hosting ESX Pack

This is compatible with the following inventory systems:

The inventory code can be edited to use any inventory system

This script also has support for QB-Target / OX_Target

Key Features:

  • Limitless Warehousing: Players can enjoy the luxury of unlimited storage space.

  • In-game Warehouse Creation: Initiate warehouse construction effortlessly with the /createwarehouse command.

  • Flexible Pricing and Levels: Set rental rates and default levels upon warehouse creation, offering players flexibility.

  • Rentable or Purchasable Options: Cater to diverse player preferences by offering both rental and purchase choices.

  • Upgradable Storage Boxes: Each level features separate containers with individual inventories, ensuring efficient organization.

  • Storable Cash: Cash storage, editable within the configuration settings, The visual representation of cash objects varies depending on the stored amount, enhancing immersion.

  • Key Management: Players can easily manage access keys for their warehouses.

  • Police Raids: Introduce thrilling gameplay dynamics with the ability for police raids on warehouses.

  • Warehouse Management UI: A user-friendly interface enables seamless management of rent and warehouse levels, enhancing player convenience.

  • Passcode Entry: Ability to allow your players to disable key access and use a passkey instead.


Installation

  • Download the power_warehouses_v2 from Keymaster

  • Run the .sql file in your database.

  • Add the files to your resources folder

  • Ensure that the resource file will start (either ensure your resource in the server.cfg or inside a folder which is started on server start)

  • Edit the config file to your needs

  • Restart your server


Configuration

Select the tab below for your framework to see the configuration options available.


Editable files

functions.lua

Inventory Compatibility

If you would like to edit the inventory to add your own custom inventory, you can edit the functions in the funtions.lua file. Default inventory support is as follows:

QBCore Compatibility and Notifications

ESX Compatibility and notifications

server_functions.lua

Discord Webhook

If you would like to add a discord webhook, you can add it to the server_functions.lua. Be sure to change the CHANGEME to your webhook URL.

QBCore Compatibility

ESX Compatibility


HTML

HTML files are able to be edited.

  • index.html

    • Additional language translations can be edited here listed as:

  • script.js

  • style.css

  • devices.css


Last updated

Was this helpful?