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 9, 2013Can you make it so they can right click a enchanted book and learn the spell, I want it so Npc's (citizens Plugin) can sell books to players then the players can right click the book to learn a spell, Can you do that?, if you could, i would be very grateful
-
View User Profile
-
Send Message
Posted Jun 9, 2013@centaurianArcher
I want to integrate it in with loreattributes, so i could have say +10% cast speed and +20$ spellpower and other stuff similar to how loreitems has +10% critical chance and +2 Attack speed
-
View User Profile
-
Send Message
Posted Jun 9, 2013@Zarkiel7
I don't know that one. Sorry. :-/
If you're able to have items cast MagicSpells spells, though, then you could find a sneaky workaround with passive spells, but it might not be exactly the same.
-
View User Profile
-
Send Message
Posted Jun 9, 2013i have been using this plugin for quite a while now, and i think there should be a potion to regenerate mana
-
View User Profile
-
Send Message
Posted Jun 8, 2013@Necromedes
You want to use the Ritual Spell and have it trigger an External Command Spell that does the command from that plugin.
-
View User Profile
-
Send Message
Posted Jun 7, 2013Quick question. Is it possible to add other plugin commands to spell effects? For instance, the plugin Iron Guardian creates an iron golem pet that will attack anything that you command it to, like a wolf. Would a person be able to make a summon spell that requires several people to cast to create an Iron Guardian?
-
View User Profile
-
Send Message
Posted Jun 7, 2013@centaurianArcher
Is it possible to use the "holding" modifier with lore required on the item? So a sword that says +10% spellpower i can modify the power of the item accordingly?
-
View User Profile
-
Send Message
Posted Jun 7, 2013@kindledcrown
You could try the official development builds? (http://nisovin.com/magicspells/developmentbuilds)
I don't know if they work for 1.5.2, myself, though.
-
View User Profile
-
Send Message
Posted Jun 7, 2013Do you know when they'll be updating this plugin for 1.5.2? I'd love to play around with the configs again on my server.
-
View User Profile
-
Send Message
Posted Jun 7, 2013Hey, I really like Your plugin, but I have a problem, I made a simple sniper spell, it launch a snowball that when It touch entity it explode with lvl 1 explode, the problem is When somebody kill a player with it, it doesn't count as a kill For the killer, I have a kit Pvp server that when somebody kill someone He get money, also if I hit someone and then shoot him I get money Please help me, and sorry for my bad english
-
View User Profile
-
Send Message
Posted Jun 7, 2013Is it possible to use the "holding" modifier with lore required on the item? So a sword that says +10% spellpower i can modify the power of the item accordingly?
-
View User Profile
-
Send Message
Posted Jun 7, 2013@fuzyfeet
Wow thank for the quick response dude. Yeah that should work nicely. I have one more question. In what config file should I put that command to make it a general one (so it works on all spells)?
-
View User Profile
-
Send Message
Posted Jun 7, 2013@ZerOMKD
MagicSpells CastModifiers
-
View User Profile
-
Send Message
Posted Jun 7, 2013Is there any way to stop players from casting spells if they are wearing iron armor or above? I want my mages to be squishy but powerful (and only wear leather armor).
-
View User Profile
-
Send Message
Posted Jun 6, 2013I found out the issue, I didn't put in ' cast-without-target: true ' since the spell is a self target. Works now :D
-
View User Profile
-
Send Message
Posted Jun 6, 2013@monstercat101
I don't know why it's not working for you, but you could try using the Haste Spell? It essentially does what you're lookin' for; It applies the Speed potion effect while the beneficiary is sprinting, reapplying it every few seconds.
http://nisovin.com/magicspells/hastespell
-
View User Profile
-
Send Message
Posted Jun 6, 2013@monstercat101
try using a passive spell with the projectile spell as the spell the passive triggers, and make the passive have a cooldown and mana cost. thats what i used to do.
-
View User Profile
-
Send Message
Posted Jun 6, 2013I am trying to give a player a potion effect when they sprint, it works fine when the spell is targeted at another player, but not when targeted at yourself. This is my config.
http://dev.bukkit.org/paste/7899/
Also, projectile spells don't seem to work, I copied and pasted the example spell there, renamed my bow with an anvil and it doesn't cast the spell when I use the bow. What am I doing wrong?
-
View User Profile
-
Send Message
Posted Jun 5, 2013Nisovin, can you integrate "health bar" plugin into the disguisespell, my players who disguise show their name but not their health above their heads.
-
View User Profile
-
Send Message
Posted Jun 4, 2013@04paynea
Yes! Under General Configuration(http://nisovin.com/magicspells/configuration) there is a setting named "separate-player-spells-per-world." Setting this to "true" will give each player a separate list of spells for each world.
Additionally, there is a setting under Spell Configuration(http://nisovin.com/magicspells/spellconfiguration) named "restrict-to-worlds" that allows you to prohibit the use of that specific spell in worlds not on the given list.