Store editor

To create a new "Store" go to the appropriate configurator and click "New Store"

Enter "Store ID" and "Store Name". You must also choose a default item that will be sold in the store. Finally click "Save"

Once created, you will see the visual of the new store in the editor. Then click "Edit"

Enable the store, so that all players can see it

Scroll down and Enable for default item

Click "Save"

Now in the example scene you can see the shop with one slot

But there is no price on the product. Return to the configurator and click "Enable/Override for Store?". Click "Save"

Now the price is available and the product is ready for purchase

You can also set a discount on the product

Now let's look at all the other settings

StoreID - Unique id for store.

Enable? - Determines the general availability of the store for players.

Display Name - Display name of store

Description - Description of store

Custom Data - Allows you to create a set of your own access data from code.

To create your own custom data set - create a new class and inherit from "CBSStoreCustomData". Only fields and the following data types are supported - 'int', 'float', 'string', 'enum', 'List<string>', 'List<float>', 'List<int>'

After that you will see your class in the selection list of "Custom Data". Fill in your details

Limit config

Clan limit? - Determines whether the store will be available only to clan members.

Level limit? - Allows you to limit the store to players at a certain level.

Statistic limit? - Allows you to limit the store to players at a certain statistic value.

Store content

Slot Display Name - The name of the product that will be displayed in the Store

Description - The description of the product that will be displayed in the Store

Slot Icon - The icon of the product that will be displayed in the Store

Enable/Override for Store? - Allows you to determine the price of the product for the store

Override Display Position? - Allows you to override the position of the product in the store

Display Position - Intended display position for this item. Note that 0 is the first position.

Quantity limit? - Allows you to limit the purchase of product by quantity for a certain period

Custom Data - Allows you to create a set of your own access data from code.

To create your own custom data set - create a new class and inherit from "CBSStoreItemCustomData". Only fields and the following data types are supported - 'int', 'float', 'string', 'enum', 'List<string>', 'List<float>', 'List<int>'

After that you will see your class in the selection list of "Custom Data". Fill in your details

You can add new product for store. Click "Add item"

Select new item and click "Add"

Last updated