Dream Services
Discord Shop
  • Home
    • Welcome
    • FAQ
    • Purchase
    • Keymaster
    • Common issues
  • Support
    • Support Policy
    • πŸ‡ΊπŸ‡ΈTicket Rules (EN)
    • πŸ‡©πŸ‡ͺTicket Rules (GER)
  • Development Guide
    • Create own locale
  • Product
    • 🎰Dream Vending
      • Config Preview
      • Installation
      • Item Use Effect API
    • 🚘Dream Used Cardealer
      • Config Preview
      • Installation
    • ⚑Dream Solarsystems
      • Config Preview
      • Installation
    • πŸ”ŒDream Solarjob
      • Config Preview
      • Installation
    • πŸͺ™Dream Cryptomining
      • Config Preview
      • Installation
      • Create Warehouses
      • Server
        • Exports
          • IsWarehouseAvailable
          • GetAllWarehouses
          • GetPlayerWarehouses
          • GetWarehouse
          • GetWarehouseWorth
          • GetWarehouseRevenue
          • GetWarehouseTransactions
          • GetWarehouseAllServer
          • GetWarehouseAllServerStatus
          • GetWarehouseServer
          • RefreshAllWarehouses
    • πŸš™Dream Fakeplates
      • Config Preview
      • IsPlateFake
    • 🐟Dream Fishing
      • Config Preview
    • πŸͺDream Market Stalls
      • Config Preview
    • 🚬Dream Smoking
      • Config Preview
      • Installation
Powered by GitBook
On this page
  • Parameter
  • Response
  1. Product
  2. Dream Cryptomining
  3. Server
  4. Exports

GetWarehouse

πŸ”§ Available since Version 1.0.5

This export is only available for serverside!

Export Syntax
exports['dream_cryptomining']:GetWarehouse(WarehouseId) -- Returns a table with data

Parameter

  1. WarehouseId (String) -> The Warehouse-Id. See GetAllWarehouses

Response

See GetAllWarehouses, but only for a specific warehouse

Example Export
-- 
local Warehouse10 = exports['dream_cryptomining']:GetWarehouse("10")

-- ⚠️ You do not need to enumerate here!
print(Warehouse10.id) -- πŸ“Œ WarehouseId
print(Warehouse10.price) -- πŸ’Έ Warehouse Price
print(Warehouse10.warehouse) -- βœ‰οΈ Warehouse Type

-- πŸ’¬ Use all other variables...
PreviousGetPlayerWarehousesNextGetWarehouseWorth

Last updated 11 months ago

πŸͺ™