Inactive [FUN] MagicSpells - Add magic to your server

Discussion in 'Inactive/Unsupported Plugins' started by nisovin, May 8, 2011.

  1. Offline

    nisovin

    MagicSpells - Add magic to your server!

    View the plugin on BukkitDev!

    MagicSpells is a plugin that creates spells your players can use. Its main purpose is to give your players access to certain abilities that you might not want to give them unlimited access to. Each spell can be assigned customized reagent (item) costs, cooldowns. durations, ranges, and so on. Spells can be cast by using the /cast command, swinging a wand, or both. It's all customizable.

    Download

    Important: Read before downloading! There is a lot of information in this post. I know, it's a lot to read. However, I spent quite a while writing it all in what I hope is a clear, informative, and understandable manner. So, please, read the entire post before asking a question. Chances are, the answer is already here. I also suggest taking a nice look through the configuration file. Is it a massive file? Yes, it is. But if your question is "can I do this?" then a look through the configuration options would be a good idea.
    Plugin Manual

    There is a lot of useful information in the plugin manual, which can be found here:

    MagicSpells Plugin Manual

    Usage

    Spells can be cast either by using the /cast command or by using a wand item. To cast a spell, a player must first know the spell. Server operators know all spells by default. They can teach spells to other players by using the teach spell. For example, to teach bob the blink spell, an operator would type: /cast teach bob blink.

    Bob can now use the blink spell. He can either cast it by command, by typing /cast blink, or he can cast it with a wand item. To select the spell, he holds the wand in his hand and right clicks. Right clicking will cycle through any spells assigned to the item he is holding. When he has the one he wants, he left clicks to cast.

    If Bob does not have the required reagents for the spell, or if he has cast it recently and it is still on cooldown, he will not be able to cast the spell and will instead receive an error message.

    If mana is enabled, a player can use the /mana command to see how much mana they currently have.

    Spells

    View Spell List

    Configuration

    The zip file contains a config.yml file that should go into the MagicSpells folder within your plugins directory. The default configuration has appropriate spell costs, durations, and messages for each spell. However, you will most likely want to customize this to fit your server.

    You can modify the config.yml file directly, or you can choose to leave it intact and instead create an alternate config file, by default altConfig.yml. Any configuration values in this alternate file will override the values in the main config file.

    There are some general configuration options that apply to all spells, as well as options for each individual spell. Important: The default configuration file does NOT contain all config options, it is just an example. Just because a config option isn't in the default doesn't mean it is not available. For example, it's possible to add a duration to any buff spell, even though the default configuration file does not have a duration on all buff spells.

    To reload the configuration, simply cast the fake reload spell (/cast reload). Only server operators can do this (it can also be done from the command line).

    Please see the plugin manual for information about all of the various configuration options.

    Frequently Asked Questions

    Help me! Why isn't it working?
    If - after reading through this entire post - you can't figure out why it isn't working, please take the time to submit a proper help request. You can post your request either on in this thread or in the MagicSpells forum. You should provide the following information:
    • The CraftBukkit build you're using.
    • The MagicSpells version you're using.
    • Which permissions plugin (if any) you are using.
    • The error in the console, if there is one.
    • Your config file(s). Please don't post them directly , use a service like http://pastebin.com and just post the link.
    It says I need reagents whenever I cast a spell! Where do I get reagents?
    One of the main ideas behind this plugin is to give players cool abilities, but with a cost. The reagents are the spell's cost. This can be configured in the config.yml file individually for every spell. The config option name is "cost". You can also add your name to the list of exceptions in the general.cast-for-free option.

    Can I unbind spells from items?
    Yes. Simply use the bind spell to bind the spell to your empty hand, and it will no longer be bound to any item.

    Why can't my players cast spells?
    Why does it say "You cannot cast that spell right now" when I try to cast any spell?
    If you're using Permissions, please make sure your permissions are all set up correctly. Look in the Configuration: Permissions section for more information. Also double check and make sure your use-permissions config option is set to true.

    What are the Permissions nodes?
    The nodes are listed on the permissions information page in the plugin manual.

    I can't get my Permissions working! Can you help me?
    Remember that all nodes use the "real" spell name, rather than the name you define with the "name" option. If you cannot get your permissions working, feel free to ask for help. Make sure you specify which permissions plugin you are using, and all of the items from the "Help Me!" question above.

    Will you add iConomy (or another economy plugin) support?
    With the addition of the 'tome' and 'scroll' spells, I currently have no plans to add special support for an economy plugin. You should be able to create tomes and scrolls and sell them using any plugin that allows you to sell items, thus allowing you to sell spells.

    I have a great spell idea! Will you add it?
    Please tell me about it by submitting a ticket! I can't guarantee that I'll make it, but if it's a feasible idea, I'll definitely consider it. I'm always looking for new spell ideas. Note that I may not respond directly to your idea, but I always read the suggestions.

    I've found a bug! What do I do?
    Please submit a ticket! Please include your CraftBukkit build number, any error in the console, the situation that caused the error (if known), and if you think it's applicable, the list of plugins you use.

    Change Log

    View full change log



    Donate: Always gotta have a donate link for those who love their plugin authors.
     
  2. Offline

    nisovin

    You need to use a book that's already been created with the BookWorm plugin.
    Yes. Read the first post.
    You need to use the base spell name when creating spell copies, not the redefined name. For example, use blink2=blink, instead of blink2=blink1.
     
  3. Sorry about that.
    After reading more I found it was the can-cast-with-wand thing in the config.

    Code:
        fireball:
            name: fireball
            description: Throw a fiery ball of destruction.
            cast-item: 280
            cooldown: 20
            range: 30
            additional-damage: 2
            no-fire: false
            cost:
                - 331 1
                - 263 1
            str-cost: 1 redstone dust and 1 coal
            str-no-target: You cannot throw a fireball there.
            str-cast-self: You throw a fiery ball of destruction!
            str-cast-others: "%a throws a fiery ball of destruction!"
    Can't use the stick (280) to cast it.
    Yes, I have reloaded and stuff.
     
  4. Offline

    nisovin

    That should work fine. When you right click does it not cycle? Have you used the bind spell to reassign the cast item?
     
  5. It cycles.
    The only way to get it to show up is to bind it, but I didn't need to bind it with the /cast bind spell for the other ones I added like that:S
     
  6. Offline

    bogigaba

    Ok thanks for answering my question and second whats the spell book file for?
     
  7. Offline

    MrFahrenheit

    Awesome plugin
     
  8. Offline

    Chuckster

    Amazing plugin but since you added forcepush why not add force pull
     
  9. You could create scrools. When you have paper you could be able to give it names (like in BookWorm plugin) and assing a spells to be able to us for exact amount times. For example you can create then a scroll: Fireball, where you can cast fireball 5 times without any consumtion items.

    It would be gr8 in any PVP Arena or MobArena where you can define what items got each class on start. Then we could create mages with some amount of scrolls (healers, buffers, wizards etc) at beggining, they will have to manage amount of casted spells for full fight.

    I figured out somehow how to create class with some unique item. As on my serwer mobs dont spawn everywhere, just on dungeons and on arena, then I could set music green disc as unique item, that is only during mobarena avaliable. When player comes to mobarena he gets items for class he chose. If he chose wizard he get 2257 item and he can be using it as a wand, to cast spells assigned to this item. Just problem is there is some kind of conflict. When player from default permission group joins mobarena and he chose wizard class he cant cast. It says "You cant cast this spell right now" While if i join mobarena with admin account i can cast all spells. How to fix it, wich perms are blocking it? Any damage permissions or sth .. ? Why magickspells are avaliable everywhere (with magickspells.use.*) except mobarena ? Its hot issue, I would really be glad of any help.
     
  10. Offline

    MrFahrenheit

    I have a question for you. Is it possible to have multiple "versions" of the same spell? For example,

    That is the spell firenova in the config file. Would I be able to add another firenova to the cfg with the following:

     
  11. Offline

    nisovin

    Yes. Look at the "Configuration: Spell Copies" section. Although I don't recommend a range of 100 for that spell, that's a big fire nova.
    Scrolls will be in the next version. You seem to be missing magicspells.cast.* for the players.
     
  12. Offline

    MrFahrenheit

    Thanks for the reply. :)
     
  13. Offline

    LEot128

    How exactly does the External Spell work? Does it allow people to write their own code to create their own magic spells that can be integrated into your Magicspells plugin?
     
  14. Offline

    thehutch

    I'm trying to use the gianttree spell and its doing nothing? How exactly does it work I type /cast gianttree and it say you have planted a tree but nothing appears. Please help.

    Thank you
     
  15. Offline

    nisovin

    The external spell allows you to create a spell from a command provided by another plugin. It's nothing more or nothing less. It basically allows you to attach a cooldown and reagent cost to another plugin's command. The example provided is from the Giant Trees plugin.
     
  16. Offline

    EdvinL

    Nice plugin! Love it!
     
  17. Offline

    LEot128

    I'm trying to write a new .java file to work with this plugin. My current plan is to create a spell called "Dragonskin." I intend to modify the gills spell, so that it puts netherrack on the players head (I'm able to do that already). It also implements the segment of the invulnerability spell which negates damage to fire and lava. I am having a hard time configuring the .java file to work with the other spells however. My current problem is with the config.yml file. I would like to add a new segment to apply to my Dragonskin spell. However I don't think its as easy as merely adding the text.

    I'm not sure how to edit the config.txt file, or perhaps the Spells.java and/or the InstantSpells.java files are causing my problems? Please let me know what you think.

    Thanks,
    -LEot128
     
  18. Request:
    A command that only reloads the books.txt file. (and thus does not interrupt running spells such as Lightwalk, SV)
     
  19. Offline

    sole10

    Maybe you should ad something like teloporting player to you when you are aiming at him or something like that :):):):):):)
    BTW: nice plugin [diamond][diamond] [diamond][diamond] [diamond][diamond] [diamond][diamond] [diamond][diamond]
     
  20. When I startup the server I got unacceptable character #FFFD in "<reader>" , position 106.
    My question is whats #FFFD is and where can i found "<reader>"?
     
  21. Great job with this plugin! Its alot of fun!

    I had three spell ideas for ya:
    I don't know if these are at all possible, but I hope you like them!

    Corrupt Livestock:
    Description: Transforms any animals near your selected block, into hostile npcs (Zombies, Skeletons, etc).
    Cost: 3 redstone, 1 milk, 1 raw fish.
    Cooldown: 3mins

    Frenzy:
    Description: Attracts all hostile npcs in an area to your targetted entity.
    Cost: 2 redstone, 1 raw pork, 2 bones.
    Cooldown: 2mins

    Steal Redstone:
    Description: At the cost of health, you steal a random amount of redstone from your targetted entity.
    Cost: 4 hearts, for 3-15 redstone from target.
    Cooldown: 60 seconds.
     
  22. Offline

    nisovin

    Version 1.0 is released! There are many new spells and features. I have implemented the new permissions system, though the old Permissions plugin support will remain for now. As always, I've put a lot of effort into testing, but there's only so much I can do on my own, so let me know if you find any bugs.
    Request granted! You can now do /cast spellbook reload, from in game or from the command line.
    I'll add it to the list.
    This is caused by an invalid character in the config file.
    I've now added support for custom spells. I'll write up a proper guide for this eventually, but for now, there are a few things to keep in mind:
    1. Add MagicSpells and Bukkit to your class path
    2. Extend one of the spell types (InstantSpell, BuffSpell, etc)
    3. Use the default package (I know, bad style, but it's easier this way)
    4. Put your compiled .class file in the MagicSpells folder
    If you do that, your spell should load up. Set the debug option in the config file to true to see if it's actually loading or not.
     
  23. Two exceptions so far in 1.0

    Code:
    20:39:59 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'cast' in plugin MagicSpells v1.0
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
            at org.bukkit.craftbukkit.entity.CraftPlayer.chat(CraftPlayer.java:148)
            at com.laytonsmith.aliasengine.AliasCore$1.done(AliasCore.java:92)
            at com.laytonsmith.aliasengine.Script.run(Script.java:99)
            at com.laytonsmith.aliasengine.AliasCore.alias(AliasCore.java:83)
            at com.sk89q.commandhelper.CommandHelperListener.runAlias(CommandHelperListener.java:88)
            at com.sk89q.commandhelper.CommandHelperListener.onPlayerCommandPreprocess(CommandHelperListener.java:132)
            at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:272)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:706)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
            at com.nisovin.MagicSpells.NoMagicZone.inZone(NoMagicZone.java:58)
            at com.nisovin.MagicSpells.NoMagicZoneManager.inNoMagicZone(NoMagicZoneManager.java:51)
            at com.nisovin.MagicSpells.NoMagicZoneManager.inNoMagicZone(NoMagicZoneManager.java:46)
            at com.nisovin.MagicSpells.Spell.cast(Spell.java:105)
            at com.nisovin.MagicSpells.MagicSpells.onCommand(MagicSpells.java:482)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 23 more
    
    And

    Code:
    java.lang.NullPointerException
            at com.nisovin.MagicSpells.NoMagicZone.inZone(NoMagicZone.java:58)
            at com.nisovin.MagicSpells.NoMagicZoneManager.inNoMagicZone(NoMagicZoneManager.java:51)
            at com.nisovin.MagicSpells.NoMagicZoneManager.inNoMagicZone(NoMagicZoneManager.java:46)
            at com.nisovin.MagicSpells.Spell.cast(Spell.java:105)
            at com.nisovin.MagicSpells.Spell.cast(Spell.java:97)
            at com.nisovin.MagicSpells.MagicPlayerListener.onPlayerAnimation(MagicPlayerListener.java:136)
            at org.bukkit.plugin.java.JavaPluginLoader$15.execute(JavaPluginLoader.java:342)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:787)
            at net.minecraft.server.Packet18ArmAnimation.a(SourceFile:35)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    Ok, I think it only errored while I had set the anti-magic zone to a non-existing zone, so, not really a big bug :p
     
  24. I like the new update, scrolls especially. Would it be possible to make an option where you don't need the magicspells.cast permission when using scrolls? This way people who wouldn't normally be able to use a spell can use it x number of times if they find a scroll. Thanks.

    In case I wasn't clear I have two worlds on my server. In one most people know all the spells by now. In the other magic isn't allowed (no magicspells.cast.*) in this second world I would like to enable scrolls, but leave regular magic blocked. currently I can't figure a way to do this. Thanks again.
     
  25. Offline

    ryanjjjj

    this is an amazing plugin, i have been wanting to give my players access to special ability's with limits and this is just the ticket, a side from that i also love the completion to the combat triangle (melee, range, magic) and the fact that external plugin commands that can be tied to the mana system!

    great plugin, if there was any spells you should add it should be a movement spell that would increase player speed (costomizable of course) and perhaps an edition to the "fireball" spell that will stop it from causeing a giant hole lol
     
  26. Hello.
    I'm modifying your plugin for my server so it also contains iConomy for buyable spells.
    I'll send you the source when I finish it.
    If you're already planning on doing this, please tell me, as I then won't bother.
    EDIT:
    I see you are, but it's low on your priority list.
    I'll work on it.
     
  27. Offline

    D3C

    Hey, just an idea of another spell similar to Volley, instead of arrows launching from the player what if you make another spell that shoots (#) Amount of arrows from the sky towards the ground.
     
  28. Offline

    Zalastri

    Hey, just a suggestion, it would be really cool if you could take some of the abilities from this mod and makes Heroes skills out of them. You wouldnt need to worry about the permissions aspect of it or anything, just make cool new skills and people could plug them in to their Heroes as necessary. Geyser looks awesome! :]
     
  29. Offline

    ryanjjjj

    i just use the bookworm plugin and the "tomb" feature so players can buy from a chestshop, quick work around for now but message me when you finish. sounds interesting :p
     
  30. Offline

    GarretSidzaka

    about a hundred thousand lines of this my friend:
    Code:
    2011-07-22 15:57:34 [INFO] [PLAYER_COMMAND] DrPiggy123: [B]/powertool cast drainlife [/B]
    2011-07-22 15:57:35 [INFO] <Swaggin lucamole> i think i know where they live
    2011-07-22 15:57:35 [INFO] FactionChat Navy: Airship Pilot Cabooseics is it cool
    2011-07-22 15:57:36 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-07-22 15:57:38 [INFO] /74.107.67.141:49848 lost connection
    2011-07-22 15:57:38 [SEVERE] NC: Moving summary of last ~25 seconds: troller420 total Violations: (5,18,4)
    2011-07-22 15:57:38 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-07-22 15:57:40 [INFO] [PLAYER_COMMAND] Amaguk: /list  
    2011-07-22 15:57:42 [INFO] <*Demonic COLD_MURD3R3R> why are we enemies with judas?
    2011-07-22 15:57:43 [INFO] <***NavySeals ultimateb4> pingy when u come u fight
    2011-07-22 15:57:43 [SEVERE] Could not pass event ENTITY_DAMAGE to Essentials
    org.bukkit.command.CommandException: Unhandled exception executing command 'cast' in plugin MagicSpells v1.0
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at com.earth2me.essentials.EssentialsEntityListener.onEntityDamage(EssentialsEntityListener.java:41)
        at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at com.nisovin.MagicSpells.Spells.DrainlifeSpell.castSpell(DrainlifeSpell.java:52)
        at com.nisovin.MagicSpells.Spell.cast(Spell.java:115)
        at com.nisovin.MagicSpells.MagicSpells.onCommand(MagicSpells.java:482)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at com.earth2me.essentials.EssentialsEntityListener.onEntityDamage(EssentialsEntityListener.java:41)
        at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at com.nisovin.MagicSpells.Spells.DrainlifeSpell.castSpell(DrainlifeSpell.java:52)
        at com.nisovin.MagicSpells.Spell.cast(Spell.java:115)
        at com.nisovin.MagicSpells.MagicSpells.onCommand(MagicSpells.java:482)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at com.earth2me.essentials.EssentialsEntityListener.onEntityDamage(EssentialsEntityListener.java:41)
        at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at com.nisovin.MagicSpells.Spells.DrainlifeSpell.castSpell(DrainlifeSpell.java:52)
        at com.nisovin.MagicSpells.Spell.cast(Spell.java:115)
        at com.nisovin.MagicSpells.MagicSpells.onCommand(MagicSpells.java:482)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at com.earth2me.essentials.EssentialsEntityListener.onEntityDamage(EssentialsEntityListener.java:41)
        at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at com.nisovin.MagicSpells.Spells.DrainlifeSpell.castSpell(DrainlifeSpell.java:52)
        at com.nisovin.MagicSpells.Spell.cast(Spell.java:115)
        at com.nisovin.MagicSpells.MagicSpells.onCommand(MagicSpells.java:482)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at com.earth2me.essentials.EssentialsEntityListener.onEntityDamage(EssentialsEntityListener.java:41)
        at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at com.nisovin.MagicSpells.Spells.DrainlifeSpell.castSpell(DrainlifeSpell.java:52)
        at com.nisovin.MagicSpells.Spell.cast(Spell.java:115)
        at com.nisovin.MagicSpells.MagicSpells.onCommand(MagicSpells.java:482)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at com.earth2me.essentials.EssentialsEntityListener.onEntityDamage(EssentialsEntityListener.java:41)
        at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at com.nisovin.MagicSpells.Spells.DrainlifeSpell.castSpell(DrainlifeSpell.java:52)
        at com.nisovin.MagicSpells.Spell.cast(Spell.java:115)
        at com.nisovin.MagicSpells.MagicSpells.onCommand(MagicSpells.java:482)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at com.earth2me.essentials.EssentialsEntityListener.onEntityDamage(EssentialsEntityListener.java:41)
        at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at com.nisovin.MagicSpells.Spells.DrainlifeSpell.castSpell(DrainlifeSpell.java:52)
        at com.nisovin.MagicSpells.Spell.cast(Spell.java:115)
        at com.nisovin.MagicSpells.MagicSpells.onCommand(MagicSpells.java:482)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at com.earth2me.essentials.EssentialsEntityListener.onEntityDamage(EssentialsEntityListener.java:41)
        at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at com.nisovin.MagicSpells.Spells.DrainlifeSpell.castSpell(DrainlifeSpell.java:52)
        at com.nisovin.MagicSpells.Spell.cast(Spell.java:115)
        at com.nisovin.MagicSpells.MagicSpells.onCommand(MagicSpells.java:482)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at com.earth2me.essentials.EssentialsEntityListener.onEntityDamage(EssentialsEntityListener.java:41)
        at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at com.nisovin.MagicSpells.Spells.DrainlifeSpell.castSpell(DrainlifeSpell.java:52)
        at com.nisovin.MagicSpells.Spell.cast(Spell.java:115)
        at com.nisovin.MagicSpells.MagicSpells.onCommand(MagicSpells.java:482)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at com.earth2me.essentials.EssentialsEntityListener.onEntityDamage(EssentialsEntityListener.java:41)
        at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at com.nisovin.MagicSpells.Spells.DrainlifeSpell.castSpell(DrainlifeSpell.java:52)
        at com.nisovin.MagicSpells.Spell.cast(Spell.java:115)
        at com.nisovin.MagicSpells.MagicSpells.onCommand(MagicSpells.java:482)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at com.earth2me.essentials.EssentialsEntityListener.onEntityDamage(EssentialsEntityListener.java:41)
        at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at com.nisovin.MagicSpells.Spells.DrainlifeSpell.castSpell(DrainlifeSpell.java:52)
        at com.nisovin.MagicSpells.Spell.cast(Spell.java:115)
        at com.nisovin.MagicSpells.MagicSpells.onCommand(MagicSpells.java:482)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at com.earth2me.essentials.EssentialsEntityListener.onEntityDamage(EssentialsEntityListener.java:41)
        at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at com.nisovin.MagicSpells.Spells.DrainlifeSpell.castSpell(DrainlifeSpell.java:52)
        at com.nisovin.MagicSpells.Spell.cast(Spell.java:115)
        at com.nisovin.MagicSpells.MagicSpells.onCommand(MagicSpells.java:482)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at com.earth2me.essentials.EssentialsEntityListener.onEntityDamage(EssentialsEntityListener.java:41)
        at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at com.nisovin.MagicSpells.Spells.DrainlifeSpell.castSpell(DrainlifeSpell.java:52)
        at com.nisovin.MagicSpells.Spell.cast(Spell.java:115)
        at com.nisovin.MagicSpells.MagicSpells.onCommand(MagicSpells.java:482)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at com.earth2me.essentials.EssentialsEntityListener.onEntityDamage(EssentialsEntityListener.java:41)
        at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at com.nisovin.MagicSpells.Spells.DrainlifeSpell.castSpell(DrainlifeSpell.java:52)
        at com.nisovin.MagicSpells.Spell.cast(Spell.java:115)
        at com.nisovin.MagicSpells.MagicSpells.onCommand(MagicSpells.java:482)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at com.earth2me.essentials.EssentialsEntityListener.onEntityDamage(EssentialsEntityListener.java:41)
        at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at com.nisovin.MagicSpells.Spells.DrainlifeSpell.castSpell(DrainlifeSpell.java:52)
        at com.nisovin.MagicSpells.Spell.cast(Spell.java:115)
        at com.nisovin.MagicSpells.MagicSpells.onCommand(MagicSpells.java:482)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at com.earth2me.essentials.EssentialsEntityListener.onEntityDamage(EssentialsEntityListener.java:41)
        at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at com.nisovin.MagicSpells.Spells.DrainlifeSpell.castSpell(DrainlifeSpell.java:52)
        at com.nisovin.MagicSpells.Spell.cast(Spell.java:115)
        at com.nisovin.MagicSpells.MagicSpells.onCommand(MagicSpells.java:482)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at com.earth2me.essentials.EssentialsEntityListener.onEntityDamage(EssentialsEntityListener.java:41)
        at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at com.nisovin.MagicSpells.Spells.DrainlifeSpell.castSpell(DrainlifeSpell.java:52)
        at com.nisovin.MagicSpells.Spell.cast(Spell.java:115)
        at com.nisovin.MagicSpells.MagicSpells.onCommand(MagicSpells.java:482)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at com.earth2me.essentials.EssentialsEntityListener.onEntityDamage(EssentialsEntityListener.java:41)
        at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at com.nisovin.MagicSpells.Spells.DrainlifeSpell.castSpell(DrainlifeSpell.java:52)
        at com.nisovin.MagicSpells.Spell.cast(Spell.java:115)
        at com.nisovin.MagicSpells.MagicSpells.onCommand(MagicSpells.java:482)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at com.earth2me.essentials.EssentialsEntityListener.onEntityDamage(EssentialsEntityListener.java:41)
        at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at com.nisovin.MagicSpells.Spells.DrainlifeSpell.castSpell(DrainlifeSpell.java:52)
        at com.nisovin.MagicSpells.Spell.cast(Spell.java:115)
        at com.nisovin.MagicSpells.MagicSpells.onCommand(MagicSpells.java:482)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at com.earth2me.essentials.EssentialsEntityListener.onEntityDamage(EssentialsEntityListener.java:41)
        at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at com.nisovin.MagicSpells.Spells.DrainlifeSpell.castSpell(DrainlifeSpell.java:52)
        at com.nisovin.MagicSpells.Spell.cast(Spell.java:115)
        at com.nisovin.MagicSpells.MagicSpells.onCommand(MagicSpells.java:482)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at com.earth2me.essentials.EssentialsEntityListener.onEntityDamage(EssentialsEntityListener.java:41)
        at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at com.nisovin.MagicSpells.Spells.DrainlifeSpell.castSpell(DrainlifeSpell.java:52)
        at com.nisovin.MagicSpells.Spell.cast(Spell.java:115)
        at com.nisovin.MagicSpells.MagicSpells.onCommand(MagicSpells.java:482)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at com.earth2me.essentials.EssentialsEntityListener.onEntityDamage(EssentialsEntityListener.java:41)
        at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at com.nisovin.MagicSpells.Spells.DrainlifeSpell.castSpell(DrainlifeSpell.java:52)
        at com.nisovin.MagicSpells.Spell.cast(Spell.java:115)
        at com.nisovin.MagicSpells.MagicSpells.onCommand(MagicSpells.java:482)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at com.earth2me.essentials.EssentialsEntityListener.onEntityDamage(EssentialsEntityListener.java:41)
        at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at com.nisovin.MagicSpells.Spells.DrainlifeSpell.castSpell(DrainlifeSpell.java:52)
        at com.nisovin.MagicSpells.Spell.cast(Spell.java:115)
        at com.nisovin.MagicSpells.MagicSpells.onCommand(MagicSpells.java:482)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at com.earth2me.essentials.EssentialsEntityListener.onEntityDamage(EssentialsEntityListener.java:41)
        at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at com.nisovin.MagicSpells.Spells.DrainlifeSpell.castSpell(DrainlifeSpell.java:52)
        at com.nisovin.MagicSpells.Spell.cast(Spell.java:115)
        at com.nisovin.MagicSpells.MagicSpells.onCommand(MagicSpells.java:482)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at com.earth2me.essentials.EssentialsEntityListener.onEntityDamage(EssentialsEntityListener.java:41)
        at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at com.nisovin.MagicSpells.Spells.DrainlifeSpell.castSpell(DrainlifeSpell.java:52)
        at com.nisovin.MagicSpells.Spell.cast(Spell.java:115)
        at com.nisovin.MagicSpells.MagicSpells.onCommand(MagicSpells.java:482)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at com.earth2me.essentials.EssentialsEntityListener.onEntityDamage(EssentialsEntityListener.java:41)
        at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at com.nisovin.MagicSpells.Spells.DrainlifeSpell.castSpell(DrainlifeSpell.java:52)
        at com.nisovin.MagicSpells.Spell.cast(Spell.java:115)
        at com.nisovin.MagicSpells.MagicSpells.onCommand(MagicSpells.java:482)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at com.earth2me.essentials.EssentialsEntityListener.onEntityDamage(EssentialsEntityListener.java:41)
        at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at com.nisovin.MagicSpells.Spells.DrainlifeSpell.castSpell(DrainlifeSpell.java:52)
        at com.nisovin.MagicSpells.Spell.cast(Spell.java:115)
        at com.nisovin.MagicSpells.MagicSpells.onCommand(MagicSpells.java:482)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at com.earth2me.essentials.EssentialsEntityListener.onEntityDamage(EssentialsEntityListener.java:41)
        at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at com.nisovin.MagicSpells.Spells.DrainlifeSpell.castSpell(DrainlifeSpell.java:52)
        at com.nisovin.MagicSpells.Spell.cast(Spell.java:115)
        at com.nisovin.MagicSpells.MagicSpells.onCommand(MagicSpells.java:482)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at com.earth2me.essentials.EssentialsEntityListener.onEntityDamage(EssentialsEntityListener.java:41)
        at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at com.nisovin.MagicSpells.Spells.DrainlifeSpell.castSpell(DrainlifeSpell.java:52)
        at com.nisovin.MagicSpells.Spell.cast(Spell.java:115)
        at com.nisovin.MagicSpells.MagicSpells.onCommand(MagicSpells.java:482)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at com.earth2me.essentials.EssentialsEntityListener.onEntityDamage(EssentialsEntityListener.java:41)
        at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at com.nisovin.MagicSpells.Spells.DrainlifeSpell.castSpell(DrainlifeSpell.java:52)
        at com.nisovin.MagicSpells.Spell.cast(Spell.java:115)
        at com.nisovin.MagicSpells.MagicSpells.onCommand(MagicSpells.java:482)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at com.earth2me.essentials.EssentialsEntityListener.onEntityDamage(EssentialsEntityListener.java:41)
        at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at com.nisovin.MagicSpells.Spells.DrainlifeSpell.castSpell(DrainlifeSpell.java:52)
        at com.nisovin.MagicSpells.Spell.cast(Spell.java:115)
        at com.nisovin.MagicSpells.MagicSpells.onCommand(MagicSpells.java:482)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at com.earth2me.essentials.EssentialsEntityListener.onEntityDamage(EssentialsEntityListener.java:41)
        at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.java:649)
       
      
        andso on
    
     
  31. Offline

    nisovin

    This looks like your own fault, my friend. Do you have Essentials set up to cast a spell or something? Some kind of power tool? I don't really know Essentials at all. You've created some kind of infinite loop between this plugin and Essentials.

    Yeah, my thought is that between tome and scroll you should be able to sell spells easily without direct support from the plugin.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 16, 2016

Share This Page