The subscription tier indicates which type of premium memberhsip the player has. (As found in "Region" window)
--Make's a UIText show this User's Regions' current Subscription TiertextObject = Space.Host.GetReference("TheTextReference") --add to References section in Scripting RuntimefunctionGetUserRegionsComplete(SUserRegions)local r = SUserRegions.SubscriptionTier text.UIText.Text = rendSpace.Grid.GetEnabledUserRegions(GetUserRegionsComplete)
NumberOfRegions
int NumberOfRegionsget
The number of regions the player has. (As found in "Region" window)
--Make's a UIText show this User's Regions' current NumberOfRegionstextObject = Space.Host.GetReference("TheTextReference") --add to References section in Scripting RuntimefunctionGetUserRegionsComplete(SUserRegions)local r = SUserRegions.NumberOfRegions text.UIText.Text = rendSpace.Grid.GetEnabledUserRegions(GetUserRegionsComplete)
UsersPerRegion
int UsersPerRegionget
The max number of users allowed per region. ("Concurrency" as found in "Region" window).
--Make's a UIText show this User's Regions' current UsersPerRegiontextObject = Space.Host.GetReference("TheTextReference") --add to References section in Scripting RuntimefunctionGetUserRegionsComplete(SUserRegions)local r = SUserRegions.UsersPerRegion text.UIText.Text = rendSpace.Grid.GetEnabledUserRegions(GetUserRegionsComplete)
FileSize
int FileSizeget
The maximum MB size the player's regions can be. ("Max Region SizE" in the "Region" window)
--Make's a UIText show this User's Regions' current FileSizetextObject = Space.Host.GetReference("TheTextReference") --add to References section in Scripting RuntimefunctionGetUserRegionsComplete(SUserRegions)local r = SUserRegions.FileSize text.UIText.Text = rendSpace.Grid.GetEnabledUserRegions(GetUserRegionsComplete)
SubscriptionName
string SubscriptionNameget
The name of the current player's premium subscription (as found in "Region" window)
--Make's a UIText show this User's Regions' current SubscriptionNametextObject = Space.Host.GetReference("TheTextReference") --add to References section in Scripting RuntimefunctionGetUserRegionsComplete(SUserRegions)local r = SUserRegions.SubscriptionName text.UIText.Text = rendSpace.Grid.GetEnabledUserRegions(GetUserRegionsComplete)
Returns an array of SPublicRegion which is a group of data for each of the user's available regions.
--Make's a UIText show the Name of the user's first available regiontextObject = Space.Host.GetReference("TheTextReference")functionGetUserRegionsComplete(SUserRegions)local r = SUserRegions.AvailableRegions[1] textObject.UIText.Text = r.NameendSpace.Grid.GetEnabledUserRegions(GetUserRegionsComplete)