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
  1. Product
  2. Dream Cryptomining
  3. Server
  4. Exports

GetWarehouseWorth

πŸ”§ Available since Version 1.0.5

This export is only available for serverside!

Export Syntax
exports['dream_cryptomining']:GetWarehouseWorth(WarehouseId) -- Returns Integer

Parameter

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

Example Export
local WarehouseWorth = exports['dream_cryptomining']:GetWarehouseWorth("WAREHOUSEID")
print(WarehouseWorth) -- πŸ’Έ Prints the worth of warehouse XY
PreviousGetWarehouseNextGetWarehouseRevenue

Last updated 11 months ago

πŸͺ™