Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- name: '&7Sharpness (Advanced)'
- lore:
- - §7Applying it into a sword would
- - §7allow it to regenerate its durability
- - §7while being held
- - §f
- - '§7Level: §f%var_level_int%'
- - §f
- - §7§lTier 1 Custom Enchant
- material: ENCHANTED_BOOK
- glow: false
- disableStack: true
- keepItemOnDeath: false
- canBeUsedOnlyByTheOwner: false
- storeItemInfo: false
- unbreakable: false
- usage: 1
- usageLimit: -1
- cancelEventIfNoPerm: false
- cancelEventIfNotOwner: false
- disabledWorlds: []
- recognitions: []
- config_5: true
- config_update: true
- dropOptions:
- glowDrop: false
- glowDropColor: WHITE
- displayNameDrop: false
- hiders:
- hideEnchantments: false
- hideUnbreakable: false
- hideAttributes: false
- hidePotionEffects: false
- hideUsage: true
- hideDye: false
- enchantments: {}
- giveFirstJoin:
- giveFirstJoin: false
- giveFirstJoinAmount: 1
- giveFirstJoinSlot: 0
- restrictions: {}
- variables:
- var0:
- variableName: level
- type: NUMBER
- default: 5.0
- activators:
- activator0b:
- name: '&eActivator'
- option: EI_ENTER_IN_THE_PLAYER_INVENTORY
- usageModification: -1
- cancelEvent: true
- noActivatorRunIfTheEventIsCancelled: false
- silenceOutput: false
- autoUpdateItem: false
- updateName: true
- updateLore: true
- updateDurability: false
- updateAttributes: false
- updateEnchants: false
- updateCustomModelData: false
- cooldownOptions:
- cooldown: 0
- isCooldownInTicks: false
- cooldownMsg: '&cYou are in cooldown ! &7(&e%time_H%&6H &e%time_M%&6M &e%time_S%&6S&7)'
- displayCooldownMessage: true
- cancelEventIfInCooldown: false
- globalCooldownOptions:
- cooldown: 0
- isCooldownInTicks: false
- cooldownMsg: '&cYou are in cooldown ! &7(&e%time_H%&6H &e%time_M%&6M &e%time_S%&6S&7)'
- displayCooldownMessage: true
- cancelEventIfInCooldown: false
- otherEICooldowns: {}
- requiredItems: {}
- requiredExecutableItems: {}
- detailedSlots: []
- commands:
- - ADDENCHANTMENT %slot% SHARPNESS %var_level_int%+1
- playerConditions: {}
- worldConditions: {}
- itemConditions: {}
- customConditions: {}
- placeholdersConditions:
- plchCdt0:
- type: PLAYER_STRING
- comparator: IS_CONTAINED_IN
- part1: '%checkitem_getinfo:%slot%_mat:%'
- part2: WOODEN_SWORD<OR>STONE_SWORD<OR>IRON_SWORD<OR>GOLDEN_SWORD<OR>DIAMOND_SWORD<OR>NETHERITE_SWORD
- cancelEventIfNotValid: false
- messageIfNotValid: b1
- messageIfNotValidForTarget: ''
- plchCdt2:
- type: PLAYER_STRING
- comparator: EQUALS
- part1: '%checkitem_inslot:%slot%,enchantments:sharpness=%var_level_int%%'
- part2: 'yes'
- cancelEventIfNotValid: false
- messageIfNotValid: b2
- messageIfNotValidForTarget: ''
- variablesModification: {}
- activator0a:
- name: '&eActivator'
- option: EI_ENTER_IN_THE_PLAYER_INVENTORY
- usageModification: -1
- cancelEvent: true
- noActivatorRunIfTheEventIsCancelled: false
- silenceOutput: false
- autoUpdateItem: false
- updateName: true
- updateLore: true
- updateDurability: false
- updateAttributes: false
- updateEnchants: false
- updateCustomModelData: false
- cooldownOptions:
- cooldown: 0
- isCooldownInTicks: false
- cooldownMsg: '&cYou are in cooldown ! &7(&e%time_H%&6H &e%time_M%&6M &e%time_S%&6S&7)'
- displayCooldownMessage: true
- cancelEventIfInCooldown: false
- globalCooldownOptions:
- cooldown: 0
- isCooldownInTicks: false
- cooldownMsg: '&cYou are in cooldown ! &7(&e%time_H%&6H &e%time_M%&6M &e%time_S%&6S&7)'
- displayCooldownMessage: true
- cancelEventIfInCooldown: false
- otherEICooldowns: {}
- requiredItems: {}
- requiredExecutableItems: {}
- detailedSlots: []
- commands:
- - ADDENCHANTMENT %slot% SHARPNESS %var_level_int%
- playerConditions: {}
- worldConditions: {}
- itemConditions: {}
- customConditions: {}
- placeholdersConditions:
- plchCdt0:
- type: PLAYER_STRING
- comparator: IS_CONTAINED_IN
- part1: '%checkitem_getinfo:%slot%_mat:%'
- part2: WOODEN_SWORD<OR>STONE_SWORD<OR>IRON_SWORD<OR>GOLDEN_SWORD<OR>DIAMOND_SWORD<OR>NETHERITE_SWORD
- cancelEventIfNotValid: false
- messageIfNotValid: a1
- messageIfNotValidForTarget: ''
- plchCdt2:
- type: PLAYER_STRING
- comparator: EQUALS
- part1: '%checkitem_inslot:%slot%,enchantments:sharpness%'
- part2: 'no'
- cancelEventIfNotValid: false
- messageIfNotValid: a2
- messageIfNotValidForTarget: ''
- variablesModification: {}
- activator1:
- name: '&eActivator'
- option: EI_ENTER_IN_THE_PLAYER_INVENTORY
- usageModification: -1
- cancelEvent: true
- noActivatorRunIfTheEventIsCancelled: false
- silenceOutput: false
- autoUpdateItem: false
- updateName: true
- updateLore: true
- updateDurability: false
- updateAttributes: false
- updateEnchants: false
- updateCustomModelData: false
- cooldownOptions:
- cooldown: 5
- isCooldownInTicks: true
- cooldownMsg: '&cYou are in cooldown ! &7(&e%time_H%&6H &e%time_M%&6M &e%time_S%&6S&7)'
- displayCooldownMessage: false
- cancelEventIfInCooldown: false
- globalCooldownOptions:
- cooldown: 0
- isCooldownInTicks: false
- cooldownMsg: '&cYou are in cooldown ! &7(&e%time_H%&6H &e%time_M%&6M &e%time_S%&6S&7)'
- displayCooldownMessage: true
- cancelEventIfInCooldown: false
- otherEICooldowns: {}
- requiredItems: {}
- requiredExecutableItems: {}
- detailedSlots: []
- commands:
- - '%checkitem_remove_inslot:%slot%%'
- - ei giveslot %player% EI-CUSTOMENCHANT-TIER01-ADVANCED_SHARPNESS 1 %slot% VAR(level:%math_0_(%var_level%)+1%)
- playerConditions: {}
- worldConditions: {}
- itemConditions: {}
- customConditions: {}
- placeholdersConditions:
- plchCdt0:
- type: PLAYER_STRING
- comparator: EQUALS
- part1: '%checkitem_inslot:%slot%,namecontains:&7Sharpness (Advanced)%'
- part2: 'yes'
- cancelEventIfNotValid: false
- messageIfNotValid: ''
- messageIfNotValidForTarget: ''
- plchCdt1:
- type: PLAYER_STRING
- comparator: EQUALS
- part1: '%checkitem_inslot:%slot%,lorecontains:&7Level: &f%var_level_int%%'
- part2: 'yes'
- cancelEventIfNotValid: false
- messageIfNotValid: ''
- messageIfNotValidForTarget: ''
- plchCdt2:
- type: PLAYER_NUMBER
- comparator: INFERIOR
- part1: '%var_level%'
- part2: '8'
- cancelEventIfNotValid: false
- messageIfNotValid: ''
- messageIfNotValidForTarget: ''
- variablesModification: {}
- attributes: {}
- config_5_98: true
Advertisement
Add Comment
Please, Sign In to add comment