Advertisement
Guest User

repair.yml

a guest
Oct 4th, 2017
390
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 2.61 KB | None | 0 0
  1. #-------------------------------------------------------------------------
  2. #                      QUICK CONFIG GUIDE
  3. #           Here maybe some grammar errors (mistakes?)
  4. #
  5. # - Enabled
  6. # Set this to 'false' to completely disable repair module
  7. #
  8. # ========= ANVIL ===========
  9. # - Enabled
  10. # Set this to 'false' to disable repair by using anvil (it doesn't touch the default minecraft repair)
  11. #
  12. # - Action
  13. # Value: Do not touch.
  14. # isShiftOnly: <true/false>
  15. #
  16. # - Currency
  17. # Enable/Disable currency for repair
  18. #
  19. # - RepairCost
  20. # Formula is '%cost% * (%max_durability% - %current_durability%)'
  21. # For example: to repair item with durability 100/500 for EXP it will cost 40 levels
  22. #
  23. # ========= ITEM ===========
  24. # - Material
  25. # Item material. Names only. NOT ID!
  26. #
  27. # - Display
  28. # Item display name
  29. #
  30. # - Lore
  31. # Item lore
  32. #
  33. # - RepairMode
  34. # 0 - repair amount of current item durability
  35. # 1 - repair amount of maximal item durability
  36. #
  37. # - Levels
  38. # Amount of durability that will be repaired in percent
  39. # For example: Gem 1 level will restore 10% of durability.
  40. # Format is: 'LEVEL:VALUE' Integers only.
  41. #
  42. # - PreventFrom
  43. # Entities that spawned by one of reasons listed below wont drop items
  44. # All valid spawn reasons you can find here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/entity/CreatureSpawnEvent.SpawnReason.html
  45. #
  46. # - EntityTypes
  47. # Entity types that can drop gems
  48. # Variables are:
  49. # * ALL - all entities
  50. # * HOSTILE - only hostile entities
  51. # * PASSIVE - only passive entities
  52. # * <ENTITY_TYPE> - only specified entity type
  53. # You can combine values like HOSTILE and PIG, PASSIVE and ZOMBIE and HUSK, etc.
  54. #-------------------------------------------------------------------------
  55. Enabled: true
  56. Anvil:
  57.   Enabled: true
  58.   Action:
  59.     Value: RIGHT_CLICK_BLOCK
  60.     isShiftOnly: true
  61.   Currency:
  62.     EXP: true
  63.     Material: true
  64.     Vault: true
  65.   RepairCost:
  66.     EXP: 0.1
  67.     MATERIAL: 0.02
  68.     VAULT: 1.25
  69. Item:
  70.   Material: FIREWORK_CHARGE
  71.   Display: '&dRepair Gem - %s'
  72.   Lore:
  73.  - '&8ᚐᚐᚐᚐᚐᚐᚐᚐᚐᚐᚐᚐᚐᚐᚐᚐᚐ'
  74.   - '&f›› &7Type: &fRepair Gem'
  75.   - '&f›› &7Level: &f%level%'
  76.   - '&f›› &7Repair: &d+%s%%'
  77.   - '&8ᚐᚐᚐᚐᚐᚐᚐᚐᚐᚐᚐᚐᚐᚐᚐᚐᚐ'
  78.   - ''
  79.   - '&d&oPlace Gem on Item to repair!'
  80.   RepairMode: 0
  81.   Levels:
  82.     1: 10
  83.     2: 20
  84.     3: 30
  85.     4: 40
  86.     5: 50
  87.   Drops:
  88.     Chance: 0.05
  89.     Worlds:
  90.    - world
  91.     - world_nether
  92.     - world_the_end
  93.     PreventFrom:
  94.       EGG: true
  95.       DISPENSE_EGG: true
  96.       SPAWNER: true
  97.       SPAWNER_EGG: true
  98.       SLIME_SPLIT: true
  99.     EntityTypes:
  100.    - ALL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement