Guest User

CUSTOMCOMMANDS.yml

a guest
Jan 2nd, 2018
622
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 3.75 KB | None | 0 0
  1. # Create customized commands.
  2. enchantment-info:
  3.  # Is this command enabled?
  4.   enabled: true
  5.   # Change the start of the command
  6.   # Use it in game: /<command> <enchantment>
  7.   command: /enchant
  8.   # Message when opening menu
  9.   # Set to [] to disable
  10.   # Use %list-of-items% for applyable materials in lore and %list-of-items-msg% for message.
  11.   message:
  12.    - "&7Information about &e%enchant% &7enchantment."
  13.   inventory:
  14.    # If not enabled, only message will be shown.
  15.     # You can use all variables that are used for items in the message,
  16.     # if you want the command to only show text.
  17.     enabled: true
  18.     # Inventory types
  19.     # NORMAL is chest-like inventory, HOPPER is hopper-like (has only 5 slots)
  20.     type: HOPPER
  21.     # Inventory size (9-18-27-36-45-54)
  22.     # Does not work with HOPPER inventory
  23.     size: 45
  24.     # Inventory name
  25.     name: "&e%enchant%&7 information"
  26.     items:
  27.      # Slots start from 0
  28.       # This number defines the inventory slot.
  29.       0:
  30.         type: STAINED_GLASS_PANE
  31.         id: 15
  32.         force-glow: false
  33.         name: " "
  34.         lore: []
  35.       1:
  36.         type: ENCHANTED_BOOK
  37.         id: 0
  38.         force-glow: false
  39.         name: "&7Information about &e%enchant% &7enchantment"
  40.         lore:
  41.          - "&eDisplay &7» &r%ench-colors%"
  42.           - "&eApplies to &7» &r%applies-to%"
  43.           - "&eMax Level &7» &r%max-lvl%"
  44.           - "&eDescription &7» &r%desc%"
  45.           # you can as well use %group-color% to get enchantment color
  46.       2:
  47.         type: STAINED_GLASS_PANE
  48.         id: 15
  49.         force-glow: false
  50.         name: " "
  51.         lore: []
  52.       3:
  53.         type: CHEST
  54.         id: 0
  55.         force-glow: false
  56.         name: "&eApplies to &7»"
  57.         lore:
  58.          - '&7%list-of-items%'
  59.       4:
  60.         type: STAINED_GLASS_PANE
  61.         id: 15
  62.         force-glow: false
  63.         name: " "
  64.         lore: []
  65. enchantments:
  66.  # Is this command enabled?
  67.   enabled: true
  68.   # Change the command
  69.   # Use it in game: /<command>
  70.   command: /enchants
  71.   # Message when opening menu
  72.   # Set to [] to disable
  73.   message:
  74.    - "&7Showing list of all enchantments..."
  75.   inventory:
  76.    # Inventory size (9-18-27-36-45-54)
  77.     size: 27
  78.     # Inventory name
  79.     name: "&eAll Server Enchantments"
  80.     items:
  81.      # Slots start from 0
  82.       # This number defines the inventory slot.
  83.       2:
  84.         type: STAINED_GLASS_PANE
  85.         id: 0
  86.         force-glow: false
  87.         name: " "
  88.         lore: []
  89.       3:
  90.         type: STAINED_GLASS_PANE
  91.         id: 0
  92.         force-glow: false
  93.         name: " "
  94.         lore: []
  95.       4:
  96.         type: STAINED_GLASS_PANE
  97.         id: 0
  98.         force-glow: false
  99.         name: " "
  100.         lore: []
  101.       5:
  102.         type: STAINED_GLASS_PANE
  103.         id: 0
  104.         force-glow: false
  105.         name: " "
  106.         lore: []
  107.       6:
  108.         type: STAINED_GLASS_PANE
  109.         id: 0
  110.         force-glow: false
  111.         name: " "
  112.         lore: []
  113.       12:
  114.         type: CHEST
  115.         id: 0
  116.         force-glow: false
  117.         # What enchantment group list should it open?
  118.         group: 'DEFAULT'
  119.         name: "&7List all &eDefault&7 Enchantments"
  120.         lore: []
  121.   group-enchantment-inventory:
  122.     name: "&7All &e%group%&7 Enchantments"
  123.     # Inventory size (9-18-27-36-45-54)
  124.     # Set to 0 for auto size.
  125.     size: 0
  126.     item:
  127.       type: ENCHANTED_BOOK
  128.       id: 0
  129.       force-glow: false
  130.       # What command should be ran when player clicks on one of the enchantments?
  131.       command: '/enchant %enchantment%'
  132.       name: "&e%enchant% &7enchantment"
  133.       lore:
  134.        - "&eDisplay &7» &r%ench-colors%"
  135.         - "&eApplies to &7» &r%applies-to%"
  136.         - "&eMax Level &7» &r%max-lvl%"
  137.         - "&eDescription &7» &r%desc%"
Advertisement
Add Comment
Please, Sign In to add comment