Configuration

Configuration

Example for a normal menu:

menu:
  type: normal (menu type)
  name: &4Menu (name of the menu)
  worlds: (worlds in which the menu is allowed)
  - world
  - plotme
  slots: 36 (The number of slots oh the menu, allowed Number: 9/18/27/36)
  item: (which is the item to open the menu)
    useitem: true (if you want to use a menu open item)
    id: 340 (the id of the item)
    name: &6Menu (the name of the item)
    lore: (the description of the item (infinity lines possible)
    - &2Opens the menu
    enchantment: (Enchantments if you write nothing theres no enchantment)
    - LUCK
    slot: 1 (the slot where the menu open item has to be in the inventory, choose a number from 1-9)
  slot: (here the slots of the menu up to 36)
    '1': (here slot number)
      enabled: true (if enabled = false the slot is empty)
      id: 330 (the item id)
      name: &9Spawn (the item name)
      lore: (the item description)
      - Spawn
      enchantment: (Enchantments)
      - LUCK
      - THRONS
      command: (what the item by click do (here the player performes the command /spawn)
      - playercommand /spawn

Example for a playerlist menu:

menu:
  type: playerlist (menu type)
  name: 'Hello there are Players' (name of the menu)
  worlds: (worlds in which the menu is allowed)
  - world
  - city
  item: (menu open item)
    id: 340 (item id)
    name: '&6pl' (item name)
    lore: (item description)
    - This will open a playerlist menu
    enchantment: (enchantments)
    - 'no'
    useitem: true (if you use the item)
    slot: 1 (slot for the item)
  commands: (what happens, if you click on a player)
  - teleporthere <target>

I hope you understood everything. And if a player joins the server, he can get (if you want) a menu open item!

See Also

Configuration

Commands and Permissons

Colors

Command Types

Enchantments

Languages

Variables

Sounds

Effects

Menu Types

Source Code


Comments

Posts Quoted:
Reply
Clear All Quotes