aglerr's Plugin Wiki
  • Welcome
  • aglerr's plugin
    • Player Profiles
      • Commands & Permissions
      • Options & Configuration
        • config.yml
        • custom-items.yml
    • Top Damage
  • The-Only Plugin Series
    • The-Only Mobcoins
      • Commands & Permissions
      • Placeholders
      • Plugin's files
        • config.yml
        • mobs.yml
        • shops
          • rotating-shop (WIP)
            • rotating-shop.yml (WIP)
          • category-shop (WIP)
            • categories (WIP)
              • weaponsAndTools.yml (WIP)
              • armor.yml (WIP)
            • category-shop.yml (WIP)
          • confirmation_menu.yml (WIP)
          • main_menu.yml (WIP)
      • Developer API
        • Custom Events
    • The-Only Donations
      • Commands & Permissions
      • Placeholders
      • Plugin's Files
        • config.yml
  • Additional Resources
    • Discord
    • My Spigot Resource
Powered by GitBook
On this page
  • Config Explanation
  • Title
  • Size
  • Full Configuration

Was this helpful?

  1. The-Only Plugin Series
  2. The-Only Mobcoins
  3. Plugin's files
  4. shops

main_menu.yml (WIP)

A explanation about the main_menu.yml configuration

Config Explanation

Each of the items has its own type. Type is to define what should the plugin do If the item with that type is being clicked and here all available types for this menu:

OPEN_CATEGORY_SHOP - Open category shop main menu when being clicked. OPEN_ROTATING_SHOP - Open rotating shop menu when being clicked. OPEN_CATEGORY - Directly open category shop when being clicked. (Required category: category.yml value on the items)

Title

The title of the main menu GUI

Size

The size of the main menu GUI. Max size is 54 and must be multiple of 9 (9, 18, 27, 36, 45, 54)

Full Configuration

title: '&8Shop Main Menu'
size: 27

items:
  categoryShop:
    type: OPEN_CATEGORY_SHOP
    material: BOOKSHELF
    name: '&eCategory Shop &7(Click to open)'
    glow: false
    slots: [11]
    amount: 1
    lore: []
  rotatingShop:
    type: OPEN_ROTATING_SHOP
    material: CLOCK
    name: '&eRotating Shop &7(Click to open)'
    glow: false
    slots: [15]
    amount: 1
    lore: []
  informationItem:
    type: DUMMY
    material: head;%player_name%
    name: '&eYour Information'
    glow: false
    slots: [13]
    amount: 1
    lore:
      - '&7Ping: &e%player_ping%ms'
      - '&7Mobcoins: &e%mobcoins_balance_formatted% coins'
  dummyItems:
    type: DUMMY
    material: BLACK_STAINED_GLASS_PANE
    name: '&f'
    glow: false
    slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
    amount: 1
    lore: []
Previousconfirmation_menu.yml (WIP)NextDeveloper API

Last updated 3 years ago

Was this helpful?