Skip to content

Setting items

spigot-gillesm edited this page Apr 5, 2020 · 1 revision

Item section

Item sections are the bricks composing an item table and are used to decide what items should spawn via an item table. It is through item sections that you decide the rarity of an item, how many of them must spawn, chose if the item is a custom item or if it comes from another plugin, chose the potion effect, etc...

A new item section is created using the 'New item' button of the table items menu


Item section options

Material

Set the item material. Check out this page to get the full list of all the item materials
If you set the material to a custom item (using its unique name) then the item will be set to this custom item

Chance

Set the item relative chance. If you don't know what the relative chance is, please read the 'Relative chance system' of the Item table page

Minimum amout

Set the minimum amount of this item that must spawn when the item is found in a container*

Maximum amount

Set the maximum amount of this item that must spawn when the item is found in a container*

Potion effect

Set the potion effect if the material is set to 'POTION'. Check out this page to get the full list of all the potion effects

Extend potion duration

Extend the potion effect duration to its maximum**

Upgrade potion effect

Upgrade the potion effect to its maximum (level I -> level II)**

Stack potions

Make the potions stack or not if more than one spawns in the container

Set item as external item

Set the item to be an item coming from another plugin (like MMOItems). If you don't know how to do this, please read the Setting external items page


Note:
If you wish to spawn items with custom name, lore, enchantments, etc.. you must create a custom item and import it in an item section. If you don't know how to do this, read the Setting custom item page


*Set these options to the same value to make the same amount of items spawn every time
**Minecraft vanilla potions cannot be upgraded and extended at the same time. If you set both these options to true, the potion will be upgraded but no extended