Advertisement
Guest User

repair.yml

a guest
Jul 22nd, 2017
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 2.46 KB | None | 0 0
  1. #/-----------------------/
  2. #\    Repair Settings    \
  3. #/-----------------------/
  4. Settings:
  5.   Global:
  6.    # Set this to 'false' to completely disable repair module
  7.     Enabled: true
  8.   Anvil:
  9.    # Set this to 'false' to disable repair by using anvil (it doesn't touch the default minecraft repair)
  10.     Enabled: true
  11.     # Action to open custom repair GUI
  12.     Action:
  13.       Value: RIGHT_CLICK_BLOCK
  14.       isShiftOnly: true
  15.     # Currency that can be used to repair items
  16.     Currency:
  17.      # Player exp
  18.       EXP: true
  19.       # Item material
  20.       Material: true
  21.       # Economy
  22.       Vault: true
  23.     RepairCost:
  24.    # Formula is '%cost% * (%max_durability% - %current_durability%)'
  25.     # For example: to repair item with durability 100/500 for EXP it will cost 40 levels
  26.       EXP: 0.1
  27.       MATERIAL: 0.02
  28.       VAULT: 1.25
  29.   Gem:
  30.     Material: FIREWORK_CHARGE
  31.     Display: '&dRepair Gem - %s'
  32.     Lore:
  33.    - '&8&m-----------------'
  34.     - '&f> &7Type: &fRepair Gem'
  35.     - '&f> &7Level: &f%level%'
  36.     - '&f> &7Repair: &d+%s%%'
  37.     - '&8&m-----------------'
  38.     - ''
  39.     - '&d&oPlace Gem on Item to repair!'
  40.     # 0 - it will add the amount of durability in case of current item durability
  41.     # 1 - it will add the amount of durability in case of maximal item durability
  42.     RepairMode: 0
  43.     # Amount of durability that will be repaired in percent
  44.     # For example: Gem I level will restore 10% of durability.
  45.     # Format is: 'LEVEL:VALUE' Integers only.
  46.     Levels:
  47.       1: 10
  48.       2: 20
  49.       3: 30
  50.       4: 40
  51.       5: 50
  52.     Drops:
  53.      # Chance to drop gem from mobs
  54.       Chance: 0.05
  55.       # Worlds, where entities will be able to drop repair  gem
  56.       Worlds:
  57.      - world
  58.       - world_nether
  59.       - world_the_end
  60.       # Entities that spawned by one of reasons listed below wont drop gems
  61.       # All valid spawn reasons you can find here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/entity/CreatureSpawnEvent.SpawnReason.html
  62.       PreventFrom:
  63.         EGG: true
  64.         DISPENSE_EGG: true
  65.         SPAWNER: true
  66.         SPAWNER_EGG: true
  67.         SLIME_SPLIT: true
  68.       # Entity types that can drop gems
  69.       # Variables are:
  70.       # - ALL - all entities
  71.       # - HOSTILE - only hostile entities
  72.       # - PASSIVE - only passive entities
  73.       # - <ENTITY_TYPE> - only specified entity type
  74.       # You can combine values like HOSTILE and PIG, PASSIVE and ZOMBIE and HUSK, etc.
  75.       EntityTypes:
  76.      - ALL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement