CustomEnchantments
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!
Is there a onsneak?
I don't know if you still work on this or not, but...
Is the plugin able to search Lore for the enchant name of an item where the enchant text has been manually put into the lore? For example, if I make a weapon with another plugin, add into it's lore (on it's own line):
&7&oSiphoning II
Will that work? Or does the plugin keep some sort of record and only items that receive them via the table will have the enchant in question be "activated"?
Most of the items we create are done in that way, as we let the players craft, win via events, or receive for quest rewards, the items that have unique powers. However, my server has been around for 2 years and frankly we've kind of exhausted all the non-overpowered combinations using what the one plugin has built into it, which is why I've been on the hunt for any that can add new 'powers' in the way I described above...
If it isn't already something plugin does, then that is my feature request :D
I also +1 those who requested being able to customize the enchant text color and format, to allow it to look how we'd like; being able to apply them (or some) to armor, since awesome weapons need awesome protection too; and of course being able to apply them to bows, since who doesn't love ranged attacks lol
Thanks!
oh and please add a way to change the color of the enchant I dont like it with the normal color D:
Hey I was wondering if it was possible to give somebody Jumpboost on boots ALL the time while they have them on for ex:
UnGravi: chance: 15 chance-per-level: 5 special: potioneffect,JUMP_BOOST,1+level,0+level/3,100,0,SELF affected-mobs: - PLAYER max-level: 5 min-req-xp-level: 10 max-req-xp-level: 12 accepted-tools: - BOOTS enabled: true block-effect:PORTAL I tryied to do this but it doesnt even find the Enchant, so i replaced the Siphoning special with potioneffect,JUMP_BOOST,1+level,0+level/3,100,0,SELF and the accepted tool to - BOOTS without a trigger but it still doesnt work I finds the Siphoning enchant but the Jumpboost doesnt work D; Please help!
I have a idea when a mob hits you or you hit it spawns a mob customizable.
@Zombiesking4260
Working on it
can you add effects to armor?
@Triyon
:3
I'm glad that you like some of my ideas.
@GPlayer93
Your stuff is still under development. Mainly the armour thing. and the ignite effect.
good work with v6 ^^
@Triyon
just some suggestions, take your time ^_^
@GPlayer93
I'll check it out, and I'll add your requests when I have the time
would be nice to have something like a molten armor (if you get hit ignite the attacker for dunno 1-2 seconds)
-> can you even make armor that gives the attacker an effect?
-> is it possible to add the bow to this?
-> is it possible to have 2 potion effects with 1 enchant?
-> is it possible to get multiple enchantments on 1 item? (with the enchanting table)
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
i get this error when hitting a mob with bare hands:
[20:25:32] [Server thread/ERROR]: Could not pass event EntityDamageByEntityEvent to Mystic v1 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:305) [server.jar:git-Spigot-4c7d0c0-7d020a7] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [server.jar:git-Spigot-4c7d0c0-7d020a7] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [server.jar:git-Spigot-4c7d0c0-7d020a7] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [server.jar:git-Spigot-4c7d0c0-7d020a7] at org.bukkit.craftbukkit.v1_8_R2.event.CraftEventFactory.callEvent(CraftEventFactory.java:85) [server.jar:git-Spigot-4c7d0c0-7d020a7] at org.bukkit.craftbukkit.v1_8_R2.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:538) [server.jar:git-Spigot-4c7d0c0-7d020a7] at org.bukkit.craftbukkit.v1_8_R2.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:451) [server.jar:git-Spigot-4c7d0c0-7d020a7] at org.bukkit.craftbukkit.v1_8_R2.event.CraftEventFactory.handleLivingEntityDamageEvent(CraftEventFactory.java:570) [server.jar:git-Spigot-4c7d0c0-7d020a7] at net.minecraft.server.v1_8_R2.EntityLiving.d(EntityLiving.java:1101) [server.jar:git-Spigot-4c7d0c0-7d020a7] at net.minecraft.server.v1_8_R2.EntityLiving.damageEntity(EntityLiving.java:742) [server.jar:git-Spigot-4c7d0c0-7d020a7] at net.minecraft.server.v1_8_R2.EntityMonster.damageEntity(EntityMonster.java:42) [server.jar:git-Spigot-4c7d0c0-7d020a7] at net.minecraft.server.v1_8_R2.EntityZombie.damageEntity(EntityZombie.java:167) [server.jar:git-Spigot-4c7d0c0-7d020a7] at net.minecraft.server.v1_8_R2.EntityHuman.attack(EntityHuman.java:1001) [server.jar:git-Spigot-4c7d0c0-7d020a7] at net.minecraft.server.v1_8_R2.EntityPlayer.attack(EntityPlayer.java:1060) [server.jar:git-Spigot-4c7d0c0-7d020a7] at net.minecraft.server.v1_8_R2.PlayerConnection.a(PlayerConnection.java:1347) [server.jar:git-Spigot-4c7d0c0-7d020a7] at net.minecraft.server.v1_8_R2.PacketPlayInUseEntity.a(SourceFile:52) [server.jar:git-Spigot-4c7d0c0-7d020a7] at net.minecraft.server.v1_8_R2.PacketPlayInUseEntity.a(SourceFile:11) [server.jar:git-Spigot-4c7d0c0-7d020a7] at net.minecraft.server.v1_8_R2.PlayerConnectionUtils$1.run(SourceFile:13) [server.jar:git-Spigot-4c7d0c0-7d020a7] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [?:1.7.0_80] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [?:1.7.0_80] at net.minecraft.server.v1_8_R2.SystemUtils.a(SourceFile:60) [server.jar:git-Spigot-4c7d0c0-7d020a7] at net.minecraft.server.v1_8_R2.MinecraftServer.A(MinecraftServer.java:710) [server.jar:git-Spigot-4c7d0c0-7d020a7] at net.minecraft.server.v1_8_R2.DedicatedServer.A(DedicatedServer.java:368) [server.jar:git-Spigot-4c7d0c0-7d020a7] at net.minecraft.server.v1_8_R2.MinecraftServer.z(MinecraftServer.java:651) [server.jar:git-Spigot-4c7d0c0-7d020a7] at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java:554) [server.jar:git-Spigot-4c7d0c0-7d020a7] at java.lang.Thread.run(Thread.java:745) [?:1.7.0_80] Caused by: java.lang.NullPointerException at me.leothepro555.mystic.MysticPlugin.onEntityAttack(MysticPlugin.java:187) [?:?] at sun.reflect.GeneratedMethodAccessor450.invoke(Unknown Source) [?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.7.0_80] at java.lang.reflect.Method.invoke(Method.java:606) [?:1.7.0_80] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) [server.jar:git-Spigot-4c7d0c0-7d020a7] ... 25 more
@MLGeorge99712
No you can't with the current version. I'll take that into consideration.
Can You Summon Stuff With This {for example Lightning}?
Please Reply
@WolfChan
Why not you try to make Chinese enchantments in the config? It should be possible.
Oh god,I need an version for Chinese. :P
@MCer202
since 1.8's enchantment system is very different, no it does not support 1.8
Please reply thanks
@Triyon
Plz tell me this works for 1.8 - if it doesn't can u update it?!