🛍️Street Shops Creator

1. Shop Placement and Creation

  • Players can place shops dynamically using props/models.

  • Option to choose the shop name and prop from a menu.

  • Zone checks: Shops can only be created in specific areas defined in Config.Zones.

  • Prevents duplicate shop names to avoid conflicts.


2. Shop Management

  • Only shop owners can manage their shops.

  • Add Items to the shop:

    • Select item from inventory.

    • Add a custom description.

    • Set quantity and price.

    • Validation against blocked items or insufficient stock.

  • Remove Items from the shop.

  • Close Shop:

    • Disables the shop from being accessed by others.

  • Fully integrated with context menus (ox_lib / lation_ui) for ease of use.


3. Shop Interaction for Players

  • Players can open shops and browse available items.

  • Interactive menus display:

    • Item name, quantity, price, and description.

    • Item images (if available from inventory).

  • Players can buy items, with validation for quantity and stock.


4. Shop Raid / Police Features

  • Optional Raid System.

  • Police or defined jobs can:

    • View shop items.

    • Seize the shop (close it and remove all items).

    • View shop owner details (name, ID, balance).


5. Owner & Inventory Integration

  • Owner identity is based on CitizenID (QBCore) / License (ESX).

  • Can fetch player data even if offline.

  • Inventory system integration for:

    • Adding items from inventory.

    • Checking counts before sale.

  • Prevents selling blocked or restricted items.


6. Configurable Settings

  • Shop Zones for placement restrictions.

  • Raid Options: enable/disable, duration, allowed jobs.

  • Blocked Items list to prevent certain items being sold.

  • Menu labels, notifications, and instructions fully language configurable.


7. Miscellaneous

  • Automatic spawn/despawn of shop props when shops are created, updated, or deleted.

  • Handles multi-shop environments without conflicts.

  • Fully callback-based, for server efficiency.

Last updated