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. I'm getting this same error..., here is mine:
    Code:
    10:37:40 [SEVERE] Could not pass event PLAYER_MOVE to MagicSpells java.lang.NullPointerException
            at com.nisovin.MagicSpells.Spells.StonevisionSpell.onPlayerMove(StonevisionSpell.java:68)
            at com.nisovin.MagicSpells.MagicPlayerListener.onPlayerMove(MagicPlayerListener.java:93)
            at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:285)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:139)
            at net.minecraft.server.Packet10Flying.a(SourceFile:126)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    I'm using MagicSpells v0.6.2 and Bukkit 860
     
  3. Offline

    Shad

    Do the latest versions support permissions 2.x or only 3.x?
     
  4. Offline

    Zalastri

    Neither volley or normal arrows are hurting any players. My "Archers" have the McMMO Archery skill and I'm running CB 863. Anyone else have this issue, or insights? Here's the pastebin of my config.

    http://pastebin.com/kHggWaTq
     
  5. Offline

    The_legion

    Hey nis, I am currently using your magic mod.
    My question is, how do I get it so I can assign spells like fireball and lightning to the wand? Instead of typing them in.
    Also, I cannot figure out how to make it so that I don't need reagents for spells.
     
  6. Offline

    Shad0wSlay3r

    wat i did to remove the reagents was simple(ish), i went into the config.yml and removed all the demands for an item. took me about 10 min but it works.
     
  7. Offline

    Sman911

    Every time i cast a spell it says, You dont have the required Reagents for this spell. I have all the permissions set, and i have permissions enables, can someone help
     
  8. Are you saying this is happening , and you DO have the reagents?
     
  9. Offline

    colin8696909

    cant wait for summon.
     
  10. Offline

    Altobot

    How to let the Spell requirements vanish? I want to make a different type of server. The requirements are verry annoying.

    Hi, its me again.
    I deleted the costs of my spells, but now, CraftBokkit doesnt get the mod. No spells are working anymore.

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

    KuroSnow

    Is there a way to config the explosion size on the fireball? I'd like to make a version like firebolt that does damage, but has no boom behind it, (or a 1 block boom as in direct damage explosion)
     
  12. Offline

    alex0703

    what come into the spellbook folder in the Magicspells?
     
  13. Offline

    lupusmagnus11

    how do you tell what the reagents are for a given spell?
     
  14. Offline

    nisovin

    You probably have an error in your config file.
    The player known spells lists.
    You look in the config file. Or, you use the help spell.
     
  15. Offline

    Altobot

    Another question: How to make spells targeting players? Like, if U wanna freeze them or something like...
     
  16. Awesome plugin. Would it be possible to add a Reflect spell? Something like you cast it and for 10 seconds any spells cast on you are instead inflicted on the caster. I think it would make magic duels more fun.
     
  17. Offline

    MindDefect

    This plugin has been working great for me since Itemcraft updated! Sorry if it felt like I was a bit of a bother earlier.

    Besides your future possible spells that are listed... the only thing missing to me is maybe one that helps with placing blocks/items from a distance. So say, could it be possible have a spell that allows you to try to place whatever item is in your 1st item slot (spell would give user an "unplaceable item in slot 1!" message if say... a tool is there rather and not a block or torch etc..... and making the item slot configurable would be a good bonus feature)

    Something like that would be great to help with creation, especially with your plugin's configurability so I can make it so its not too OP (with cooldown and etc.), unlike the other plugins out there that help with creation. Might be a difficult spell to code in though. Only a suggestion, thanks for making this plugin.
     
  18. Offline

    Shad0wSlay3r

    add something like mana to the server, my players dont like getting the items just for 1 spell.
     
  19. Offline

    nisovin

    New update! New spells! New features! Bug fixes!

    You can now set health and mana costs for spells by using "health" and "mana" instead of item-ids. The mana system can be fully configured, and has some useful options, including the ability to show the current mana percentage on a wooden tool in the inventory.

    It's been a while since the last update, so I wouldn't be surprised if I've added a few bugs along the way, so let me know if you notice anything.

    Wish granted!
    Wish granted! Also, others have asked for this, but I don't feel like trying to quote everyone. :)
    I'll play with this idea eventually, but it requires quite a bit of work.
     
  20. Offline

    kahlilnc

    O: new update looks awesome.
     
  21. Offline

    jlu

    So, i just read "new spells" but it's 4AM here, what can i do?:p

    Well, i had a great plug-in, but his dev. don't continue his work: MonsterTamer. Can u make a spell to capture Monster et release them after? (Sry about my english). Maybe Summon is a little bit the same thing?
     
  22. Offline

    Shad0wSlay3r

    i think theres an issue, it doesnt recognize the /cast command and i installed correctly

    EDIT:

    Nvm my internet goofed up as i was installing, CURSE U DSL!!!!!!!
     
  23. Offline

    nisovin

    Version 0.7.1 released, just a few minor bug fixes. Also, I forgot to mention that the /mana command will let you see your current mana bar if you have mana enabled.
     
  24. Offline

    Daredd

    Thanks for the update! It really is great. but I have a few questions.

    1. How does the mana system work? I mean how much mana does a spell cost and how can i configure this?

    2. The gate spell requires coordinates. what is the correct way to put the coordinates in the file?

    Greets, and again great plugin! keep up the good work ;p
     
  25. Offline

    Sleepywalker

    can you please make a climb spell? so you can climb up walls like a spider does?

    That would be totally amazing.

    Sleepy
     
  26. Offline

    diegokilla

    Kudos on the new update, really adds a lot of flexibility :D

    Edit: also i have 2 feature requests:
    - option to use-cost: MANA {value}
    - a configurable, consumable item to restore mana
     
  27. Offline

    mortificare

    'you do not have the required reagents for that spell.'
    what is the regents? is there a list?

    (sry if i have missed something in the thread, i have my own server and worked on it for 5 hours straight trying to get everything to work fine :) )
     
  28. Offline

    nisovin

    1. You use "mana" the same way you would use an item id in the cost. I've updated the config link in the first post to show how this works. Look at the build spell config.
    2. That would be x,y,z
    I'll add it to the list.
    You can already use mana as the use-cost. I'll play with the "mana potion" idea.
    Did you read the first post? Look through the config? The reagents are the spell cost.
     
  29. Offline

    mcranky

    How do you get reagents? I can never use any spells without them!
     
  30. Offline

    nisovin

    That's the idea. Please read the first post.
     
  31. Offline

    kahlilnc

    Hm, the granting permissions does not work for me, here is my permissions:
    PastieBIN
    Ppl say they can't cast the granted spells like /c list, /c help and /c bind.
    HELP!!!
     

Share This Page