MagicSpells
Note: MagicSpells is being maintained on this GitHub fork and you can find help at the official Discord.
Info
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.
Useful Links
Videos
-
View User Profile
-
Send Message
Posted Aug 12, 2012Hey sorry, askin a lot of questions. but for /cast armor how can i add things like swords and picks.. i put in the names, put in the item id, but nothing seems to actually allow for these items. any help is much appreciated thanks!
-
View User Profile
-
Send Message
Posted Aug 12, 2012how can i make it so players can cast spells with hands? and is it air that i set it to?
here is my current list for skills that a certain class can use.
-
View User Profile
-
Send Message
Posted Aug 12, 2012@SuperMinecraftBrosMC
Yes, going to need to see your config. But for a starting point try the following. At line 96. it shows:
2012-08-05 14:39:42 [WARNING] [MagicSpells] Unable to load spell Shuriken (missing class com.nisovin.magicspells.spells.targeted.Projectile)
That does not appear to be the proper location it will find the Projectile spell class in.
In your config under the shuriken spell where it shows: (If this is what it shows there)
spell-class: ".targeted.Projectile"
Try changing it to:
spell-class: ".instant.ProjectileSpell"
Additionally, make sure to double check your usage syntax for for Modifiers as it applies to lines 102-105.
-
View User Profile
-
Send Message
Posted Aug 12, 2012@SuperMinecraftBrosMC
gonna need to see your config to work those out
@mattbrw08
The armor spell should not allow them to remove the armor. Do you have any plugins that affect armor or ways to equip it?
@mattbrw08
ATM it will only affect the mobs that havn't seen you yet. However, 1.3 changed creative mode so that mobs will stop attacking you after a short while, maybe nisovin can find a way to implement this
@AndTuts
What you would do is go through your groups and assign magicspells.cast.spellname for each of the spells you want those groups to be able to cast, then just give the donators the magicspells.cast.*.
-
View User Profile
-
Send Message
Posted Aug 12, 2012Hey guys, i've looked pretty good and tried a few things.. but does anyone know if its possible to make it so that /cast stealth applies to mobs that already see you?
-
View User Profile
-
Send Message
Posted Aug 12, 2012ETA on update?
-
View User Profile
-
Send Message
Posted Aug 12, 2012Someone PLEASE Help! I have an error with the spells modifers http://pastebin.com/MVkxTG4h Please help!
-
View User Profile
-
Send Message
Posted Aug 12, 2012@HolySteward
Line 529, and Line 547 of the config.yml..
-
View User Profile
-
Send Message
Posted Aug 11, 2012anyone know what causes:
-
View User Profile
-
Send Message
Posted Aug 11, 2012hey man jus wondering, it seems when people do /cast armor they can quickly store it in a chest before the duration runs out. this lets them keep the armor. Is there anyway I can config for the items to be despawned no matter what, even if in a chest. Or possibly a way to keep the items locked in the armor slots so they cant be pulled out? Thanks for any help, and I really love this plug-in, you're the best!
-
View User Profile
-
Send Message
Posted Aug 10, 2012All ranks on my server currently have the "magicspells.cast.*" permission... But I would like to have this as a donor feature, and therefore, I need to get that gone... Could someone please help me?
-
View User Profile
-
Send Message
Posted Aug 10, 2012@Dinastya
Yeah, I'm not blind. It also says that 2.8.2 should work fine, that's why I was asking.
-
View User Profile
-
Send Message
Posted Aug 10, 2012Is there WorldGuard support? I can set anti magic areas to prevent explosion from griefing but what about projectile spells?
-
View User Profile
-
Send Message
Posted Aug 10, 2012@MedlarGW
Read the post.
There is with big letters Notes on 1.3
There are Dev versions that work completely fine.
@sorrow123444
^
-
View User Profile
-
Send Message
Posted Aug 10, 2012Has anyone encountered any errors while running MagicSpells 2.8.2 on Bukkit 1.3.1 R1? I wanted to check in case there was an unforeseen bug that the developer might've overlooked, before I update my server. :)
-
View User Profile
-
Send Message
Posted Aug 8, 2012Can you please compile this plugin with Java 6? JDK 1.6? MajorMinor error, Bukkit still uses Java 6 so please recompile it :P
-
View User Profile
-
Send Message
Posted Aug 8, 2012I agree with TruseBruse, that might be cool!
Also can you update this to 1.3.1 soon please?
-
View User Profile
-
Send Message
Posted Aug 7, 2012@Trusebruse
That's what the tome spell does. Nisovin made a plugin that made readable books and hooked into MagicSpells would make books that taught you a spell, but he dropped the other plugin when 1.3.1 was close. See notes for Version 2.9
-
View User Profile
-
Send Message
Posted Aug 7, 2012I HAVE THE MOST AWESOME IDEA FOR THIS PLUGIN! Now at the new update. 1.3 you can read books. What if you learn spells from books. So when you open the right book for he right spell, you learn the spell.
That would be so very awesome!
-
View User Profile
-
Send Message
Posted Aug 5, 2012@shankomaster
Go to your .minecraft folder => ressources => newsound
I hope help you.