• Studio

  • Studio API

  • Bots

  • Web API

  • Designer Resources

  • Host Resources

  • Globals

    WorldProduct

    WorldProduct represents a purchasable product configured in your world. Contains product information including ID, name, description, and price in Gold. Retrieved via Payments.GetProduct or Payments.GetProducts.

    Properties

    description

    string
    ServerOnly
    ReadOnly

    The description of the product shown to players.

    print("Description: " .. product.description)
    

    id

    string
    ServerOnly
    ReadOnly

    The unique identifier for this product.

    print("Product ID: " .. product.id)
    

    name

    string
    ServerOnly
    ReadOnly

    The display name of the product.

    print("Product name: " .. product.name)
    

    price

    number
    ServerOnly
    ReadOnly

    The price of the product in Highrise Gold currency.

    print("Price: " .. product.price .. " Gold")
    if product.price > 100 then
        print("Premium product")
    end
    

    Updated 13 days ago

    PocketWorlds Icon

    © 2025 Pocket Worlds. All rights reserved.