Advertisement
Guest User

CONFIG.YML

a guest
Aug 11th, 2017
496
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 10.30 KB | None | 0 0
  1. # AdvancedEnchantments
  2. # Made by N3kas
  3.  
  4. # Build Version: 2.1.4
  5. # Release date: 2017.08.10
  6.  
  7. # ** Commands and permissions
  8. # /enchanter - Open Enchanter; no permission
  9. # /tinkerer - Open Tinkerer; no permission
  10. # /gkits - Open GKits; no permission
  11. # /ae - Main plugin command; no permission
  12. # /ae about - Information about current build; no permission
  13. # /ae list - List all custom enchantments; ae.list
  14. # /ae admin - Open a menu with all possible enchantments (100% success rate); ae.admin
  15. # /ae giveitem <player> <item> - Give various plugin items; ae.giveitem
  16. # /ae give <player> <enchantment> <level> - Give custom enchanted book; ae.give
  17. # /ae info <enchantment> - Information about custom enchantment; ae.info
  18. # /ae reload - Reload all configurations; ae.reload
  19. # /ae enchant <enchantment> <level> - Enchant item; ae.enchant
  20. # /ae givebook <player> <enchantment> <level> <count> <success> <destroy> - Give book with specific rates; ae.givebook
  21.  
  22. # Some configurable settings are explained, others should be self-explanatory.
  23. # Contact @N3kas on SpigotMC with any questions or bug reports.
  24.  
  25. # is enchanter enabled?
  26. enchanter-enabled: true
  27. # is tinkerer enabled?
  28. tinkerer-enabled: true
  29.  
  30. # Enchantment combining (leveling up) on items.
  31. # Example: https://media.giphy.com/media/26n6QDunj6iC3Z6Zq/giphy.gif
  32. combining:
  33.   enabled: true
  34.   chances:
  35.    # If true, Success and Destroy chances will effect combining
  36.     use-chances: true
  37.     # If true, item will break (if Protection is added, protection will be removed).
  38.     break-item: false
  39.   messages:
  40.     successfull-combining:
  41.      - '&aSuccess! Enchantment %enchant% is now level %level%!'
  42.     failure:
  43.      - '&cCombining failed!'
  44.     already-max-level:
  45.      - '&cThis enchantment is already max level!'
  46.    
  47.  
  48. # Limit number of enchantments item can have
  49. slots:
  50.   enabled: true
  51.   # Max number of enchantments
  52.   max: 5
  53.   # Should it be displayed in lore?
  54.   display-in-lore: true
  55.   display: "&eItem Slots&7: %left%"
  56.   message:
  57.    - "&cYou cannot apply that enchantment! There are no free slots left!"
  58.  
  59. applying:
  60.   already-applied:
  61.    - "&cThe item already has this enchantment."
  62.   applied:
  63.     - "&cEnchantment was applied to your item."
  64.   max-level:
  65.     - "&cThis enchantment is already at max level!"
  66.   wrong-material:
  67.    - '&cThis enchantment cannot be applied on this item.'
  68.    
  69. enchanter-books:
  70.   firework-on-open: true
  71.   # Variables: %enchant% - enchantment name
  72.   # %enchant-color% - enchantment name with colour
  73.   # %level% - level number in roman
  74.   message:
  75.    - '&fYou examine &c%group%&f book'
  76.     - '&fand receive &c%enchant% %level%&f.'
  77.   type:
  78.    # Create right-click books for enchanter, if you want players to receive one instead of getting a random enchantment.
  79.     DEFAULT:
  80.       type: BOOK
  81.       id: 0
  82.       force-glow: false
  83.       name: "&7Default&f Enchantment book &7(Right Click)"
  84.       lore:
  85.        - '&fExamine to receive a random'
  86.         - '&7default &fenchantment book.'
  87.  
  88. items:
  89.   randomization-scroll:
  90.     type: PAPER
  91.     id: 0
  92.     name: "&e&lRandomization Scroll"
  93.     lore:
  94.      - ''
  95.       - '&7Apply to an enchantment book to'
  96.       - '&7reroll the success and destroy rates.'
  97.       - ''
  98.       - '&7Drag n'' drop onto &nenchantment book&7 to apply.'
  99.   black-scroll:
  100.     type: INK_SACK
  101.     id: 0
  102.     name: "&f&lBlack Scroll"
  103.     lore:
  104.      - '&7Removes a random enchantment'
  105.       - '&7from an item and converts'
  106.       - '&7it into a &f%success%% &7success book.'
  107.       - '&fPlace scroll onto item to extract.'
  108.     # Converted book chances:
  109.     success: 95
  110.     destroy: 5
  111.   secret-dust:
  112.     type: FIREBALL
  113.     id: 0
  114.     name: "&cSecret Dust &7(Right Click)"
  115.     lore:
  116.       - '&7Contains: &bMagic, &fMystery &7dust.'
  117.       - '&7An unidentified satchel of dust.'
  118.     # when right-clicked, it gives magic with success chance
  119.     # How much success should the dust have? (eg: 5 would mean always 5, 5-10 would mean random number from 5 to 10)
  120.     success: 5-20
  121.     # Chance to give Magic dust instead of Mystery dust
  122.     chance: 30
  123.   mystery-dust:
  124.     type: SULPHUR
  125.     id: 0
  126.     name: "&fMystery Dust"
  127.     lore:
  128.      - '&7A failed bi-product'
  129.       - '&7of Magic dust.'
  130.   magic-dust:
  131.     type: SUGAR
  132.     id: 0
  133.     name: "&fMagic Dust"
  134.     lore:
  135.      - '&a+%percent%% Success'
  136.       - '&7Apply to a &6any &7Enchantment Book'
  137.       - '&7to increase its success by &6%percent%%'
  138.  
  139.  
  140. white-scroll:
  141.  # Obtain white scroll by giving it with command '/ae giveitem <player> whitescroll'
  142.   #
  143.   # Should the white scroll be removed once applied enchantment fails?
  144.   delete: true
  145.   # Display in item lore
  146.   lore-display: '&f&lPROTECTED'
  147.   item:
  148.     type: EMPTY_MAP
  149.     id: 0
  150.     force-glow: false
  151.     name: "&fWhite Scroll"
  152.     lore:
  153.       - '&fPrevents an item from being destroyed'
  154.        - '&fdue to a failed Enchantment Book.'
  155.        - '&ePlace scroll on item to apply.'
  156.   messages:
  157.     applied:
  158.      - '&6White scroll has been applied to your item.'
  159.     failed:
  160.      - '&cWhite scroll saved the item.'
  161.   whitelist:
  162.     enabled: true
  163.     list:
  164.      - LEATHER_HELMET
  165.       - LEATHER_CHESTPLATE
  166.       - LEATHER_LEGGINGS
  167.       - LEATHER_BOOTS
  168.       - IRON_HELMET
  169.       - IRON_CHESTPLATE
  170.       - IRON_LEGGINGS
  171.       - IRON_BOOTS
  172.       - GOLD_HELMET
  173.       - GOLD_CHESTPLATE
  174.       - GOLD_LEGGINGS
  175.       - GOLD_BOOTS
  176.       - CHAIN_HELMET
  177.       - CHAIN_CHESTPLATE
  178.       - CHAIN_LEGGINGS
  179.       - CHAIN_BOOTS
  180.       - DIAMOND_HELMET
  181.       - DIAMOND_CHESTPLATE
  182.       - DIAMOND_LEGGINGS
  183.       - DIAMOND_BOOTS
  184.       - WOOD_AXE
  185.       - WOOD_PICKAXE
  186.       - WOOD_SWORD
  187.       - WOOD_SHOVEL
  188.       - STONE_AXE
  189.       - STONE_PICKAXE
  190.       - STONE_SWORD
  191.       - STONE_SHOVEL
  192.       - IRON_AXE
  193.       - IRON_PICKAXE
  194.       - IRON_SWORD
  195.       - IRON_SHOVEL
  196.       - GOLD_AXE
  197.       - GOLD_PICKAXE
  198.       - GOLD_SWORD
  199.       - GOLD_SHOVEL
  200.       - DIAMOND_AXE
  201.       - DIAMOND_PICKAXE
  202.       - DIAMOND_SWORD
  203.       - DIAMOND_SHOVEL
  204.       - BOW
  205.     message:
  206.      - '&cYou cannot apply whitescroll to that item!'
  207. enchanter:
  208.  # Enchantment groups are used for enchanter, to sell specific type books. You can group them
  209.   # and give each group global color.
  210.   # YOU CAN DELETE THESE GROUPS AND CREATE YOUR OWN
  211.   groups:
  212.     DEFAULT:
  213.       global-color: '&7'
  214.     COMMON:
  215.       global-color: '&f'
  216.     UNIQUE:
  217.       global-color: '&a'
  218.   messages:
  219.     cannot-afford:
  220.      - '&6You cannot afford this.'
  221.     successfull-purchase:
  222.      - '&6You purchased &ex1 &fRandom Enchantment'
  223.     sound: ENTITY_PLAYER_LEVELUP
  224.     # 1.8 Sound == LEVEL_UP
  225.   inventory:
  226.    # Enchanter inventory size
  227.     # 9-18-27-36-45-54
  228.     size: 9
  229.     name: "&6Enchanter"
  230.     items:
  231.      # Slot is indicated by this number.
  232.       # You may use these examples to fully
  233.       # customize Enchanter inventory.
  234.       '1':
  235.         item:
  236.           type: STAINED_GLASS_PANE
  237.           id: 15
  238.           force-glow: false
  239.         name: " "
  240.       '2':
  241.         item:
  242.           type: STAINED_GLASS_PANE
  243.           id: 10
  244.           force-glow: true
  245.         name: " "
  246.       '3':
  247.         item:
  248.           type: ENCHANTED_BOOK
  249.           id: 0
  250.           force-glow: false
  251.           # Group of enchantments
  252.           # Create an enchanter book if you want to give players book they must right click instead
  253.           # of a random enchantment when buying one. (example provided above)
  254.         enchant-group: 'DEFAULT'
  255.         # price: exp:<number> or money:<number>
  256.         # Money requires VAULT plugin
  257.         price: exp:1000
  258.         name: '&fRandom Default Enchantment &7(Right Click)'
  259.         lore:
  260.          - '&7Examine to receive a random'
  261.           - '&7common &fDefault Enchantment&7 book.'
  262.           - ''
  263.           - '&e&lPRICE &71,000 EXP'
  264.       '4':
  265.         item:
  266.           type: STAINED_GLASS_PANE
  267.           id: 1
  268.           force-glow: true
  269.         name: " "
  270.       '5':
  271.         item:
  272.           type: ENCHANTED_BOOK
  273.           id: 0
  274.           force-glow: false
  275.           # Group of enchantments
  276.         enchant-group: 'UNIQUE'
  277.         # price: exp:<number> or money:<number>
  278.         # Money requires VAULT plugin
  279.         price: exp:3000
  280.         name: '&fRandom &aUnique &fEnchantment &7(Right Click)'
  281.         lore:
  282.          - '&7Examine to receive a random'
  283.           - '&7Unique &fCustom Enchantment&7 book.'
  284.           - ''
  285.           - '&e&lPRICE &73,000 EXP'
  286.       '6':
  287.         item:
  288.           type: STAINED_GLASS_PANE
  289.           id: 10
  290.           force-glow: true
  291.         name: " "
  292.       '7':
  293.         item:
  294.           type: STAINED_GLASS_PANE
  295.           id: 15
  296.           force-glow: false
  297.         name: " "
  298.  
  299. destroy:
  300.  # Should book be destroyed if it fails?
  301.   enabled: true
  302.   # Should Item be detroyed?
  303.   destroy-item: true
  304.   # Enchantment fail message.
  305.   message:
  306.     - "&cEnchantment was &nunsuccessfull&c."
  307.   sound:
  308.     enabled: true
  309.     # Find sounds @ https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
  310.     play: BLOCK_ANVIL_BREAK
  311.   particles:
  312.     enabled: true
  313.     # Find particles @ https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Particle.html
  314.     type: FLAME
  315.  
  316. chances:
  317.  # Should book chances be random?
  318.   random: true
  319.   # If not random, what should be the default values?
  320.   success: 92
  321.   destroy: 8
  322.  
  323. enchantment-book:
  324.   item:
  325.     type: ENCHANTED_BOOK
  326.     id: 0
  327.     force-glow: false
  328.     # Variables: %enchant%, %enchant-no-color%, %description%, %applies%, %success%, %destroy%
  329.   name: '%enchant% %level%'
  330.   lore:
  331.     - '&a%success%% Success Rate'
  332.     - '&c%destroy%% Destroy Rate'
  333.     - '&e%description%'
  334.     - '&7%applies% Enchantment'
  335.     - '&7Drag n'' drop onto item to enchant'
  336.  
  337. messages:
  338.   command:
  339.    # Variables: %enchant%, %description%, %applies%, %max-level%
  340.     info:
  341.      - '&eInformation about &6%enchant% &eenchantment&7:'
  342.       - '&6Description&7: &e%description%'
  343.       - '&6Applies to&7: &e%applies%'
  344.       - '&6Max level&7: &e%max-level%'
  345.     enchantment-not-found:
  346.      - '&cEnchantment &c&n%enchant%&c could not be found.'
  347.     player-not-online: "&f%player% &cis not online!"
  348.     no-permission: "&cYou do not have permission to use this command."
  349.     not-a-number: "&f%number% &cis not a number!"
  350.     no-permission: "&cYou do not have permission to use this command."
  351.     invalid-level: "&cLevel is too big, try using:&f %levels%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement