Guest User

Untitled

a guest
Aug 5th, 2023
390
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 6.72 KB | None | 0 0
  1. name: '&7Sharpness (Advanced)'
  2. lore:
  3. - §7Applying it into a sword would
  4. - §7allow it to regenerate its durability
  5. - §7while being held
  6. - §f
  7. - '§7Level: §f%var_level_int%'
  8. - §f
  9. - §7§lTier 1 Custom Enchant
  10. material: ENCHANTED_BOOK
  11. glow: false
  12. disableStack: true
  13. keepItemOnDeath: false
  14. canBeUsedOnlyByTheOwner: false
  15. storeItemInfo: false
  16. unbreakable: false
  17. usage: 1
  18. usageLimit: -1
  19. cancelEventIfNoPerm: false
  20. cancelEventIfNotOwner: false
  21. disabledWorlds: []
  22. recognitions: []
  23. config_5: true
  24. config_update: true
  25. dropOptions:
  26.   glowDrop: false
  27.   glowDropColor: WHITE
  28.   displayNameDrop: false
  29. hiders:
  30.   hideEnchantments: false
  31.   hideUnbreakable: false
  32.   hideAttributes: false
  33.   hidePotionEffects: false
  34.   hideUsage: true
  35.   hideDye: false
  36. enchantments: {}
  37. giveFirstJoin:
  38.   giveFirstJoin: false
  39.   giveFirstJoinAmount: 1
  40.   giveFirstJoinSlot: 0
  41. restrictions: {}
  42. variables:
  43.   var0:
  44.     variableName: level
  45.     type: NUMBER
  46.     default: 5.0
  47. activators:
  48.   activator0b:
  49.     name: '&eActivator'
  50.     option: EI_ENTER_IN_THE_PLAYER_INVENTORY
  51.     usageModification: -1
  52.     cancelEvent: true
  53.     noActivatorRunIfTheEventIsCancelled: false
  54.     silenceOutput: false
  55.     autoUpdateItem: false
  56.     updateName: true
  57.     updateLore: true
  58.     updateDurability: false
  59.     updateAttributes: false
  60.     updateEnchants: false
  61.     updateCustomModelData: false
  62.     cooldownOptions:
  63.       cooldown: 0
  64.       isCooldownInTicks: false
  65.       cooldownMsg: '&cYou are in cooldown ! &7(&e%time_H%&6H &e%time_M%&6M &e%time_S%&6S&7)'
  66.       displayCooldownMessage: true
  67.       cancelEventIfInCooldown: false
  68.     globalCooldownOptions:
  69.       cooldown: 0
  70.       isCooldownInTicks: false
  71.       cooldownMsg: '&cYou are in cooldown ! &7(&e%time_H%&6H &e%time_M%&6M &e%time_S%&6S&7)'
  72.       displayCooldownMessage: true
  73.       cancelEventIfInCooldown: false
  74.     otherEICooldowns: {}
  75.     requiredItems: {}
  76.     requiredExecutableItems: {}
  77.     detailedSlots: []
  78.     commands:
  79.    - ADDENCHANTMENT %slot% SHARPNESS %var_level_int%+1
  80.     playerConditions: {}
  81.     worldConditions: {}
  82.     itemConditions: {}
  83.     customConditions: {}
  84.     placeholdersConditions:
  85.       plchCdt0:
  86.         type: PLAYER_STRING
  87.         comparator: IS_CONTAINED_IN
  88.         part1: '%checkitem_getinfo:%slot%_mat:%'
  89.         part2: WOODEN_SWORD<OR>STONE_SWORD<OR>IRON_SWORD<OR>GOLDEN_SWORD<OR>DIAMOND_SWORD<OR>NETHERITE_SWORD
  90.         cancelEventIfNotValid: false
  91.         messageIfNotValid: b1
  92.         messageIfNotValidForTarget: ''
  93.       plchCdt2:
  94.         type: PLAYER_STRING
  95.         comparator: EQUALS
  96.         part1: '%checkitem_inslot:%slot%,enchantments:sharpness=%var_level_int%%'
  97.         part2: 'yes'
  98.         cancelEventIfNotValid: false
  99.         messageIfNotValid: b2
  100.         messageIfNotValidForTarget: ''
  101.     variablesModification: {}
  102.   activator0a:
  103.     name: '&eActivator'
  104.     option: EI_ENTER_IN_THE_PLAYER_INVENTORY
  105.     usageModification: -1
  106.     cancelEvent: true
  107.     noActivatorRunIfTheEventIsCancelled: false
  108.     silenceOutput: false
  109.     autoUpdateItem: false
  110.     updateName: true
  111.     updateLore: true
  112.     updateDurability: false
  113.     updateAttributes: false
  114.     updateEnchants: false
  115.     updateCustomModelData: false
  116.     cooldownOptions:
  117.       cooldown: 0
  118.       isCooldownInTicks: false
  119.       cooldownMsg: '&cYou are in cooldown ! &7(&e%time_H%&6H &e%time_M%&6M &e%time_S%&6S&7)'
  120.       displayCooldownMessage: true
  121.       cancelEventIfInCooldown: false
  122.     globalCooldownOptions:
  123.       cooldown: 0
  124.       isCooldownInTicks: false
  125.       cooldownMsg: '&cYou are in cooldown ! &7(&e%time_H%&6H &e%time_M%&6M &e%time_S%&6S&7)'
  126.       displayCooldownMessage: true
  127.       cancelEventIfInCooldown: false
  128.     otherEICooldowns: {}
  129.     requiredItems: {}
  130.     requiredExecutableItems: {}
  131.     detailedSlots: []
  132.     commands:
  133.    - ADDENCHANTMENT %slot% SHARPNESS %var_level_int%
  134.     playerConditions: {}
  135.     worldConditions: {}
  136.     itemConditions: {}
  137.     customConditions: {}
  138.     placeholdersConditions:
  139.       plchCdt0:
  140.         type: PLAYER_STRING
  141.         comparator: IS_CONTAINED_IN
  142.         part1: '%checkitem_getinfo:%slot%_mat:%'
  143.         part2: WOODEN_SWORD<OR>STONE_SWORD<OR>IRON_SWORD<OR>GOLDEN_SWORD<OR>DIAMOND_SWORD<OR>NETHERITE_SWORD
  144.         cancelEventIfNotValid: false
  145.         messageIfNotValid: a1
  146.         messageIfNotValidForTarget: ''
  147.       plchCdt2:
  148.         type: PLAYER_STRING
  149.         comparator: EQUALS
  150.         part1: '%checkitem_inslot:%slot%,enchantments:sharpness%'
  151.         part2: 'no'
  152.         cancelEventIfNotValid: false
  153.         messageIfNotValid: a2
  154.         messageIfNotValidForTarget: ''
  155.     variablesModification: {}
  156.   activator1:
  157.     name: '&eActivator'
  158.     option: EI_ENTER_IN_THE_PLAYER_INVENTORY
  159.     usageModification: -1
  160.     cancelEvent: true
  161.     noActivatorRunIfTheEventIsCancelled: false
  162.     silenceOutput: false
  163.     autoUpdateItem: false
  164.     updateName: true
  165.     updateLore: true
  166.     updateDurability: false
  167.     updateAttributes: false
  168.     updateEnchants: false
  169.     updateCustomModelData: false
  170.     cooldownOptions:
  171.       cooldown: 5
  172.       isCooldownInTicks: true
  173.       cooldownMsg: '&cYou are in cooldown ! &7(&e%time_H%&6H &e%time_M%&6M &e%time_S%&6S&7)'
  174.       displayCooldownMessage: false
  175.       cancelEventIfInCooldown: false
  176.     globalCooldownOptions:
  177.       cooldown: 0
  178.       isCooldownInTicks: false
  179.       cooldownMsg: '&cYou are in cooldown ! &7(&e%time_H%&6H &e%time_M%&6M &e%time_S%&6S&7)'
  180.       displayCooldownMessage: true
  181.       cancelEventIfInCooldown: false
  182.     otherEICooldowns: {}
  183.     requiredItems: {}
  184.     requiredExecutableItems: {}
  185.     detailedSlots: []
  186.     commands:
  187.    - '%checkitem_remove_inslot:%slot%%'
  188.     - ei giveslot %player% EI-CUSTOMENCHANT-TIER01-ADVANCED_SHARPNESS 1 %slot% VAR(level:%math_0_(%var_level%)+1%)
  189.     playerConditions: {}
  190.     worldConditions: {}
  191.     itemConditions: {}
  192.     customConditions: {}
  193.     placeholdersConditions:
  194.       plchCdt0:
  195.         type: PLAYER_STRING
  196.         comparator: EQUALS
  197.         part1: '%checkitem_inslot:%slot%,namecontains:&7Sharpness (Advanced)%'
  198.         part2: 'yes'
  199.         cancelEventIfNotValid: false
  200.         messageIfNotValid: ''
  201.         messageIfNotValidForTarget: ''
  202.       plchCdt1:
  203.         type: PLAYER_STRING
  204.         comparator: EQUALS
  205.         part1: '%checkitem_inslot:%slot%,lorecontains:&7Level: &f%var_level_int%%'
  206.         part2: 'yes'
  207.         cancelEventIfNotValid: false
  208.         messageIfNotValid: ''
  209.         messageIfNotValidForTarget: ''
  210.       plchCdt2:
  211.         type: PLAYER_NUMBER
  212.         comparator: INFERIOR
  213.         part1: '%var_level%'
  214.         part2: '8'
  215.         cancelEventIfNotValid: false
  216.         messageIfNotValid: ''
  217.         messageIfNotValidForTarget: ''
  218.     variablesModification: {}
  219. attributes: {}
  220. config_5_98: true
  221.  
Advertisement
Add Comment
Please, Sign In to add comment