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.

  • Source
  • Development Builds (CI)
  • Disclaimer: Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.

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 either on the Bukkit Forums thread or 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

Version 2.14

  • Updated to 1.5.1
  • Added particle effects
  • Added 'duration', 'nameplate-text', and 'use-caster-name' options to SpawnMonsterSpell
  • Added 'block-chat-output' and 'str-blocked-output' options to ExternalCommandSpell
  • Added 'prevent-blocks', 'spell-on-land', and 'apply-spell-power-to-velocity' options to ThrowBlockSpell
  • Added 'apply-spell-power-to-velocity' option to ProjectileSpell
  • Added 'min-range' option to all targeted spells
  • Various improvements and bug fixes

Recent Changes

Version 2.13

  • Updated for compatibility with CB 1.4.7
  • Added general enable-new-spell-handling option; if it is enabled:
    • This is an experiment, and is still a work in progress
    • Spells are now cycled with sneak+scroll rather than right click
    • General options are available: cast-with-left-click (default true), cast-with-right-click (default false)
    • Spell options are available: cast-with-left-click and cast-with-right-click

Version 2.12

  • Updated for compatibility with CB 1.4.5-R1.0 and CB 1.4.6-R0.1
  • Scrolls and tomes have been changed yet again, and are not backwards compatible (sorry about that, but some Bukkit changes made it practically required)
  • Added the fireworks spell effect (requires 1.4.6)

You can also view the complete change log.

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

  • Avatar of Pixiyo Pixiyo May 22, 2013 at 17:16 UTC - 0 likes

    My spells aren't binding to a wand.. It's works with OP, what do i do rong?

  • Avatar of Wazzupp11 Wazzupp11 May 20, 2013 at 19:06 UTC - 0 likes

    Can someone PLEASE tell me how to make the teach spell cost items to use!?!??

  • Avatar of skarelock skarelock May 19, 2013 at 22:41 UTC - 0 likes

    How can you make scrolls and bindings still require reagents?

  • Avatar of fuzyfeet fuzyfeet May 19, 2013 at 21:33 UTC - 0 likes

    @Tredan14: Go

    He hasn't abandoned this plugin. He has many projects and this one has grown massive so takes time.

  • Avatar of Tredan14 Tredan14 May 19, 2013 at 08:00 UTC - 0 likes

    guys please don't ditch this mod it's the best! or at least just update it?:D

  • Avatar of Corsicaman Corsicaman May 19, 2013 at 00:51 UTC - 0 likes

    <<reply 1500768>>

    The effects that don't work are (in my opinion) the most important ones...
    I didn't see the DEV builds, thanks!

    Owner of HopeCraft Server.
    Join at: Hopecraft.biz
    Website: http://hopecraftmc.enjin.com
    YouTube: http://www.youtube.com/user/HopeCraftServer

  • Avatar of Faldonboy Faldonboy May 18, 2013 at 21:01 UTC - 0 likes

    @Corsicaman: Go

    One, that doesn't mean it doesn't work that just means certain effects won't work, two, there are 1.5.2 dev builds under the dev build link.

    https://minestatus.net/19094-larkspur-gaming/image/original.png

  • Avatar of Corsicaman Corsicaman May 18, 2013 at 12:37 UTC - 0 likes

    Doesn't work with CB 1.5.2! "Unable to enable volatile code" Please update.

  • Avatar of LaughNgamez LaughNgamez May 18, 2013 at 06:42 UTC - 0 likes

    Hi, i have been trying to get the "throw" spell to rapidly throw an item, any idea how to do this? Like Throw Anvil, Delay 1 Second, Throw Another Anvil, Repeat. Please help! Thanks

    Last edited May 18, 2013 by LaughNgamez
  • Avatar of HarboGuy HarboGuy May 17, 2013 at 14:06 UTC - 0 likes

    Do all effects work in all positions? I tried to use fireworks in the "line" position on a targeted spell, and it doesn't work. Am I doing something wrong or is it just not possible?

Facts

Date created
Aug 25, 2011
Categories
Last update
Apr 08, 2013
Development stage
Release
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
MagicSpells
Downloads
161,959
Recent files
  • R: v2.14 for CB 1.5.1-R0.1 Apr 08, 2013
  • R: v2.13.1 for CB 1.4.7-R1.0 Feb 04, 2013
  • R: v2.13 for CB 1.4.7-R1.0 Feb 01, 2013
  • R: v2.12 for CB 1.4.6-R0.3 Dec 31, 2012
  • R: v2.11 for CB 1.4.5-R0.2 Dec 18, 2012

Authors

Relationships

Optional dependency
BookWorm
WorldGuard