CustomEnchantments

Mystic

mystic

The enchantments plugin

Did you ever want to create your own enchantments? Your very own special enchantments to interest your players? Here is the plugin for you! Be able to create your own custom enchantments, with custom names, custom enchantment requirements and custom damage multipliers! Edit your enchants based on your opponent's health or your enchantment's level! Have roman numeric and realistic-looking enchantments!

Features

  • Fully customizable enchantments, allowing you to name your enchants whatever you want
  • Customizable effects(When you hit a target, play a certain block break animation to make combat look more interesting!)
  • Customizable for block breaking or on attack triggers! Add potion effects or change your damage amount!
  • Customizable tool types, (SWORD, PICKAXE, AXE, SHOVEL, LEGGINGS, CHESTPLATE, HELMET, BOOTS, TUNIC, CAP, PANTS, FISHING_ROD)
  • Customizable target entity (You can make things like "Creeper Bane" and deal more damage to creepers!)

Commands

  • /menchant [enchantname] [level] ENCHANTMENT NAME IS CASE SENSITIVE. Permission: mystic.enchantcmd

Configuration

To configure damage multipliers

Nether_Stalker: #This is the name of your enchantment. The underscores represent spaces
   chance: 40 #This is the chance of your enchantment getting enchanted. 
   chance-per-level: 20 #When your enchantment is enchanted, there is a 20% chance for it to be of a higher level (for this case)
   trigger: onhit #THIS PART IS ESSENTIAL. THIS DEFINES AN ONHIT
   special: dmgmultiplyer,1.2+level*0.1 #(This is the main feature. This equation defines the damage dealt by the weapon. IT MUST BE IN THIS
#FORMAT: dmgmultiplyer,[equation]  level represents the enchantment's level,health represents your target's health
#These mobs will be affected by your enchantment. Put ALL if you want all mobs to be affected. A SPACE IN FRONT OF THE WORD IS NECESSARY, ALONG WITH THE CAPS.  
 affected-mobs:
   - MAGMA_CUBE
   - PIG_ZOMBIE
   - GHAST
   - BLAZE
   - WITHER_SKELETON
   max-level: 5 #The maximum possible level of your enchantment
   min-req-xp-level: 3 #The minimum required enchanting experience to obtain the enchantment
   max-req-xp-level: 30 #The maximum allowed enchanting experience to obtain the enchantment
   accepted-tools: #This defines the tools that can be enchanted with this enchantment. Must have a space before  the dash and must be capped.
   - SWORD
   enabled: true #This is for a upcoming feature, but for now, leave it as true if you want players to be able to enchant it.
   block-effect: REDSTONE_BLOCK #In this case, attacking mobs with this enchantment will create a redstone block  breaking effect. If you don't #want an effect, simply remove this line completely.

To configure potion effects

Savour:
   chance: 10
   chance-per-level: 5
   trigger: onhit #THIS PART IS ESSENTIAL. THIS DEFINES AN ONHIT
   #How this works: potioneffect,POTION_EFFECT_TYPE,duration(s),amplifier,chance-per-strike/blockmine,splash radius,targets
   #FOR NOW, SPLASH DOES NOT WORK.
   #in targets, SELF refers to the attacker and ENEMY refers to the opponent.
   #In this case, each attack against any mob will give the attacker regeneration I + level for (3+level) seconds
   special: potioneffect,REGENERATION,3+level,0+level/3,100,0,SELF
   #On attacking which mobs would this work?
   affected-mobs:
   - ALL
   max-level: 3
   min-req-xp-level: 25
   max-req-xp-level: 30
   accepted-tools:
   - SWORD
   - PICKAXE
   enabled: true
   block-effect: PORTAL

To configure on block break potion effects

Siphoning:
   chance: 10
   chance-per-level: 7
   trigger: blockbreak #THIS PART IS ESSENTIAL. THIS DEFINES A BLOCK BREAK
   #How this works: potioneffect,POTION_EFFECT_TYPE,duration(s),amplifier,chance-per-strike/blockmine,splash radius,targets
   #FOR NOW, SPLASH DOES NOT WORK.
   #in targets, SELF refers to the miner. Putting ENEMY will do nothing here.
   #In this case, each block mine will give the miner regeneration I + level for (3+level) seconds
   special: potioneffect,REGENERATION,3+level,0+level/3,100,0,SELF
   #This is still required, but doesn't do anything.
   affected-mobs:
   - ALL
   max-level: 3
   min-req-xp-level: 25
   max-req-xp-level: 30
   accepted-tools:
   - PICKAXE
   enabled: true
   block-effect: EMERALD

Planned Features

  • More variables for admins to toy with for more customization
  • Actual pickaxe, shovel, axe and armor customized enchants
  • Optimize enchanting system in future
  • More options?

I want to hear from you!

Simply comment on what you would like to see in the next update!


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    90894
  • Created
    Apr 6, 2015
  • Last Released File
    May 4, 2015
  • Total Downloads
    4,022
  • License

Categories

Members

Recent Files

Bukkit