Advertisement
Guest User

CUSTOMCOMMANDS.YML

a guest
Aug 11th, 2017
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 3.68 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.       2:
  46.         type: STAINED_GLASS_PANE
  47.         id: 15
  48.         force-glow: false
  49.         name: " "
  50.         lore: []
  51.       3:
  52.         type: CHEST
  53.         id: 0
  54.         force-glow: false
  55.         name: "&eApplies to &7»"
  56.         lore:
  57.          - '&7%list-of-items%'
  58.       4:
  59.         type: STAINED_GLASS_PANE
  60.         id: 15
  61.         force-glow: false
  62.         name: " "
  63.         lore: []
  64. enchantments:
  65.  # Is this command enabled?
  66.   enabled: true
  67.   # Change the command
  68.   # Use it in game: /<command>
  69.   command: /enchants
  70.   # Message when opening menu
  71.   # Set to [] to disable
  72.   message:
  73.    - "&7Showing list of all enchantments..."
  74.   inventory:
  75.    # Inventory size (9-18-27-36-45-54)
  76.     size: 27
  77.     # Inventory name
  78.     name: "&eAll Server Enchantments"
  79.     items:
  80.      # Slots start from 0
  81.       # This number defines the inventory slot.
  82.       2:
  83.         type: STAINED_GLASS_PANE
  84.         id: 0
  85.         force-glow: false
  86.         name: " "
  87.         lore: []
  88.       3:
  89.         type: STAINED_GLASS_PANE
  90.         id: 0
  91.         force-glow: false
  92.         name: " "
  93.         lore: []
  94.       4:
  95.         type: STAINED_GLASS_PANE
  96.         id: 0
  97.         force-glow: false
  98.         name: " "
  99.         lore: []
  100.       5:
  101.         type: STAINED_GLASS_PANE
  102.         id: 0
  103.         force-glow: false
  104.         name: " "
  105.         lore: []
  106.       6:
  107.         type: STAINED_GLASS_PANE
  108.         id: 0
  109.         force-glow: false
  110.         name: " "
  111.         lore: []
  112.       12:
  113.         type: CHEST
  114.         id: 0
  115.         force-glow: false
  116.         # What enchantment group list should it open?
  117.         group: 'DEFAULT'
  118.         name: "&7List all &eDefault&7 Enchantments"
  119.         lore: []
  120.   group-enchantment-inventory:
  121.     name: "&7All &e%group%&7 Enchantments"
  122.     # Inventory size (9-18-27-36-45-54)
  123.     # Set to 0 for auto size.
  124.     size: 0
  125.     item:
  126.       type: ENCHANTED_BOOK
  127.       id: 0
  128.       force-glow: false
  129.       # What command should be ran when player clicks on one of the enchantments?
  130.       command: '/enchant %enchantment%'
  131.       name: "&e%enchant% &7enchantment"
  132.       lore:
  133.        - "&eDisplay &7» &r%ench-colors%"
  134.         - "&eApplies to &7» &r%applies-to%"
  135.         - "&eMax Level &7» &r%max-lvl%"
  136.         - "&eDescription &7» &r%desc%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement