Creating items

material

Normal Material

This is normal spigot material name

material: STONE

Head Material

If you want to use any base64 head values

material: [HEAD] (base64)

for any player name use:

material: [USERNAME] (username)
material: [PLAYER] # for the player name

ItemsAdder

If you want to get any items from ItemsAdder plugin use:

material: [ItemsAdder] (namespaceid:id)
material: [ItemsAdder] id

display_name

This is used to set a custom name to an item

Examples
# Example 1
display_name: "&cExample"
# Example 2
display_name: "<gradient:#ffffff-#000000>Example</gradient>"
# Example for an item with no name
display_name: "&r"

lore

You can add how many lores line you want

Examples
# Example 1
lore:
  - ""
  - "&7Example"
  - ""

data

Used to set custom model data

update

Used to set an item update to true or false. This means the item will update the lore and title and more every game tick (Used to update placeholders or requirements)

click_commands

The command sequence that will happen when a player clicks that item

We use for the commands and requirement our command based actions syntax [learn more]

Examples
# Example for simple commands
click_commands:
  - "[console] gamemode creative %player_name%"
  - "[message] &aYou are now in &ccreative&a."
# Example for complex commands
click_commands:
  - "if"
  - "  [require(permission;tmpanels.gamemode)]"
  - "do"
  - "  [console] gamemode creative %player_name%"
  - "  [message] &aYou are now in &ccreative&a."
  - "else"
  - "  [message] &cYou don't have permission!"
  - "end"

To understand our CBA (Command based actions) syntax please [learn more]

view_requirement

You can put an condition on an item to be shown in the menu

Examples
# Example 1
view_requirement: "[require(permission;example.example)]"
# Example 2 (money check)
view_requirement: "[require(money;1000)]"
# Example 3
view_requirement: "[require(expression;%player_name%;==;MaikyDev)]"

To understand our CBA (Command based actions) syntax please [learn more]

view_requirement_list

You can put more then one condition on an item to be shown in the menu

Examples
# Example 1
view_requirement_list: 
  - "[require(permission;example.example)]"
  - "[require(expression;2;>=1]"

amount

This is optional (the default value is 1) this will make the item to have an amount

This can only be from 1 to 64

slot/slots

To set the item to only one slot use a number from 0-53

To set the item to mutiple slots use like this

slots:
  - 1
  - 2
  - 3
# or slots range
slot: "10-30"

The slot must be in the inventory

To fill the inventory use as slot number -1

Last updated