Menu Item - Andre601/AdvancedCustomMenu GitHub Wiki

You can set a so called "Menu-Item", that let players open a menu, with a configured Item.

Example:

Menu-Item:
  Item: 'anvil'
  Name: 'Name of item'
  Lore:
  - '&7Line #1'
  Give-Join: true
  Give-Slot: 0
  Give-Delay: 0
  Item-Move: true
  Item-Drop: true
  Ignore-Amount: true
  Ignore-Durability: true
  Ignore-Meta: true

Summary

Item

Required? Type Supports Placeholders?
Yes String Yes

Set the item here. The format is <Itemname>:[Data]:[Amount]
Data and Amount are optional.

Placeholders can be used in the data and amount.


Name

Required? Type Supports Placeholders?
No String Yes

Set the displayname of the Item.
Make sure, to put the string in ''


Lore

Required? Type Supports Placeholders?
No Stringlist Yes

A list of text, that should be displayed in the Itemlore.
The format is:

Lore:
- 'Line 1'
- 'Line 2'

Give-Join

Required? Type Supports Placeholders?
No Boolean No

Should the plugin give the Item on join?


Give-Slot

Required? Type Supports Placeholders?
No Integer No

Set the slot in which the item should be placed.
Counting starts at 0 (0 = 1, 1 = 2, ...)


Give-Delay

Required? Type Supports Placeholders?
No Integer No

Sets a delay (in Seconds) after that the item is given to the player.
Usefull for servers, that have starter-kits or a Auth-plugin like AuthMe.


Item-Move

Required? Type Supports Placeholders?
No Boolean No

Should the player be able, to move the item in his inventory?


Item-Drop

Required? Type Supports Placeholders?
No Boolean No

Should the player be able, to drop the Item?


Ignore-Amount

Required? Type Supports Placeholders?
No Boolean No

Should the plugin ignore the item-amount?


Ignore-Durability

Required? Type Supports Placeholders?
No Boolean No

Should the plugin ignore the item-durability?


Ignore-Meta

Required? Type Supports Placeholders?
No Boolean No

Should the plugin ignore the item-meta?


Enchantment

Required? Type Supports Placeholders?
No Stringlist Yes

List of enchantments, that the item should have.
The format is:

- '[Enchantment]:<Level>'

Placeholders can be used in the level.


Hide-Flag

Required? Type Supports Placeholders?
No Integer No

Can be used, to hide certain flags.
To hide multiple flags, just use the summary of the numbers. (f.e. 63 to hide all)

Valid Numbers:

  • 1 = Attributes
  • 2 = Destroys ("Can destroy: [Block]")
  • 4 = Enchantments
  • 8 = Placed-On ("Can be placed on [Block]")
  • 16 = Potion-Effects
  • 32 = Unbreakable

Skull-Owner

Required? Type Supports Placeholders?
No String Yes

Will set the skull-texture to the given name.
It will replace the current item with a skull-item, if invalid.

Use %player_name% to show the head of the player, that uses the menu.

Disclaimer: This feauture is highly experimental. Only playernames are supported for now!


Egg-Type

Required? Type Supports Placeholders?
No String No

Changes the Entitytype of the egg and replaces the current Item, if invalid.

A list of valid Egg-types can be found here!
(Some egg-type may not be available on all versions!)


Color

Required? Type Supports Placeholders?
No String No

Changes the color of of leather-armor, tipped arrows or potions.
If the current item is invalid, it will be replaced with a random valid item.

You can generate a color here!

Valid syntax:

  • <Red>, <Green>, <Blue>: RGB-colors (Go from 0 to 255. F. e. 255, 0, 0 for red)
  • <raw RGB>: The raw color value such as 16711680 for red
  • #RRGGBB: HTML-Notation. R, G and B range from 0-9 and A-F

Banner-Pattern

Required? Type Supports Placeholders?
No String No

Applies a pattern to a banner, with the code generated at NeedCoolShoes.com/Banner.
Make a banner there and when You're happy with it, add the code shown in the image below to the banner-pattern:

⚠️ **GitHub.com Fallback** ⚠️