Inactive [FUN] MagicSpells - Add magic to your server

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

  1. Offline


    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.


    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


    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.


    View Spell List


    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 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


    Haha! Are you having the same problem as me? I still cant make it so that my default group can only learn mark and recall, and now Im using a whole other permission node, I have put the magicspells.grant.blink to only ONE of my groups, and still, every one of my groups can use fireball :(
  3. Here's what I've determined. We are both using CB1337, MagicSpells 3.1, and PermissionsEx. For whatever reason, the plugin MagicSpells makes it so Ops learn all the spells and regular players don't learn any, it's not taking into consideration the permissions plugin at all, which is the problem, if I'm correct, and why you can teach all your people how to use fireball. Try testing this out, Nellers, and seeing if this is a possible reason.

    EDIT: I'm pretty determined to use this plugin. So nisovin, what permissions plugin do YOU use?

    What the heck? Now it works, but only with undamaged swords.

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


    Hello and I'm sorry if this has been asked already, but my server has found some kind of bug about the spell messages,
    for instance when we use /cast blink the message "You blinked away" doesn't pop up. We have made the config as it should be so I don't think it's the config, but the plugin itself. I hope to hear from anyone who knows to fix this. Thanks in advance.
    Edit: we are using PEX as the permission plugin.
  5. Offline


    hey the no magic zones doesnt work i tried both world gaurd and cuboid and people can still cast spells

            world: world
            type: worldguard
            region: warhub
            message: An anti-magic aura makes your spell fizzle.
                - list
                - help
                - teach
  6. Offline


    How did you make it work? And what do you mean undamaged swords? :p

    It seems to be that anyone using PEX is having all kinds of problems with this plugin.

    If possible can you please look at my permissions.yml in my previous post and let me know if it is wrong and please if you have any idea why my permissions groups can ALL learn fireball instead of it just being the ones I gave the nodes to?

    I am still fighting with this, and for a start I would really just like to use Mark and Recall on my server because the beds are buggy, but no matter what I do, everyone can cast fireball and all other spells and i dont know what to do :(
    At the moment I have removed the jar until I can fix the permissions problem.

    Thanks very much.
  7. Offline


    @Nellers and everyone else having permission problems:

    Please look at the permissions info, in particular the default values. Learning defaults to true. There is a config option called default-all-perms-false that you may also want to look at.
  8. Offline


    any help with this?
  9. Offline


    @shanko i have this problem as well.
  10. Offline


    @nisovin Can a player forget a spell once they change permission group?
    For instance instead of a staff member having to cast /cast forget it does it automatically?
    The problem is all learned spells are being carried over from one group to another which makes having individual classes impossible as any player can join one group then join another to gather all spells and pretty much become over powered.
    Also I don't want for instance my engineer group to be able to cast any spells but if a player had learned the spell previously they would be able to cast it as an engineer.

    Thanks for your help.
  11. Offline


    Are you sure that's all correct? The world name is "world"? The region name is "warhub"? Are you using an old version of WorldGuard? It should work fine, the no-magic zones work fine for me.
    There's no way for the plugin to know that a player has changed group, so automating this would be difficult.
  12. Offline


  13. Offline


    hi i was wondering if you could make this compatible with the Heroes Plugin Damage system.
    right now there are some strange errors when a magic spells hits a hero classed player at a high level. the plugin spoofs down damage to make it seem like you have more hit points at higher level. but when outside plugins damage hits, all of their extra hit points evaporate in one giant poof. this poof of damage can take 8 hearts or even kill. anywhoo if this is impossible sorry to bother you :)
  14. Offline


    Hi again!

    I have Magicsells working great now!
    @nisovin Thankyou for your advice and help.
    And thanks to everyone else that replied.
  15. Offline


    Not sure if I have popped in here, and said how amazing this plugin is, but I'll say it again. It's great/ Simplest, most usable magic system every released for Bukkit, hands down.

    Having an issue recently however...

    The Newest Bookworm release seems to break Spell Tomes. This is currently the only way players on my server learn spells :(

    Any chance for a quick fix? I would love you eternally.
  16. Offline


    Is there a way to limit a rank to learn a certain amount of spells?

    for example: member 2
    vet 5
    VIP 10


    thanks :)
  17. Offline


    Try this version and let me know if it works. I haven't tested it yet.
  18. Offline


    Sorry but does it enable a new string that adds a permission. I'm not sure how to enable users to have only a few spells with this version.
  19. Offline


    Please see above post.
    Sorry, I quoted the wrong person by accident. :( I have been working on a way to do this, but it's not quite ready yet.
  20. Offline


    Downloaded it already, fixed the issue perfectly it seems. Thank you very very much.
  21. Offline


    donation coming if you can get that added :)

    could you explain how to create tiers?
    For instance:
    haste (lasts 7 sec, str effect 4)
    haste2 (lasts 15sec, str effect 6)

    also, how do I turn recall into a channeled spell? I put the "channel-time" and re-participants:1
    but its still instant


    summoning has a pretty long error and doesnt work for me.. any ideas or would you just like me to paste the error?

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


    yup its all right and up todate, the region in question is my servers spawn point, not sure if that would cause an issue?
    EDIT!!!!: sorry, i just updated the magic spells to the newest one, didnt notice the updates, it works now!
  23. Offline


  24. Offline


    a problem with your leastest version, drainlife spell and its copies dont seem to work
  25. Offline


    Nothing has changed about it, so it should still work. What do you mean exactly by it doesn't work? It doesn't cast at all?
  26. Offline


    EDIT, adding leaves to ignore durability fixed it

  27. Offline


    It's a configuration issue then. You can either specify a data value or add leaves to the ignore-cast-item-durability option.
  28. Offline



    adding leaves to the ignore durability fixed it, thanks

    edit: also just want to add your plugin and the war plugin have made my server very popular, thanks a ton!!! I will send some of the extra donations (if any) i get from my server your way!! :]
  29. Offline


    Do you have any info on summon not working and how to add channeling to a spell (such as recall and mark).

  30. Offline


    I assume by channeling you mean cast time (which is not the same thing). No spells currently have cast time, and I have no current plans to add the feature. It would require a lot of work to get working correctly, and isn't user friendly anyway. As for summon, I don't know. It should be working fine.
  31. Offline


    So channeling is instant as well?
    I would think most servers who use this would be for PVP reasons. Launching fireballs on a creative server is a bit pointless.

    You don't see an issue with someone being able to cast some spells instantly (like recall)? Someone instantly teleporting away is not going to work on pvp servers.

Share This Page