# identifier [Necessary]
# This will be used for data-storage.
identifier: "pro"

# Name [Necessary]
# Use in messages.
name: "&b&lPro&b"

# Content [Necessary]
# Use in Placeholders
content: "&b&lPro &b"

# Weight [Necessary]
# used for sorting in the GUI and TabList
# In GUI : the larger is displayed at the back
# At TabList : the larger is displayed at the top
weight: 1

# Permission [Unnecessary]
# If there is no permission for detection, everyone can use it,
# which means there is no need to configure "itemNoPermission"
# (because it is impossible to display items without permission at all)
permission: "yc.vip"

# Actions when select [Unnecessary]
#  Please check https://github.com/CarmJos/UserPrefix/tree/master/.documentation/ACTIONS.md
actions:
  - "[CONSOLE] say %player_name% selected PRO ！"

# Display item configuration
# More details please see https://github.com/CryptoMorin/XSeries/wiki/XItemStack
item:
  # itemHasPermission  [Necessary]
  # This Item will be displayed when player has permission
  has-perm:
    material: DIAMOND
    name: "&b&lVIP Prefix"
    lore:
      - ""
      - "&a➥ Click to use"

  # itemUsing [Unnecessary]
  # This Item will be displayed when the prefix is selected.
  # If there is no such configuration, it will automatically display "itemHasPermission".
  using:
    material: DIAMOND
    name: "&b&lVIP Prefix"
    enchants:
      PROTECTION_ENVIRONMENTAL: 1 #Add an enchantment so it looks like it’s selected
    lore:
      - ""
      - "&a✔ Selected"

  # itemNoPermission [Unnecessary]
  # If player doesn't have the permission,this item will be displayed.
  # If this item is not configured, it will not be displayed in the GUI when the player does not have permission to use it.
  no-perm:
    material: INK_SACK
    data: 8
    name: "&b&lVIP &c(Buy it!)"
    lore:
      - ""
      - "&e✯ Buy the VIP to use it!"
