RobloxUniverse

Up and coming: shot check knows this class and its members today, and programs run it once the native runtime lands.

ShotInstancenot creatablecomingRoblox

Up and coming

One Roblox experience, with its products and passes as instances you can list, create and reprice.

Get one from RobloxCloudService:GetUniverseAsync. GetProductsAsync loads every developer product as a child DeveloperProduct, game passes are GamePass children, and prices are read from Roblox instead of kept by hand. GetDataStore and GetPlace reach its data stores and places. Reading is free; creating or changing anything changes a live game.

Properties

NameTypeDefaultDescription
UniverseIdnumber

Methods

NameArgumentsReturnsDescription
GetProductsAsync
yields
()({ DeveloperProduct }?, string?)Loads every page of developer products and makes them its children.
FindProduct(name: string)DeveloperProduct?Finds a developer product by name among the children already loaded.
CreateProductAsync
yields
(info: { Name: string, Price: number, Description: string?, IsForSale: boolean?, Icon: (string | buffer)? })(DeveloperProduct?, string?)Creates a developer product and waits for Roblox; a name already in use is refused, and Icon is a PNG path or bytes.
GetGamePassesAsync
yields
()({ GamePass }?, string?)
CreateGamePassAsync
yields
(info: { Name: string, Price: number?, Description: string?, IsForSale: boolean?, Icon: (string | buffer)? })(GamePass?, string?)
GetDataStore(name: string, scope: string?)CloudDataStoreReturns a CloudDataStore for that name and scope, a child of the experience.
ListDataStoresAsync
yields
(prefix: string?)({ string }?, string?)
GetPlace(placeId: number)RobloxPlaceReturns one place of the experience by id, as a child RobloxPlace.
From ShotInstance 33