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 Jan 8, 2013How do you add an incantation? and then how do you cast with it? I made all of the spells have incantations, and it didn't work.
-
View User Profile
-
Send Message
Posted Jan 8, 2013@nisovin
I'm not getting any errors, but the magic spells don't show up even though it says I know them. The only thing I can think of is that they all require a cast-item. I dunno if that is affecting it. I also made them not cost the same mana and reagents. Can you think of a way for me to say have you say something and hold the needed cast item?
-
View User Profile
-
Send Message
Posted Jan 8, 2013@Zarkiel7
Put in str-no-target: ""
-
View User Profile
-
Send Message
Posted Jan 8, 2013@nisovin
Hey nisovin, do you know if its possible to turn off the 'no target found' message that pops up, because i like to make multispells with lots of spells attached, and if they have no target because the target moved, it spams your chat with 'no target found' and yes i have removed the message from the spell itself, but it still keep saying it.
-
View User Profile
-
Send Message
Posted Jan 8, 2013@nisovin
Thanks, got it working :D
Also side note, is there a way to teach spells in sets? Like if I teach you spell1 you also learn spell2, etc.
I want to use it with MagicSpellsShop so it would be easier if I could sell certain spells in sets.
-
View User Profile
-
Send Message
Posted Jan 7, 2013Not sure if this is an intended effect. When a player has fire resist and jumps in lava, passives with "takedamage" are spammed, even if the probability is very low, suggesting hundreds of signals per second for the passive. This results in spammed passives even though no damage is actually taken. Is there any way to stop this, or is will there be a patch to stop this?
-
View User Profile
-
Send Message
Posted Jan 7, 2013@Jackbtroop62
There's a link to the source code above. It's up to date.
@sandal25
No.
@SovietWinter
No, there's nothing special.
@Kolnan
http://nisovin.com/magicspells/magicspellstowny
@Ewery1
That config file seems to work fine for me. Are you getting any console errors on startup?
@crore
I'm not really sure what you're asking for here. Are you looking for the always-activate option? You can see all standard options here: http://nisovin.com/magicspells/spellconfiguration
-
View User Profile
-
Send Message
Posted Jan 7, 2013ive looked through most of the config files for most the spells and havent seen it .. could you tell me if there is a if-fail-cost: true cost: - health 2 line?
thank you for your time love your plugin
-
View User Profile
-
Send Message
Posted Jan 7, 2013I have a major problem.
http://pastebin.com/KSWubDCA
Please respond asap. I also I have a cool idea for a spell. Air bubble. It creates a bubble of air around you when walking it water. Instead of gills that would be a good spell.
-
View User Profile
-
Send Message
Posted Jan 7, 2013No towny checks? that would be cool for a future update... (no-magic zones) =D
-
View User Profile
-
Send Message
Posted Jan 7, 2013I was trying to use passive rightclickblock to activate an external spell that calls commands, but it wasn't calling the externalspell. Is there something special I need to do that I missed?
-
View User Profile
-
Send Message
Posted Jan 7, 2013Nisovin,
Is there a way to repeat "spell-effects," or give it a repeating duration so that we can create a lasting aura effect.?
Thanks.
-
View User Profile
-
Send Message
Posted Jan 5, 2013Can you please update the source code? I would really like to add more spell options to this :D
-
View User Profile
-
Send Message
Posted Jan 5, 2013Hey Nisovin! Wanted to thank you for continued support and very quick updating of all your plugins, you do an amazing job. I've also made a short tutorial for using spells on my server, would love it if you'd take a look :) Thanks, Haders. http://www.youtube.com/watch?v=v1DkYmYArzo
-
View User Profile
-
Send Message
Posted Jan 4, 2013@nisovin
We have a problem!
http://pastebin.com/gzrnGmKD
This happens to all players in a large radius near the spell being cast on another player with the thorns enchantment.
The client is crashed for them.
-
View User Profile
-
Send Message
Posted Jan 3, 2013@Superboop
Just clear out the str-no-target option. Set it to "" (empty string).
@Superboop
There is no option to cancel other spells in a MultiSpell. The TargetedMultiSpell has this feature, however.
@zarakh01
There are already max-y and max-altitude options for windwalk.
-
View User Profile
-
Send Message
Posted Jan 3, 2013Nisovin, do you think you could add a height option to windwalk?
-
View User Profile
-
Send Message
Posted Jan 3, 2013@fuzyfeet
oh thanks sooooo much!
-
View User Profile
-
Send Message
Posted Jan 3, 2013@zarakh01
Is the arrow coming from a bow? If so, then it would be givedamage 261 (aka bow) not arrow. I was setting up special arrow effects and that is what worked.
-
View User Profile
-
Send Message
Posted Jan 3, 2013@TheWizad
Wouldn't you feel better if you did it yourself? As a server admin it's important to learn these things. Those spells in the video are very simple to make. The configuration page has everything you need to get you started.
The Aburame abilities are simply the spells Entomb and WallSpell modified to be webs instead of the default blocks. You can even take it one step further and add graphical effects, found here.