GC_

CONFIG.YML

GC_
Mar 25th, 2018
791
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 13.91 KB | None | 0 0
  1. # AdvancedEnchantments
  2. # Made by N3kas
  3. #
  4. # Version: 3.0.0
  5. # Release date: 2018.03.24
  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. # /ae givercbook <type> <player> <amount> - Give right-clickable book; ae.givercbook
  22. # /ae giverandombook <player> <group> - Gives random book from group; ae.giverandombook
  23. # /alchemist - Open alchemist; no permission
  24.  
  25. # Some configurable settings are explained, others should be self-explanatory.
  26. # Contact @N3kas on SpigotMC with any questions or bug reports.
  27.  
  28. # is enchanter enabled?
  29. enchanter-enabled: true
  30. # is tinkerer enabled?
  31. tinkerer-enabled: true
  32. # is alchemist enabled?
  33. alchemist-enabled: true
  34.  
  35. permissions:
  36.   enchanter:
  37.     enabled: false
  38.     perm: "ae.enchanter"
  39.   tinkerer:
  40.     enabled: false
  41.     perm: "ae.tinkerer"
  42.   gkits:
  43.     enabled: false
  44.     perm: "ae.gkits"
  45.   alchemist:
  46.     enabled: false
  47.     perm: "ae.alchemist"
  48.  
  49. alchemist:
  50.   settings:
  51.     combine-books: true
  52.     combine-dust: true
  53.   books:
  54.    # This method adds chances together and splits by 2 (x+y/2)
  55.     add-up-chances: true
  56.     pre-set-chances:
  57.       enabled: false
  58.       success: 50
  59.       destroy: 50
  60.   dusts:
  61.    # This method adds chances together and splits by 2 (x+y/2)
  62.     add-up-and-split: true
  63.     # This method just adds up chances together
  64.     add-up: false
  65.   price:
  66.    # if false, money economy will be used instead
  67.     exp: true
  68.     let-plugin-count: true
  69.     pre-set-pricing:
  70.       enabled: false
  71.       price: 250
  72.   messages:
  73.     inv-name: "Alchemist"
  74.     item-preview:
  75.       name: "&e&lItem Preview"
  76.       lore:
  77.        - '&7A preview of item you will'
  78.         - '&7receive from alchemist will'
  79.         - '&7be displayed here.'
  80.       item:
  81.         type: STAINED_GLASS_PANE
  82.         damage: 0
  83.     item-explanation:
  84.       name: "&e&lAlchemist"
  85.       lore:
  86.        - '&7This alchemist will combine:'
  87.         - ''
  88.         - '&c2 books of same level &7for'
  89.         - '&c1 book of higher level'
  90.         - ''
  91.         - '&c2 dusts&7 for &c1 dust with higher success rates'
  92.       item:
  93.         type: STAINED_GLASS_PANE
  94.         damage: 14
  95.     item-combine:
  96.       name: "&d&lCLICK TO EXCHANGE"
  97.       lore:
  98.        - '&c&lCOSTS &c%price% EXP'
  99.       item:
  100.         type: STAINED_GLASS_PANE
  101.         damage: 5
  102.     item-placeholder:
  103.       name: " "
  104.       lore: []
  105.       item:
  106.         type: STAINED_GLASS_PANE
  107.         damage: 15    
  108.  
  109. souls:
  110.   enabled: true
  111.   lore: "&cSouls Collected: %souls%"
  112.   item:
  113.     type: PAPER
  114.     id: 0
  115.     name: "&f&lSoul Tracker"
  116.     lore:
  117.      - '&7Apply to weapons to start tracking'
  118.       - '&7souls collected from kills.'
  119.     messages:
  120.       success:
  121.        - '&7You successfully applied &f&lSoul Tracker &7to your item!'
  122.  
  123. # Enchantment combining (leveling up) on items.
  124. # Example: https://media.giphy.com/media/26n6QDunj6iC3Z6Zq/giphy.gif
  125. combining:
  126.   enabled: true
  127.   chances:
  128.    # If true, Success and Destroy chances will effect combining
  129.     use-chances: true
  130.     # If true, item will break (if Protection is added, protection will be removed).
  131.     break-item: true
  132.     # If higher level of enchantment already on item is applied, should the enchantment upgrade?
  133.     upgrade: yes
  134.   messages:
  135.     successfull-combining:
  136.      - '&aSuccess! Enchantment %enchant% is now level %level%!'
  137.     failure:
  138.      - '&cCombining failed!'
  139.     already-max-level:
  140.      - '&cThis enchantment is already max level!'    
  141.  
  142. # Limit number of enchantments item can have
  143. slots:
  144.   enabled: true
  145.   # Max number of enchantments
  146.   max: 7
  147.   # Max slots increasement with slot increaser
  148.   # This is a total slot number that can be with upgrades
  149.   max-increase-of-slots: 7
  150.   # Should it be displayed in lore?
  151.   display-in-lore: false
  152.   display: '&eItem Slots&7: %left%'
  153.   message:
  154.  - '&c&l(!) &cYou can only apply 7 maximum enchantments!'
  155.  
  156. applying:
  157.   already-applied:
  158.  - '&c&l(!) &cThe item already has this enchantment.'
  159.   applied:
  160.  - '&a&l(!) &aEnchantment was applied to your item.'
  161.   max-level:
  162.  - '&c&l(!) &cThis enchantment is already at max level!'
  163.   wrong-material:
  164.  - '&c&l(!) &cThis enchantment cannot be applied on this item.'
  165.  
  166. enchanter-books:
  167.   firework-on-open: true
  168.   # Show message when enchantment book is right clicked
  169.   display-right-click-message: false
  170.   # Variables: %enchant% - enchantment name
  171.   # %enchant-color% - enchantment name with color
  172.   # %level% - level number in roman
  173.   message:
  174.  - '&7You examined %group-color%%group%&7 book and found %enchant-color% %level%'
  175.   type: BOOK
  176.   id: 0
  177.   force-glow: false
  178.   name: '%group-color%&l%group-name%&l%group-color%&l Enchantment Book &7(Right Click)'
  179.   lore:
  180.  - '&7Examine to receive a random'
  181.   - '%group-color%%group-name% &7enchantment book.'
  182.  
  183. items:
  184.   itemnametag:
  185.     type: NAME_TAG
  186.     id: 0
  187.     name: '&6&lItem NameTag &7(Right Click)'
  188.     lore:
  189.    - '&7Rename and customize your equipment'
  190.     messages:
  191.       success:
  192.      - '&e&l(!) &eYou have successfully renamed your item to &e%name%'
  193.       activated:
  194.      - '&e&l(!) &eYour next message will rename your item in hand'
  195.       air:
  196.      - '&c&l(!) &cYou need to be holding an item to do this'
  197.     settings:
  198.      # Should colors be allowed
  199.       colors: true
  200.       # Should magic color codes (&k, &m, &o, &r, &l) be allowed?
  201.       magic: false
  202.       world-blacklist:
  203.        - 'fuck'
  204.         - 'dick'
  205.         - 'bitch'
  206.   randomization-scroll:
  207.     type: PAPER
  208.     id: 0
  209.     name: '&e&lRandomization Scroll'
  210.     lore:
  211.    - ''
  212.     - '&7Apply to an enchantment book to'
  213.     - '&7reroll the success and destroy rates.'
  214.     - ''
  215.     - '&7Drag n'' drop onto &nenchantment book&7 to apply.'
  216.   black-scroll:
  217.     type: INK_SACK
  218.     id: 0
  219.     name: '&f&lBlack Scroll'
  220.     lore:
  221.    - '&7Removes a random enchantment'
  222.     - '&7from an item and converts'
  223.     - '&7it into a &f%success%% &7success book.'
  224.     - '&fPlace scroll onto item to extract.'
  225.     success: 95
  226.     destroy: 5
  227.   secret-dust:
  228.     type: FIREBALL
  229.     id: 0
  230.     name: '%group-color%%group-name%%group-color% Secret Dust &7(Right Click)'
  231.     lore:
  232.     - '&7Contains: &bMagic, &fMystery &7dust.'
  233.     - '&7An unidentified satchel of dust.'
  234.     success: 1-30
  235.     chance: 30
  236.   mystery-dust:
  237.     type: SULPHUR
  238.     id: 0
  239.     name: '&fMystery Dust'
  240.     lore:
  241.    - '&7A failed bi-product'
  242.     - '&7of Magic dust.'
  243.   magic-dust:
  244.     type: SUGAR
  245.     id: 0
  246.     name: '%group-color%%group-name%%group-color% Magic Dust'
  247.     lore:
  248.    - '&a+%percent%% Success'
  249.     - '&7Apply to a &7any %group-color%%group-name% &7Enchantment Book'
  250.     - '&7to increase its success by %group-color%%percent%%'
  251.   slot-increaser:
  252.     type: STORAGE_MINECART
  253.     id: 0
  254.     name: "%group-color%%group-name% &fSlot Increaser"
  255.     lore:
  256.      - '&7Increase slots limit on an item by &b+%count%'
  257.     messages:
  258.       success:
  259.        - '&7You have successfully increased maximum slots by %count%!'
  260.   blocktrak:
  261.     type: SLIME_BALL
  262.     id: 0
  263.     name: "&aBlockTrak Creator"
  264.     lore:
  265.      - '&7Track how many blocks you break with a tool'
  266.       - '&7Drag ontop of another item to apply it'
  267.     messages:
  268.       success:
  269.        - '&7You successfully applied &aBlockTrak Creator'
  270.     settings:
  271.       lore-display: '&eBlockTrak Blocks Broken: &6%stats%'
  272.   stattrak:
  273.     type: MAGMA_CREAM
  274.     id: 0
  275.     name: "&eStatTrak Creator"
  276.     lore:
  277.      - '&7track how many kills you have with a weapon'
  278.       - '&7Drag ontop of another item to apply it'
  279.     messages:
  280.       success:
  281.        - '&7You successfully applied &eStatTrak Creator'
  282.     settings:
  283.       lore-display: '&eStatTrak Kills: &6%stats%'
  284.  
  285. white-scroll:
  286.  # Obtain white scroll by giving it with command '/ae giveitem <player> whitescroll'
  287.   #
  288.   # Should the white scroll be removed once applied enchantment fails?
  289.   delete: true
  290.   # Display in item lore
  291.   lore-display: '&f&lPROTECTED'
  292.   item:
  293.     type: EMPTY_MAP
  294.     id: 0
  295.     force-glow: false
  296.     name: '&fWhite Scroll'
  297.     lore:
  298.    - '&fPrevents an item from being destroyed'
  299.     - '&fdue to a failed Enchantment Book.'
  300.     - '&ePlace scroll on item to apply.'
  301.   messages:
  302.     applied:
  303.    - '&e&l(!) &eWhite scroll has been applied to your item.'
  304.     failed:
  305.    - '&c&l(!) &cWhite scroll saved the item.'
  306.   whitelist:
  307.     enabled: true
  308.     list:
  309.    - LEATHER_HELMET
  310.     - LEATHER_CHESTPLATE
  311.     - LEATHER_LEGGINGS
  312.     - LEATHER_BOOTS
  313.     - IRON_HELMET
  314.     - IRON_CHESTPLATE
  315.     - IRON_LEGGINGS
  316.     - IRON_BOOTS
  317.     - GOLD_HELMET
  318.     - GOLD_CHESTPLATE
  319.     - GOLD_LEGGINGS
  320.     - GOLD_BOOTS
  321.     - CHAIN_HELMET
  322.     - CHAIN_CHESTPLATE
  323.     - CHAIN_LEGGINGS
  324.     - CHAIN_BOOTS
  325.     - DIAMOND_HELMET
  326.     - DIAMOND_CHESTPLATE
  327.     - DIAMOND_LEGGINGS
  328.     - DIAMOND_BOOTS
  329.     - WOOD_AXE
  330.     - WOOD_PICKAXE
  331.     - WOOD_SWORD
  332.     - WOOD_SHOVEL
  333.     - STONE_AXE
  334.     - STONE_PICKAXE
  335.     - STONE_SWORD
  336.     - STONE_SHOVEL
  337.     - IRON_AXE
  338.     - IRON_PICKAXE
  339.     - IRON_SWORD
  340.     - IRON_SHOVEL
  341.     - GOLD_AXE
  342.     - GOLD_PICKAXE
  343.     - GOLD_SWORD
  344.     - GOLD_SHOVEL
  345.     - DIAMOND_AXE
  346.     - DIAMOND_PICKAXE
  347.     - DIAMOND_SWORD
  348.     - DIAMOND_SHOVEL
  349.     - BOW
  350.     message:
  351.    - '&cYou cannot apply whitescroll to that item!'
  352.  
  353. enchanter:
  354.  # set to 'none' to disable
  355.   open-sound: 'BLOCK_CHEST_OPEN'
  356.   # In what worlds enchanter is disabled
  357.   disabled-in-worlds:
  358.    - 'bad_world'
  359.   messages:
  360.     cannot-afford:
  361.      - '&cYou cannot afford this purchase.'
  362.     successfull-purchase:
  363.      - '&aYou successfully made a purchase!'
  364.     sound: ENTITY_PLAYER_LEVELUP
  365.     # 1.8 Sound == LEVEL_UP
  366.   inventory:
  367.    # Enchanter inventory size
  368.     # 9-18-27-36-45-54
  369.   inventory:
  370.     size: 9
  371.     name: '&7Server Enchanter'
  372.     items:
  373.       '2':
  374.         item:
  375.           type: STAINED_GLASS_PANE
  376.           id: 0
  377.           force-glow: false
  378.         enchant-group: SIMPLE
  379.         price: exp:400
  380.         name: '&f&lSimple Enchantment &7(Right Click)'
  381.         lore:
  382.        - '&7Examine to recieve a random'
  383.         - '&fsimple &7enchantment book.'
  384.         - ''
  385.         - '&b&lCOST &f400 EXP'
  386.       '3':
  387.         item:
  388.           type: STAINED_GLASS_PANE
  389.           id: 5
  390.           force-glow: false
  391.         enchant-group: UNIQUE
  392.         price: exp:800
  393.         name: '&a&lUnique Enchantment &7(Right Click)'
  394.         lore:
  395.        - '&7Examine to recieve a random'
  396.         - '&aunique &7enchantment book.'
  397.         - ''
  398.         - '&b&lCOST &f800 EXP'
  399.       '4':
  400.         item:
  401.           type: STAINED_GLASS_PANE
  402.           id: 3
  403.           force-glow: false
  404.         enchant-group: ELITE
  405.         price: exp:2500
  406.         name: '&b&lElite Enchantment &7(Right Click)'
  407.         lore:
  408.        - '&7Examine to recieve a random'
  409.         - '&belite &7enchantment book.'
  410.         - ''
  411.         - '&b&lCOST &f2500 EXP'
  412.       '5':
  413.         item:
  414.           type: STAINED_GLASS_PANE
  415.           id: 4
  416.           force-glow: false
  417.         enchant-group: ULTIMATE
  418.         price: exp:5000
  419.         name: '&e&lUltimate Enchantment &7(Right Click)'
  420.         lore:
  421.        - '&7Examine to recieve a random'
  422.         - '&eultimate &7enchantment book.'
  423.         - ''
  424.         - '&b&lCOST &f5000 EXP'
  425.       '6':
  426.         item:
  427.           type: STAINED_GLASS_PANE
  428.           id: 1
  429.           force-glow: false
  430.         enchant-group: LEGENDARY
  431.         price: exp:25000
  432.         name: '&6&lLegendary Enchantment &7(Right Click)'
  433.         lore:
  434.        - '&7Examine to recieve a random'
  435.         - '&6legendary &7enchantment book.'
  436.         - ''
  437.         - '&b&lCOST &f25000 EXP'
  438.  
  439. destroy:
  440.  # Should book be destroyed if it fails?
  441.   enabled: true
  442.   # Should Item be detroyed?
  443.   destroy-item: true
  444.   # Enchantment fail message.
  445.   message:
  446.     - '&c&l(!) &cEnchantment was unsuccessfull'
  447.   sound:
  448.     enabled: true
  449.     # Find sounds @ https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
  450.     play: BLOCK_ANVIL_BREAK
  451.   particles:
  452.     enabled: true
  453.     # Find particles @ https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Particle.html
  454.     type: FLAME
  455.  
  456. chances:
  457.  # Should book chances be random?
  458.   random: true
  459.   # If not random, what should be the simple values?
  460.   success: 92
  461.   destroy: 8
  462.  
  463. enchantment-book:
  464.   item:
  465.     type: ENCHANTED_BOOK
  466.     id: 0
  467.     force-glow: false
  468.     # Variables: %enchant%, %enchant-no-color%, %description%, %applies%, %success%, %destroy%, %color%
  469.   name: '%enchant% %level%'
  470.   lore:
  471.  - '&a%success%% Success Rate'
  472.   - '&c%destroy%% Destroy Rate'
  473.   - '&e%description%'
  474.   - '&7%applies% Enchantment'
  475.   - '&7Drag n'' drop onto item to enchant'
  476.  
  477. messages:
  478.   main-hand-only: '&cYou can only do this with main hand!'
  479.   command:
  480.    # Variables: %enchant%, %description%, %applies%, %max-level%
  481.     info:
  482.    - '&eInformation about &6%enchant% &eenchantment&7:'
  483.     - '&6Description&7: &e%description%'
  484.     - '&6Applies to&7: &e%applies%'
  485.     - '&6Max level&7: &e%max-level%'
  486.     enchantment-not-found:
  487.    - '&cEnchantment &c&n%enchant%&c could not be found.'
  488.     player-not-online: '&f%player% &cis not online!'
  489.     no-permission: '&cYou do not have permission to use this command.'
  490.     not-a-number: '&f%number% &cis not a number!'
  491.     invalid-level: '&cLevel is too big, try using:&f %levels%'
Add Comment
Please, Sign In to add comment