• Studio

  • Bots

  • Web API

  • Designer Resources

  • Host Resources

  • WorldProduct

    Inherits from: Object

    Represents a product that can be purchased by players in the game.

    Properties

    ServerOnly

    The product ID of the product.

    print(WorldProduct.product_id)
    

    name

    string

    ServerOnly

    The name of the product.

    print(WorldProduct.name)
    
    ServerOnly

    The description of the product.

    print(WorldProduct.description)
    

    price

    number

    ServerOnly

    The price of the product in Gold.

    print(WorldProduct.price)
    

    Updated about 1 month ago

    PocketWorlds Icon

    © 2024 Pocket Worlds. All rights reserved.