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 Jun 15, 2013@Kloudstrifer
Just add
cast-random-spell-instead: true
to a multi spell, and it will choose a random spell to cast from the list rather than casting all of them.
-
View User Profile
-
Send Message
Posted Jun 15, 2013Just want to say that I really, really love this plugin, not for the built in spells, but for the ability to do pretty much... whatever with it.
I do have a question, though. I'm pretty inexperienced with java coding, and the only way I survive is by looking at the example spells and just extrapolating from that. However, I just can't figure out how to get the str-cast-random-spell-instead function to work. That's... really all there is to say. Could someone provide me an example of it in action so that I can figure it out in that?
Thanks
-Kloud
-
View User Profile
-
Send Message
Posted Jun 15, 2013Just want to say that I really, really love this plugin, not for the built in spells, but for the ability to do pretty much... whatever with it.
I do have a question, though. I'm pretty inexperienced with java coding, and the only way I survive is by looking at the example spells and just extrapolating from that. However, I just can't figure out how to get the str-cast-random-spell-instead function to work. That's... really all there is to say. Could someone provide me an example of it in action so that I can figure it out in that?
Thanks
-Kloud
-
View User Profile
-
Send Message
Posted Jun 15, 2013I almost went crazy! I guess nocheatplus stops spells because it thinks they are reaching too far xD
-
View User Profile
-
Send Message
Posted Jun 14, 2013Is it possible to add enchantments to a projectile? I have a plugin that allows sharpness on arrows/snowballs for example to do damage as if you were hitting someone with them. I'd like to make an arrow projectile spell that does approimatley 300 damage. Help? Also, can I add more than 1 potion effect to a potion effect spell? Sorry to ask again, but I need an answer.
-
View User Profile
-
Send Message
Posted Jun 13, 2013After all this years. . . . . . . An update
-
View User Profile
-
Send Message
Posted Jun 13, 2013Please help how do i intall the plugin and use it newbie here someone please helppp
-
View User Profile
-
Send Message
Posted Jun 12, 2013Best. Plugin. Ever. Thank you so much for making this. Is it possible to add click triggers, so if you left click 3 times within the space of 3 seconds it triggers a spell. Also, to have the similar 'required' feature to modifiers, where you can make it required to left click 3 times AND be sneaking for the spell to be cast.
-
View User Profile
-
Send Message
Posted Jun 12, 2013Hey nisovin, could we see an enhancement spell. As in you cast it, then if you hit something within X Seconds, you fire off a specified spell on yourself or target.
-
View User Profile
-
Send Message
Posted Jun 12, 2013Great mod, fits with my rpg server, thanks, hope to see continued development
-
View User Profile
-
Send Message
Posted Jun 12, 2013im having issues with specific spells, I changed something a long time ago.. and now only some of them work: http://pastebin.com/x6w8wUiV
-
View User Profile
-
Send Message
Posted Jun 12, 2013@centaurianArcher
Thank you very much.
-
View User Profile
-
Send Message
Posted Jun 11, 2013@craftovski
Under general configuration(http://nisovin.com/magicspells/generalconfiguration), you'll find the option "buff-check-interval." The default value is zero. This is probably what you're looking for.
-
View User Profile
-
Send Message
Posted Jun 11, 2013Any ideas how to prevent players from casting certain spells like windwalk and entering an area where that spell is disabled ? Problem is even if that spell is disabled from certain area they can still cast it outside and enter the area with spell activated.
Edit: If theres no way of preventing them from doing that, would it be possible in near future the spell /cast cancel or something like that, that cancels any current spell activated so i can force cast of that spell on entering the area or on some other event.
Tx
-
View User Profile
-
Send Message
Posted Jun 11, 2013@fuzyfeet
Thanks so much, everything is sorted now..... everything :3
-
View User Profile
-
Send Message
Posted Jun 11, 2013@monstercat101
You need to change that modifier to "- permission spell.night required"
-
View User Profile
-
Send Message
Posted Jun 10, 2013Could we get a config option that allows us to customize the death message if triggered by a certain spell?
Also, I want to give my players spells by permissions, and if they lose the permission node, they also lose the spell. Since the grant permissions are permanent I can't seem to do this easily, does anyone have ideas?
I have MagicSpellsCastModifiers installed, everything works amazingly, however I want to get the permission modifier working but it doesn't seem to want to. This is the spell I am trying to restrict to a permission: http://dev.bukkit.org/paste/7931/
-
View User Profile
-
Send Message
Posted Jun 10, 2013Is it possible to add enchantments to a projectile? I have a plugin that allows sharpness on arrows/snowballs for example to do damage as if you were hitting someone with them. I'd like to make an arrow projectile spell that does approimatley 300 damage. Help? Also, can I add more than 1 potion effect to a potion effect spell?
-
View User Profile
-
Send Message
Posted Jun 9, 2013How can we change the wand item?
-
View User Profile
-
Send Message
Posted Jun 9, 2013@ipolip
you can integrate magicspells with otherdrops to do this, by changing the items name to something like "Spellbook" then add lore to the item such as "Fireball" and then put those as requirements in otherdrops for a drop with lets say an enchanting table. Then set it so when you right click an enchanting table with a Book named Spellbook which has lore called Fireball, that it will execute a command to teach the player a specified spell. I know this is difficult to grasp, but if you ask the guys at otherdrops how to set it up they should be able to explain it better :P