Categories

Categories

View as Markdown ·

On this page

circle-info

Every category is its own file inside the shop's folder in shops, named after the category's identifier.

#Add a Category

Left-click the lime stained glass in Editor > Shops > Shop > Categories to create a category. It gets the next free category_<number> identifier and its editor opens straight away.

Edit Shop (Categories)

Categories (New Category)

Every category in the list shows its icon, display name and identifier, how many items it holds and whether it is enabled. Left-click one to edit it, right-click it to delete it, together with its items, after a confirmation. The Filter button narrows the list to enabled categories, disabled categories, categories on the main menu, hidden categories or subcategories.

#Order

Categories fill the category slots of the shop's main menu by their order number, lowest first, and by identifier when two share the same number. The same order sorts sub-categories inside their parent. Disabled, hidden and sub-categories are skipped. There is no editor option for it, so it is set in the category's file, and a new category starts at 0.

YAML
order: 1

circle-info

When a shop has more categories than its main menu has category slots, the rest go on further pages. Without page buttons in the layout they are hidden, and the console says so.

Features Description
Identifier The unique id of the category and the name of its file.
Display The title, icon and lore of the category.
Currency Override the shop's currency and its format for this category.
Open Command A command that opens the category directly.
Hidden Keep the category out of the main menu and search.
Parent Category Show the category inside another one.
Items The items of the category.
Actions Actions run when the category is opened or closed.
Conditions Who can open the category and trade in it.
Rotation Show only some of the items at a time.
Sale A discount on every item of the category.
Buying Allow or block buying from the category.
Selling Allow or block selling to the category.
Enabled Show or hide the category.
Delete Delete the category and its items.
My Cart
Spider

Your cart is empty

Looks like the spiders padded through here. Pick a plugin and it will show up here. Continue shopping