Properties

Properties define how a category should look and behave.

CATEGORY.Name

Required: Yes
Type: String
Description: The categories name used on the tab in the menu.

CATEGORY.Name = 'Heads, Hats & Masks'

CATEGORY.Icon

Required: Yes
Type: String
Description: The icon used for the tab in the menu.

CATEGORY.Icon = 'emoticon_smile'

CATEGORY.AllowedEquipped

Required: No, defaults to -1
Type: Number
Description: The number of items from this category a player can have equipped at once.

CATEGORY.AllowedEquipped = 2

CATEGORY.AllowedUserGroups

Required: No
Type: Table
Description: Defines the member groups who can see and buy items from this category.

CATEGORY.AllowedUserGroups = { "admin", "vip" }

CATEGORY.Order

Required: No
Type: Number
Description: Sets the display order for category tabs in the PointShop menu.

CATEGORY.Order = 6
comments powered by Disqus