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
  • Configuration
  • Custom Head Textures
  • Inventory Slots Item

Was this helpful?

  1. aglerr's plugin
  2. Player Profiles
  3. Options & Configuration

custom-items.yml

About all configuration in custom-items.yml, this also applies on the custom GUI configuration.

Configuration

items:
  closeMenu:
    material: BARRIER
    amount: 1
    name: '&cClose'
    slot: 49
    glowing: false
    CustomModelData: 0
    hide_attributes: false
    usePermission: false
    permission: 'none'
    lore:
      - '&7Click me to close'
    left-click-commands:
      - '[CLOSE]'
    right-click-commands:
      - '[CLOSE]'

Options

Description

material:

define the item's material.

amount:

items amount.

slot:

select specified slot for the items.

glowing:

add glowing effect on the items.

CustomModelData:

set custom model data for items.

hide_attributes:

hide item's attributes.

usePermission:

make the items only player that has specified permission that can see the items.

permission:

permission for the item permission, only applies if usePermission is enabled.

lore:

items lore

left-click-commands:

various tasks when players click the items with left click.

right-click-commands:

various tasks when players click the items with right click.

PlaceholderAPI and Color Codes are supported in name, lore, and click commands.

Custom Head Textures

items:
  closeMenu:
    material: head;<playername/textures>

Inventory Slots Item

Also with this plugin you can get any items that are on player's inventory. All you need to do is change the material, for example If you want to get hotbar number 9 you need to put slots;8 as the material name, and the slots start on 0, it's just how programming works, see the example below.

items:
  closeMenu:
    material: slots;<slot number>

Slots start on 0, so If you want to get hotbar number 1 you need to put 0 on the material.

Previousconfig.ymlNextTop Damage

Last updated 3 years ago

Was this helpful?

Basically with this plugin, you can use custom head textures as the item. All you need to do is changing the material, you can get player's head, and texture head, you can the textures on , see the example below.

Get minecraft custom head on

minecraft-heads.com
minecraft-heads.com
Player's Inventory Slot