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


    You'll have to use a dev build:
  3. Offline


  4. Offline


    Hello, how can I make this be the Regen splash potion color?

                - target splash 10
  5. Offline

    Edit: I think that may be old, actually. Unfortunately, I'm not really sure how the data value for the splash potion effect works. You may just have to experiment a bit.
  6. Offline


    yup it works! First AoE healing spell completed :D

    BTW the new spell effects are awesome, I especially love the swirling smoke
  7. Offline



    hurray for lobbying! :D
  8. Offline


    We're having some small issues on our server:
    1. Players receive the message: "You do not know a spell with that name." after trying to use the ' /cast list ' command or whenever they try to use ' /cast bind <spell>'.
      1. Players can successfully use spells by typing commands.
        • eg: /cast Volley
    2. The admin currently has him set to default rank (PermissionsEX) with no permissions whatsoever and he can still /cast any spell. He is currently not an ' op ' on the server. We've even tried removing him from all the server logs, but he maintains the ability to use any MagicSpells command.
    All groups have the following permissions:
    - magicspells.learn.*
    - magicspells.cast.*

    The players love the abilities that your plugin offers and we don't want to see it go, but we need some help here.
  9. Offline


    how do you make classes? that has certain spells like for example arch mage worrior and archer
    and a paladin
  10. Offline


    1. Do your players know the 'list' and 'bind' spells? If they don't, they won't be able to use them.
    2. Was this player previously an admin who knew all spells? Changing your permissions doesn't change which spells you already know.
  11. Offline


    seems like lightning is working in doors now! AWESOME! :D

    Bug report

    if a player uses two Empower Spells (two spell copies)

    and then use explode, it blows up GIGANTIC hole and causes tons of lag!

    the power for each empower is 1.5 spell damage, combined it makes explode extremely OP

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


    Just stopping by to say THANK YOU! For the graphical effects! Especially blockbreak, it adds so much more to a lot of spells its absolutely fantastic!

    Protip: Nether rack block break looks like blood on targets :D
  13. Offline


    enderpearl projectiles still teleport you if youre in a Mob Arena =x

    Weird, if I /cast reload
    the enderpearls work fine in mob arena

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


    I can't seem to get the Summon spell to work. It says that I begin casting it, but then nothing else ever happens for the other participant or myself. Am I doing something wrong? =/
  15. Offline


    Whenever i type /cast tome conjure it says "An internal error occured while attempting to perform this command." This is my code:
    spell-class: ".command.TomeSpell"
    name: tome
    enabled: true
    description: Create a tome that teaches a spell.
    cancel-read-on-learn: true
    consume-book: true
    allow-overwrite: false
    max-uses: 1
    default-uses: 1
    require-teach-perm: true
    str-usage: "Usage: While holding a book, /cast tome <spell>"
    str-no-spell: You do not know a spell with that name.
    str-cant-teach: You cannot create a tome with that spell.
    str-no-book: You must be holding a book.
    str-already-has-spell: That book already contains a spell.
    str-already-known: You already know the %s spell.
    str-cant-learn: You cannot learn the spell in this tome.
    str-learned: You have learned the %s spell.
    str-cast-self: You have created a spell tome.

    Did i change something i'm not supposed to or...?
  16. Offline


    Please post the error.
  17. Offline


    16:52:26 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'cast
    ' in plugin MagicSpells v2.6.1
    at org.bukkit.command.PluginCommand.execute(
    at org.bukkit.command.SimpleCommandMap.dispatch(
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    at net.minecraft.server.NetServerHandler.a(
    at net.minecraft.server.Packet3Chat.handle(
    at net.minecraft.server.NetworkManager.b(
    at net.minecraft.server.NetServerHandler.a(
    at net.minecraft.server.NetworkListenThread.a(
    at net.minecraft.server.MinecraftServer.w(
    Caused by: java.lang.NoClassDefFoundError: com/nisovin/bookworm/BookWorm
    at com.nisovin.magicspells.spells.command.TomeSpell.castSpell(TomeSpell.
    at com.nisovin.magicspells.Spell.cast(
    at com.nisovin.magicspells.MagicSpells.onCommand(
    at org.bukkit.command.PluginCommand.execute(
    ... 12 more
    Caused by: java.lang.ClassNotFoundException: com.nisovin.bookworm.BookWorm
    at$ Source)
    at Method)
    at Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 16 more
  18. Offline


    The tome spell requires the BookWorm plugin, which it appears you aren't using.
  19. Offline


    okay thanks, ill download that
  20. Offline


  21. Offline


  22. Offline


    how can you make a player/mob to your target
  23. Offline


    Hello sir i am writing in big letters just to get your attention.
    me and my friends are pretty crazy after spells and stuff, we have it downloaded on our server (we are three people) we are prepping up to make youtube videos soon but we still haven't done some stuff.
    we have made loooots of multi spells and special spells, and i love how customisable stuff is. but there are still some things i tought you would be able to do. (stone geysers bla bla bla.)
    i was wondering is it possible to add sound to the spells? and some kind of channel?. some of our spells that are called ThunderStorm is really powerful five lightnings fall down from the sky with 15 delay between each, but we were wondering if you could single target channel, you know how it tells you when someone uses a spell is it possible to make so that you see that someone is channeling not in-game but in text: example

    Asaylethal is charging Thunderstorm
    AsayLethal uses Thunderstorm. etc.

    second of all, custom sound effects ( i have sound files from games and stuff) like theres a spell called "tsukuyomi" and i have a sound for it, is it possible to make a soundeffect ingame so that when he does the spell tsukuyomi he says tsukuyomi before using it? if this works. I could probably start making the lets play so oh well thanks for your time mate.

    EDIT: one of our suicide spells includes explode, how do you make explode do a agreed amount of hp example i use explode it takes away 8 hearts (also works aoe)
  24. Offline


  25. Offline


    anyway to make the AoE spell check for friendly fire like the normal spells do?

    get this when trying to make an AoE mana-drain spell

    it makes the spell have no cooldown

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


    Can you give me the relevant config sections?
  27. Offline


    it also had nifty effects i took out :p

    edit: also strangely enough, it seems to drop stone
  28. Offline


    good job kid, you made a goddamn plugin for people to enjoy, and you NEVER care about people wanting to make the plugin more advanced, the only goddamn person you care a shit about is shanko sorry for being so rude, but srsly take some responsibility or even dont bother making a plugin at all. you totally ignore every reasonable question by people for your own lazyness. Sir, nice way of having a plugin.
  29. Offline


    Love the hell outa this plugin from what I'd seen on one server. Then they removed it, so now I'm running my own. Still love it, but there's one me issues with the % identifiers...
  30. Offline


    People constantly ask the same questions over and over again that he clearly answers in his guides. Take the time to read through the guides hes kindly wrote for the plugin and I guarantee most of your concerns or questions will be answered. You can't blame him for ignoring half the questions on here, the plugin is extremely successful and popular. I also don't get any special treatment, I just try my best to be as helpful to him as possible and point bugs out. Also remember he doesn't get paid to make this plugin, he is providing it to us all gratuitously.
  31. Offline


    This is amazing... Thank you! But I have a question about targeting. Is there anyway to make it so a spell must target a block id instead of a player to be able to be casted? For instance there must be a enchanting table targeted to be able to cast an external command spell? like Mob Disguise? Almost exactly what you did with the spellbook config?

Share This Page