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

    shanko

    Code:
    07.01 04:50:44 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    07.01 04:50:44 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    07.01 04:50:44 [Server] INFO     at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:518)
    07.01 04:50:44 [Server] INFO     at net.minecraft.server.World.tickEntities(World.java:1142)
    07.01 04:50:44 [Server] INFO     at net.minecraft.server.World.playerJoinedWorld(World.java:1235)
    07.01 04:50:44 [Server] INFO     at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:107)
    07.01 04:50:44 [Server] INFO     at net.minecraft.server.World.entityJoinedWorld(World.java:1253)
    07.01 04:50:44 [Server] INFO     at net.minecraft.server.EntityFireball.w_(EntityFireball.java:131)
    07.01 04:50:44 [Server] INFO     at net.minecraft.server.EntityFireball.a(EntityFireball.java:213)
    07.01 04:50:44 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    07.01 04:50:44 [Server] INFO     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    07.01 04:50:44 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader$68.execute(JavaPluginLoader.java:739)
    07.01 04:50:44 [Server] INFO     at com.nisovin.magicspells.MagicEntityListener.onExplosionPrime(MagicEntityListener.java:56)
    07.01 04:50:44 [Server] INFO     at com.nisovin.magicspells.spells.instant.FireballSpell.onExplosionPrime(FireballSpell.java:125)
    07.01 04:50:44 [Server] INFO java.lang.NoClassDefFoundError: com/nisovin/magicspells/spells/instant/FireballSpell$1
    07.01 04:50:44 [Server] SEVERE Could not pass event EXPLOSION_PRIME to MagicSpells
    07.01 04:50:40 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    07.01 04:50:40 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    07.01 04:50:40 [Server] INFO     at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:518)
    07.01 04:50:40 [Server] INFO     at net.minecraft.server.World.tickEntities(World.java:1142)
    07.01 04:50:40 [Server] INFO     at net.minecraft.server.World.playerJoinedWorld(World.java:1235)
    07.01 04:50:40 [Server] INFO     at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:107)
    07.01 04:50:40 [Server] INFO     at net.minecraft.server.World.entityJoinedWorld(World.java:1253)
    07.01 04:50:40 [Server] INFO     at net.minecraft.server.EntityFireball.w_(EntityFireball.java:131)
    07.01 04:50:40 [Server] INFO     at net.minecraft.server.EntityFireball.a(EntityFireball.java:213)
    07.01 04:50:40 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    07.01 04:50:40 [Server] INFO     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    07.01 04:50:40 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader$68.execute(JavaPluginLoader.java:739)
    07.01 04:50:40 [Server] INFO     at com.nisovin.magicspells.MagicEntityListener.onExplosionPrime(MagicEntityListener.java:56)
    07.01 04:50:40 [Server] INFO     at com.nisovin.magicspells.spells.instant.FireballSpell.onExplosionPrime(FireballSpell.java:125)
    07.01 04:50:40 [Server] INFO java.lang.NoClassDefFoundError: com/nisovin/magicspells/spells/instant/FireballSpell$1
    07.01 04:50:40 [Server] SEVERE Could not pass event EXPLOSION_PRIME to MagicSpells
    07.01 04:50:37 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    07.01 04:50:37 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    07.01 04:50:37 [Server] INFO     at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:518)
    07.01 04:50:37 [Server] INFO     at net.minecraft.server.World.tickEntities(World.java:1142)
    07.01 04:50:37 [Server] INFO     at net.minecraft.server.World.playerJoinedWorld(World.java:1235)
    07.01 04:50:37 [Server] INFO     at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:107)
    07.01 04:50:37 [Server] INFO     at net.minecraft.server.World.entityJoinedWorld(World.java:1253)
    07.01 04:50:37 [Server] INFO     at net.minecraft.server.EntityFireball.w_(EntityFireball.java:131)
    07.01 04:50:37 [Server] INFO     at net.minecraft.server.EntityFireball.a(EntityFireball.java:213)
    07.01 04:50:37 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    07.01 04:50:37 [Server] INFO     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    07.01 04:50:37 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader$68.execute(JavaPluginLoader.java:739)
    07.01 04:50:37 [Server] INFO     at com.nisovin.magicspells.MagicEntityListener.onExplosionPrime(MagicEntityListener.java:56)
    07.01 04:50:37 [Server] INFO     at com.nisovin.magicspells.spells.instant.FireballSpell.onExplosionPrime(FireballSpell.java:125)
    07.01 04:50:37 [Server] INFO java.lang.NoClassDefFoundError: com/nisovin/magicspells/spells/instant/FireballSpell$1
    07.01 04:50:37 [Server] SEVERE Could not pass event EXPLOSION_PRIME to MagicSpells
    07.01 04:50:34 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    07.01 04:50:34 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    07.01 04:50:34 [Server] INFO     at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:518)
    07.01 04:50:34 [Server] INFO     at net.minecraft.server.World.tickEntities(World.java:1142)
    07.01 04:50:34 [Server] INFO     at net.minecraft.server.World.playerJoinedWorld(World.java:1235)
    07.01 04:50:34 [Server] INFO     at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:107)
    07.01 04:50:34 [Server] INFO     at net.minecraft.server.World.entityJoinedWorld(World.java:1253)
    07.01 04:50:34 [Server] INFO     at net.minecraft.server.EntityFireball.w_(EntityFireball.java:131)
    07.01 04:50:34 [Server] INFO     at net.minecraft.server.EntityFireball.a(EntityFireball.java:213)
    07.01 04:50:34 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    07.01 04:50:34 [Server] INFO     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    07.01 04:50:34 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader$68.execute(JavaPluginLoader.java:739)
    07.01 04:50:34 [Server] INFO     at com.nisovin.magicspells.MagicEntityListener.onExplosionPrime(MagicEntityListener.java:56)
    07.01 04:50:34 [Server] INFO     at com.nisovin.magicspells.spells.instant.FireballSpell.onExplosionPrime(FireballSpell.java:125)
    07.01 04:50:34 [Server] INFO java.lang.NoClassDefFoundError: com/nisovin/magicspells/spells/instant/FireballSpell$1
    07.01 04:50:34 [Server] SEVERE Could not pass event EXPLOSION_PRIME to MagicSpells
    07.01 04:50:32 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    07.01 04:50:32 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    07.01 04:50:32 [Server] INFO     at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:518)
    07.01 04:50:32 [Server] INFO     at net.minecraft.server.World.tickEntities(World.java:1142)
    07.01 04:50:32 [Server] INFO     at net.minecraft.server.World.playerJoinedWorld(World.java:1235)
    07.01 04:50:32 [Server] INFO     at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:107)
    07.01 04:50:32 [Server] INFO     at net.minecraft.server.World.entityJoinedWorld(World.java:1253)
    07.01 04:50:32 [Server] INFO     at net.minecraft.server.EntityFireball.w_(EntityFireball.java:131)
    07.01 04:50:32 [Server] INFO     at net.minecraft.server.EntityFireball.a(EntityFireball.java:213)
    07.01 04:50:32 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    07.01 04:50:32 [Server] INFO     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    07.01 04:50:32 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader$68.execute(JavaPluginLoader.java:739)
    07.01 04:50:32 [Server] INFO     at com.nisovin.magicspells.MagicEntityListener.onExplosionPrime(MagicEntityListener.java:56)
    07.01 04:50:32 [Server] INFO     at com.nisovin.magicspells.spells.instant.FireballSpell.onExplosionPrime(FireballSpell.java:125)
    07.01 04:50:32 [Server] INFO java.lang.NoClassDefFoundError: com/nisovin/magicspells/spells/instant/FireballSpell$1
    07.01 04:50:32 [Server] SEVERE Could not pass event EXPLOSION_PRIME to MagicSpells
    i think this may have something to do with TNT + fireballs?

    edit: seems to be happening when you fire a fireball at TNT

    doubleedit: or just shooting them in general lol

    tripleedit + notice: I am just now loading up 2.1.1, not sure if any of this was fixed by then

    new one in 2.1.1:
    Code:
    07.01 05:18:18 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    07.01 05:18:18 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    07.01 05:18:18 [Server] INFO     at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:518)
    07.01 05:18:18 [Server] INFO     at net.minecraft.server.World.tickEntities(World.java:1142)
    07.01 05:18:18 [Server] INFO     at net.minecraft.server.World.playerJoinedWorld(World.java:1235)
    07.01 05:18:18 [Server] INFO     at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:107)
    07.01 05:18:18 [Server] INFO     at net.minecraft.server.World.entityJoinedWorld(World.java:1253)
    07.01 05:18:18 [Server] INFO     at net.minecraft.server.EntityGhast.w_(EntityGhast.java:50)
    07.01 05:18:18 [Server] INFO     at net.minecraft.server.EntityLiving.w_(EntityLiving.java:297)
    07.01 05:18:18 [Server] INFO     at net.minecraft.server.EntityLiving.d(EntityLiving.java:887)
    07.01 05:18:18 [Server] INFO     at net.minecraft.server.EntityGhast.m_(EntityGhast.java:107)
    07.01 05:18:18 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    07.01 05:18:18 [Server] INFO     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    07.01 05:18:18 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader$69.execute(JavaPluginLoader.java:746)
    07.01 05:18:18 [Server] INFO     at com.nisovin.magicspells.MagicEntityListener.onEntityTarget(MagicEntityListener.java:44)
    07.01 05:18:18 [Server] INFO     at com.nisovin.magicspells.spells.buff.MinionSpell.onEntityTarget(MinionSpell.java:169)
    07.01 05:18:18 [Server] INFO java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftGhast cannot be cast to org.bukkit.craftbukkit.entity.CraftCreature
    07.01 05:18:18 [Server] SEVERE Could not pass event ENTITY_TARGET to MagicSpells
    07.01 05:18:18 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    07.01 05:18:18 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    07.01 05:18:18 [Server] INFO     at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:518)
    07.01 05:18:18 [Server] INFO     at net.minecraft.server.World.tickEntities(World.java:1142)
    07.01 05:18:18 [Server] INFO     at net.minecraft.server.World.playerJoinedWorld(World.java:1235)
    07.01 05:18:18 [Server] INFO     at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:107)
    07.01 05:18:18 [Server] INFO     at net.minecraft.server.World.entityJoinedWorld(World.java:1253)
    07.01 05:18:18 [Server] INFO     at net.minecraft.server.EntityGhast.w_(EntityGhast.java:50)
    07.01 05:18:18 [Server] INFO     at net.minecraft.server.EntityLiving.w_(EntityLiving.java:297)
    07.01 05:18:18 [Server] INFO     at net.minecraft.server.EntityLiving.d(EntityLiving.java:887)
    07.01 05:18:18 [Server] INFO     at net.minecraft.server.EntityGhast.m_(EntityGhast.java:107)
    07.01 05:18:18 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    07.01 05:18:18 [Server] INFO     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    07.01 05:18:18 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader$69.execute(JavaPluginLoader.java:746)
    07.01 05:18:18 [Server] INFO     at com.nisovin.magicspells.MagicEntityListener.onEntityTarget(MagicEntityListener.java:44)
    07.01 05:18:18 [Server] INFO     at com.nisovin.magicspells.spells.buff.MinionSpell.onEntityTarget(MinionSpell.java:169)
    07.01 05:18:18 [Server] INFO java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftGhast cannot be cast to org.bukkit.craftbukkit.entity.CraftCreature
    07.01 05:18:18 [Server] SEVERE Could not pass event ENTITY_TARGET to MagicSpells
    07.01 05:18:17 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    07.01 05:18:17 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    07.01 05:18:17 [Server] INFO     at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:518)
    07.01 05:18:17 [Server] INFO     at net.minecraft.server.World.tickEntities(World.java:1142)
    07.01 05:18:17 [Server] INFO     at net.minecraft.server.World.playerJoinedWorld(World.java:1235)
    07.01 05:18:17 [Server] INFO     at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:107)
    07.01 05:18:17 [Server] INFO     at net.minecraft.server.World.entityJoinedWorld(World.java:1253)
    07.01 05:18:17 [Server] INFO     at net.minecraft.server.EntityGhast.w_(EntityGhast.java:50)
    07.01 05:18:17 [Server] INFO     at net.minecraft.server.EntityLiving.w_(EntityLiving.java:297)
    07.01 05:18:17 [Server] INFO     at net.minecraft.server.EntityLiving.d(EntityLiving.java:887)
    07.01 05:18:17 [Server] INFO     at net.minecraft.server.EntityGhast.m_(EntityGhast.java:107)
    07.01 05:18:17 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    07.01 05:18:17 [Server] INFO     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    07.01 05:18:17 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader$69.execute(JavaPluginLoader.java:746)
    07.01 05:18:17 [Server] INFO     at com.nisovin.magicspells.MagicEntityListener.onEntityTarget(MagicEntityListener.java:44)
    07.01 05:18:17 [Server] INFO     at com.nisovin.magicspells.spells.buff.MinionSpell.onEntityTarget(MinionSpell.java:169)
    07.01 05:18:17 [Server] INFO java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftGhast cannot be cast to org.bukkit.craftbukkit.entity.CraftCreature
    07.01 05:18:17 [Server] SEVERE Could not pass event ENTITY_TARGET to MagicSpells
    07.01 05:18:17 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    07.01 05:18:17 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    07.01 05:18:17 [Server] INFO     at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:518)
    07.01 05:18:17 [Server] INFO     at net.minecraft.server.World.tickEntities(World.java:1142)
    07.01 05:18:17 [Server] INFO     at net.minecraft.server.World.playerJoinedWorld(World.java:1235)
    07.01 05:18:17 [Server] INFO     at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:107)
    07.01 05:18:17 [Server] INFO     at net.minecraft.server.World.entityJoinedWorld(World.java:1253)
    07.01 05:18:17 [Server] INFO     at net.minecraft.server.EntityGhast.w_(EntityGhast.java:50)
    07.01 05:18:17 [Server] INFO     at net.minecraft.server.EntityLiving.w_(EntityLiving.java:297)
    07.01 05:18:17 [Server] INFO     at net.minecraft.server.EntityLiving.d(EntityLiving.java:887)
    07.01 05:18:17 [Server] INFO     at net.minecraft.server.EntityGhast.m_(EntityGhast.java:107)
    07.01 05:18:17 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    07.01 05:18:17 [Server] INFO     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    07.01 05:18:17 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader$69.execute(JavaPluginLoader.java:746)
    07.01 05:18:17 [Server] INFO     at com.nisovin.magicspells.MagicEntityListener.onEntityTarget(MagicEntityListener.java:44)
    07.01 05:18:17 [Server] INFO     at com.nisovin.magicspells.spells.buff.MinionSpell.onEntityTarget(MinionSpell.java:169)
    07.01 05:18:17 [Server] INFO java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftGhast cannot be cast to org.bukkit.craftbukkit.entity.CraftCreature
    07.01 05:18:17 [Server] SEVERE Could not pass event ENTITY_TARGET to MagicSpells
    07.01 05:18:17 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    07.01 05:18:17 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    07.01 05:18:17 [Server] INFO     at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:518)
    07.01 05:18:17 [Server] INFO     at net.minecraft.server.World.tickEntities(World.java:1142)
    07.01 05:18:17 [Server] INFO     at net.minecraft.server.World.playerJoinedWorld(World.java:1235)
    07.01 05:18:17 [Server] INFO     at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:107)
    07.01 05:18:17 [Server] INFO     at net.minecraft.server.World.entityJoinedWorld(World.java:1253)
    07.01 05:18:17 [Server] INFO     at net.minecraft.server.EntityGhast.w_(EntityGhast.java:50)
    07.01 05:18:17 [Server] INFO     at net.minecraft.server.EntityLiving.w_(EntityLiving.java:297)
    07.01 05:18:17 [Server] INFO     at net.minecraft.server.EntityLiving.d(EntityLiving.java:887)
    07.01 05:18:17 [Server] INFO     at net.minecraft.server.EntityGhast.m_(EntityGhast.java:107)
    07.01 05:18:17 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    07.01 05:18:17 [Server] INFO     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    07.01 05:18:17 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader$69.execute(JavaPluginLoader.java:746)
    07.01 05:18:17 [Server] INFO     at com.nisovin.magicspells.MagicEntityListener.onEntityTarget(MagicEntityListener.java:44)
    07.01 05:18:17 [Server] INFO     at com.nisovin.magicspells.spells.buff.MinionSpell.onEntityTarget(MinionSpell.java:169)
    07.01 05:18:17 [Server] INFO java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftGhast cannot be cast to org.bukkit.craftbukkit.entity.CraftCreature
    07.01 05:18:17 [Server] SEVERE Could not pass event ENTITY_TARGET to MagicSpells
    another one: im sorry i feel like such a nuisance!! :[[
    Code:
    07.01 05:22:01 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    07.01 05:22:01 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    07.01 05:22:01 [Server] INFO     at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
    07.01 05:22:01 [Server] INFO     at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    07.01 05:22:01 [Server] INFO     at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:550)
    07.01 05:22:01 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
    07.01 05:22:01 [Server] INFO     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    07.01 05:22:01 [Server] INFO     at net.minecraft.server.Packet18ArmAnimation.a(SourceFile:38)
    07.01 05:22:01 [Server] INFO     at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:196)
    07.01 05:22:01 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:825)
    07.01 05:22:01 [Server] INFO     at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:149)
    07.01 05:22:01 [Server] INFO     at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:178)
    07.01 05:22:01 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    07.01 05:22:01 [Server] INFO     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    07.01 05:22:01 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:335)
    07.01 05:22:01 [Server] INFO     at com.nisovin.magicspells.MagicPlayerListener.onPlayerInteract(MagicPlayerListener.java:113)
    07.01 05:22:01 [Server] INFO     at com.nisovin.magicspells.MagicPlayerListener.castSpell(MagicPlayerListener.java:208)
    07.01 05:22:01 [Server] INFO     at com.nisovin.magicspells.Spell.cast(Spell.java:200)
    07.01 05:22:01 [Server] INFO     at com.nisovin.magicspells.Spell.cast(Spell.java:234)
    07.01 05:22:01 [Server] INFO     at com.nisovin.magicspells.spells.instant.DrainlifeSpell.castSpell(DrainlifeSpell.java:116)
    07.01 05:22:01 [Server] INFO     at com.nisovin.magicspells.spells.instant.DrainlifeSpell$DrainlifeAnimation.<init>(DrainlifeSpell.java:135)
    07.01 05:22:01 [Server] INFO     at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:135)
    07.01 05:22:01 [Server] INFO     at org.bukkit.util.BlockIterator.reverseFace(BlockIterator.java:180)
    07.01 05:22:01 [Server] INFO java.lang.NullPointerException
    07.01 05:22:01 [Server] SEVERE Could not pass event PLAYER_INTERACT to MagicSpells
     
  3. Offline

    Zooatooie

    how do i make the wall spell last forever?
     
  4. Offline

    charlie_boi

    I'm getting errors whenever I try to use a multispell, In console and ingame(internal error crap.) The spell works but i'd still like to know why i'm getting an error. Don't see how I am. Currently the only plugins in my test server are bPermissions and MagicSpells...i'm using the format listed in the example multispells config.
     
  5. Offline

    nisovin

    It would be much more helpful if you actually give me the error.
     
  6. Offline

    charlie_boi

  7. Offline

    fuzyfeet

    I've noticed that in the messages that are to be printed that you have some variables such as %a, %t %k. There is no explanation for these (here or the dev page) could you expand on these? Are there pronoun substitutions?
     
  8. Offline

    nisovin

    Well, %a is generally actor (caster) and %t is target. Any others you should be able to figure out based on the context they're used in.
     
  9. Offline

    Eros

    Is This updating for 1.1.0?
     
  10. Offline

    nisovin

    I'm pretty sure it should work fine already.
     
  11. Offline

    fuzyfeet

    Thanks, one more question: can those variables used in the external spells command?
     
  12. Offline

    lishid

  13. Offline

    nisovin

    Yes.
    Break in what way? Correct me if I'm wrong, but it seems the other way around to me. The obfuscation would break stonevision (or render it useless at least).
     
  14. Offline

    Eros

    I mean when bukkit updates will this too
     
  15. Offline

    lishid

    Well, the functionality of both plugins will be broken.
    For one, the ores that will be visible as shown by this plugin will not be the right ores (do a block update on everything instead of just stone->glass)
    For two, the edge of the visible area will be obfuscated, meaning you will see fake ores at the far edge.
    For three, when the spell expires, areas that had been explored with the spell will be un-obfuscated.
    (resending the chunks will re-obfuscate the area)
    (use this:
    Code:
                        ChunkCoordIntPair location = new ChunkCoordIntPair(i, j);
                        ((CraftPlayer) player).getHandle().chunkCoordIntPairQueue.add(location);
    to queue a chunk to send to player)
     
  16. Offline

    nisovin

    You already asked that, I already answered.
    I don't see how this would matter. That player walked through that area, so what does it matter if the ores he saw remain unobfuscated? Also, this would only matter if I do something about the previous problem. Otherwise the ores would remain obfuscated anyway, right?
     
  17. Offline

    lishid

    Well, someone could run around really quick (or even fly-hack/speed-hack if no server-side protection), without looking, then use x-ray after.
    The way to solve the second problem would be... just do a block update on the edge of the visible field.
     
  18. Offline

    nisovin

  19. Offline

    lishid

  20. Offline

    shanko

    hey with the new notifications for mana i had some set as 0 mana and it gave me the warning, is the proper way to not have a cost just to delete the cost field completely?
     
  21. Offline

    nisovin

    Yes, either remove it completely or use empty brackets, like cost: []
     
  22. Offline

    shanko

    I know its an RB but just letting you know on 1718 mana regeneration will randomly stop working

    Code:
    14.01 09:51:45 [Server] SEVERE    at java.util.TimerThread.run(Timer.java:505)
    14.01 09:51:45[Server] SEVERE    at java.util.TimerThread.mainLoop(Timer.java:555)
    14.01 09:51:45 [Server] SEVERE    at com.nisovin.magicspells.ManaBarManager$ManaBarRegenerator.run(ManaBarManager.java:103)
    14.01 09:51:45 [Server]SEVERE    at java.util.HashMap$KeyIterator.next(HashMap.java:841)
    14.01 09:51:45 [Server] SEVERE    at java.util.HashMap$HashIterator.nextEntry(HashMap.java:806)
    14.01 09:51:45 [Server] SEVERE java.util.ConcurrentModificationException
    14.01 09:51:45 [Server] SEVERE Exception in thread "Timer-4" 
     
  23. Offline

    shanko

    Hey nisovin, testing your newest build :D ill let you know if mana crashes again, i had a question though

    reload-granted-spells: false

    whats this mean on the list spell? And is there a proper way to add the "hidden spells" to
    the list spell?


    One more request: You should add an option on the help spell

    require-known-spell: true/false

    So they can "/c help" on a spell they havent learned yet, and perhaps add cooldown and mana cost string
    to what shows up when they use /c help

    edit: scratch that, i can use the cool %c symbols :p
     
  24. Offline

    drjumba

    what spells ar these guys talking about? are they talking about the spells that i know of like black magic spells or love spells. or there are spells in a programing language?

    am I missing something when i see people talking about spells here? what kind of spells are you talking about and are they used. are they also casted like our love spells or black magic spells

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

    Zombiemold

    nisovin

    I think the "search within a thread" feature is messed up here at bukkit forums (atleast for me) so I can't search if that has already been covered but..

    What are the best work arounds for NoCheat, and Leap/Haste spells?

    Users are reporting they rubber band, and teleport backwards at times when using the spells.
     
  26. Offline

    shanko

    Zombiemold, either disable the feature or make the threshhold really high (making it useless anyway)

    is nobody else having problems with the latest version breaking the server?

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

    nisovin

  28. Offline

    shanko

    crossing my finger :p

    Thanks!

    Seems stable except mana regen is regenerating much slower, ill try to crank it up in the config

    edit: config doesnt seem to change it either x.x lol well at least its working

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

    nisovin

    Oh right... I changed the two regen config options:
    Code:
    
            regen-tick-rate: 100
            regen-amount: 5
    
    It's tick-based now, instead of seconds, and the amount is a constant rather than a percent.
     
  30. Offline

    shanko

    beautiful! I love you!!! :D

    edit: also is your server still up? I saw some videos and it looks fun
     
  31. Offline

    fuzyfeet

    Any chance you could make a "plugin" like the MemorySpells so we can have different set mana per group/perms?
     

Share This Page