Config shop: Difference between revisions

From MBedwars
Jump to navigation Jump to search
Line 17: Line 17:
Add an enchantment to the icon of this item
Add an enchantment to the icon of this item
=== buy-group: <group name> <level of item> ===
=== buy-group: <group name> <level of item> ===
Adds this item to a group.
Adds this item to a group.<br />
Players are only able to buy items in that group if the item has a higher level than the bought item before.
Players are only able to buy items in that group if the item has a higher level than the bought item before.
Each item can be only added to one group.


= Item > Item Product Configurations =
= Item > Item Product Configurations =

Revision as of 14:40, 1 February 2018

Page configurations

icon: <material>:<id>

Set the icon of the page

Item Configurations

caps-multiply: <number>

Set the amount that will be multiplied if you're holding shift and buying it

keep-on-death: <true/false>

Players will keep this item when they die

one-time-purchase: <true/false>

Players are only able to buy this item once in the whole round

caps-multiply: <number>

The amount of times when pressing shift the item should get bought

icon: <material>

The icon in the GUI

icon-enchantment: <enchantment>:<level>

Add an enchantment to the icon of this item

buy-group: <group name> <level of item>

Adds this item to a group.
Players are only able to buy items in that group if the item has a higher level than the bought item before. Each item can be only added to one group.

Item > Item Product Configurations

material: <material> (Required)

Set the material of this item

amount: <number>

Set the amount of items you'll get if you buy this item
The default is 1

enchantment: <enchantment>:<level>

Add an enchantment to this item

Item > Special Product Configurations

type: <special id> (required)

Set the type of this product
List of special items

amount: <number>

Set the amount of items you'll get if you buy this item
The default is 1

Item > Price Configurations

spawner: <spawner> (required)

Set the itemspawner that is required to buy this item

amount: <number>

Set the amount of required itemspawners
The default is 1

amount-perm

Players with the permission 'mbedwars.shopcustomprice' will see this price instead of price-amount