MagicSpells

Logo by Sy_Gibbon

MagicSpells is a Minecraft Bukkit plugin that creates magic 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. However, instead of just giving them access to boring commands, they instead get more interesting spells. Each spell can be configured in many ways:

  • Reagent costs (the cost of using the spell, including items, mana, health, hunger, experience, and item durability)
  • Cooldowns (the amount of time a player must wait between uses)
  • Durations (how long certain effects last)
  • Ranges (how far away spells can be used from their target)
  • Many more options, depending on the spell

Spells can be cast by using the /cast command, swinging a configurable wand item, or both. It's also possible to have them triggered from other actions the player may take. It's all customizable.

Usage

Before a player can cast a spell, they must already know it. There are several ways a player can learn a spell:

  • Taught with the teach spell
  • Learned from a spellbook
  • Learned from a tome
  • Gained from a grant permission
  • Purchased from a shop
  • Being a server op (they know all spells) For example, a server op can teach Bob the blink spell by typing: ''/cast teach bob blink''.

Once a spell is learned, it can be cast either by using the ''/cast'' command or by using a wand item. Now that Bob knows 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. Mana can also be configured so it is displayed on the experience bar.

Frequently Asked Questions

Help me! Why isn't it working?

If - after reading through the information available on this website - you can't figure out why something isn't working, please take the time to submit a proper help request. You can post your request in the MagicSpells forum. You should provide the following information:

  • The CraftBukkit version 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 put them directly into the post, use a service like http://pastebin.com and just post the link here.

But I need help urgently!

You can try joining the IRC channel #magicspells on EsperNet.

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 give yourself the magicspells.noreagents permission node.

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?

Please make sure your permissions are all set up correctly. Look at the permission page for more information. This is usually caused when you are missing magicspells.cast permissions.

Why can't I target players with spells?

There are two main reasons this occurs. Most targetable spells have a target-players option that usually defaults to false. You will need to change this to true to be able to target players with spells. Also make sure your players don't have the magicspells.notarget permission node.

Why don't temporary permissions work with WorldEdit/WorldGuard/CommandBook?

Open the wepif.yml file in your server's root folder. In the section under resolvers, remove all of the entries except DinnerPermsResolver. Then restart your server and see if it works now.

I have a great spell idea! Will you add it?

Please tell me about it by posting in the spell request forum! 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 know some Java, can I write my own spells?

Yes, you can! Please look at this custom spell creation guide to learn how.

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.

Videos

Upcoming Changes

Coming in version 3.0: http://nisovin.com/magicspells/upcomingchanges

Recent Changes

View the complete change log.

Questions and Comments

You are welcome to post comments here, but if you would like to ask a question or have any kind of discussion, I would prefer if you post on the MagicSpells forums. It is easier to keep track of posts and discussions there.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Altyra Altyra Sep 29, 2014 at 14:38 UTC - 0 likes

    Hi,

    I'm very interresting in your 3.3 version with death grip, but I have a 1.7.2 Server, is it possible to add this spell for 1.7.2? It would be so nice for my gardian class which could tank !

    Thank you !

    Altyrah

  • Avatar of metalictom metalictom Sep 27, 2014 at 15:41 UTC - 0 likes

    Hello i would like to make the lightning spell stronger but when i change the variable additional-damage nothing happens , is anyone else having this issue?

  • Avatar of MCTylerPVP MCTylerPVP Sep 23, 2014 at 09:38 UTC - 0 likes

    @Bentze: Go

    You have to mke a command that makes them forget the spells.

    MC Client Link-EODSteven.org- WebPage http://MCTyler.Enjin.com

  • Avatar of xOmniDerpx xOmniDerpx Sep 22, 2014 at 15:37 UTC - 0 likes

    Recently, no particles in my spells have been playing. I primarily use Homing Missile spells. It is obvious that the spells work because they run messages in chat and play the spells when they meet their target, but the particles are invisible. This is a huge problem because the spells don't make sense, and I was planning on opening my server by next week. I am running Spigot Build #1649 and MagicSpells v3.3

    I found this message in Console:

    [10:26:34] [Server thread/INFO]: [MagicSpells] Enabling MagicSpells v3.3-release [10:26:34] [Server thread/WARN]: [MagicSpells] This MagicSpells version is not fully compatible with this server version. [10:26:34] [Server thread/WARN]: [MagicSpells] Some features have been disabled. [10:26:34] [Server thread/WARN]: [MagicSpells] See http://nisovin.com/magicspells/volatilefeatures for more information. [

    I visited http://nisovin.com/magicspells/volatilefeatures. The explanation was very confusing and unclear. What am I supposed to do?! It said to turn "this setting" off, but never said what "this setting" was. Among the features with the explanation "These effects will not work at all," there was particles. I am assuming this is the problem. Please reply to this as soon as possible. I had been planning to open my server up in a few days, but this is a major setback.

  • Avatar of SmilingTrickster SmilingTrickster Sep 19, 2014 at 04:38 UTC - 0 likes
  • Avatar of SmilingTrickster SmilingTrickster Sep 19, 2014 at 04:36 UTC - 0 likes

    @Bentze: Go

    Try giving them permission node "-magicspells.grant.*" if you are using group manager like me. Not sure if it can fix it though.

  • Avatar of SmilingTrickster SmilingTrickster Sep 19, 2014 at 04:32 UTC - 0 likes

    I'm trying to figure out the magicxp system. The wiki says something like this:

    • magic-schools:
    • arcane: " &bArcane&f"
    • fire: " &cFire&f"
    • frost: " &9Frost&f"

    (Please ignore the bullet points, the editor does not let me switch line for some reason)

    Here's the link: http://nisovin.com/magicspells/magicxp

    Annnnd nothing comes up by the /magicxp command. (Everything else works fine, including the xp header)

    Anybody knows how to fix this?

    Last edited Sep 19, 2014 by SmilingTrickster
  • Avatar of Bentze Bentze Sep 13, 2014 at 14:41 UTC - 0 likes

    Is there a way to fix every player knows every spell even if they dont have the permissions

  • Avatar of zarakh01 zarakh01 Sep 09, 2014 at 20:53 UTC - 0 likes

    @broluigi: Go

    You can add money as a cost like mana the same way you add a mana cost, but it requires vault. Check under the spell config page http://nisovin.com/magicspells/spellconfiguration

    Last edited Sep 09, 2014 by zarakh01
  • Avatar of wander2072 wander2072 Sep 09, 2014 at 11:51 UTC - 0 likes

    can somebady help me ? tell me how to create spell like that

    https://www.youtube.com/watch?v=mSciW8eDbT8 [Wood Release :Wooden Armor,lift up and underground roots technique]

    Please =)))

    Last edited Sep 09, 2014 by wander2072

Facts

Date created
Aug 25, 2011
Categories
Last update
May 27, 2014
Development stage
Release
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
MagicSpells
Downloads
264,191
Recent files
  • R: v3.3 for CB 1.7.9-R0.1 May 27, 2014
  • R: v3.1 for CB 1.7.2-R0.2 Jan 24, 2014
  • B: v3.0-b6 for CB 1.6.4-R1.0 Oct 24, 2013
  • B: v3.0-b5 for 1.6.4 Oct 01, 2013
  • B: v3.0-b4 for CB 1.6.2-R1.0 Sep 20, 2013

Authors

Relationships

Optional dependency
BookWorm
WorldGuard