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 Dec 4, 2012This is a REALLY cool plugin. Unfortunately, the Quester plugin and it don't seem to play well. Whenever I begin to try to take on a quest, MP freaks out all over my console. When clicking on a sign quest, I get:
null (java.lang.reflect.InvocationTargetException)
-
View User Profile
-
Send Message
Posted Dec 4, 2012Anyone else get an issue where if someone /forgets a spell, and that spell is bound to an item, they keep that spell, but only on that item.
I would like this looked into plz because it means players on my server can have as many spells as they want.
-
View User Profile
-
Send Message
Posted Dec 3, 2012can you make some necrotic spell and use the throwing witherskulls ability from the witherboss?
-
View User Profile
-
Send Message
Posted Dec 3, 2012@broluigi
That sounds like LWC protecting the sign, not this plugin or magicspells shop.
@SovietWinter
We usually update to whatever the latest dev build is every few days. So most likely whatever the most recent one is.
-
View User Profile
-
Send Message
Posted Dec 3, 2012whats the requirement to buy from the scroll and spell shops? when i try buying them as OP it works but as a normal player it says this sign is locked with magical spell
-
View User Profile
-
Send Message
Posted Dec 3, 2012@Faldonboy
Hmm, that's strange. I really want to have it work for me as well. What bukkit build are you on?
-
View User Profile
-
Send Message
Posted Dec 2, 2012There is a bug. After some time all the spell shop signs go blank. A restart helps. Please fix :)
-
View User Profile
-
Send Message
Posted Dec 1, 2012@nisovin
I can confirm the entomb thing too. However, I have no problem hitting invisible players with melee attacks, or spells. The only spells that seem to fail at times are targeted command spells.
-
View User Profile
-
Send Message
Posted Dec 1, 2012@SovietWinter
The invisibility thing isn't surprising, and I doubt it can be fixed. When a player is invisible, the players nearby have no idea they player is there, so they can't hit them with a sword. Other sources of damage should still work though, like falling, lava, AOE spells, etc.
The emtomb thing doesn't make sense though. Are you sure that's really happening?
-
View User Profile
-
Send Message
Posted Dec 1, 2012There's a weird issue with melee damage and spells. I set invisibility to disable if they take damage, but once I vanish even if I stand directly in front of them their hits do not land. A bow will hit, but melee hits just don't connect at all.
Same thing happens with entomb. If I cast it on someone, I used to be able to break and glass and hit them in the face with the sword. But now they don't take damage from being hit with my sword. Bow damage works in this occasion as well.
-
View User Profile
-
Send Message
Posted Nov 30, 2012This plugin is amazing! Any chance of integration mcmmo leveling? Can vault do that? Hmm.
-
View User Profile
-
Send Message
Posted Nov 30, 2012Awesome plugin, thanks a lot :)
-
View User Profile
-
Send Message
Posted Nov 28, 2012@nisovin
No, none. Everything else seems to work fine too.
-
View User Profile
-
Send Message
Posted Nov 28, 2012@Faldonboy
Are you getting any errors? It seems to work fine for me.
-
View User Profile
-
Send Message
Posted Nov 28, 2012Using your last dev build(with the new separate ymls) disabled mana even though its enabled in the mana.yml(it always says you don't have enough mana, the /mana command also doesn't work) But it works fine if I enable my old config.yml
-
View User Profile
-
Send Message
Posted Nov 27, 2012Thanks so much for adding my request to throwblock, its amazing! On a side-note, could you explain the durability reagent option? I'm assuming that it takes durability from the held item or from armor if you're wearing it. Could you give an example of how to use it though?
-
View User Profile
-
Send Message
Posted Nov 27, 2012Hey are passive on-hit effects working now? because last time i tried to make a passive spell that did something each hit, it would require the player to wait at least 1 second before attacking again to get the effect. If this still happens, mind fixing it Nisovin?
-
View User Profile
-
Send Message
Posted Nov 27, 2012@nisovin
lmao *facepalm* thanks
Edit: It appears the remove-blocks parameter is buggy, it only does it about 20% of the time.
Edit 2: Bit of an odd request, not even sure if it can be done, but, would it be possible to add some sort of "direction" option that forces the block to be shot in a configured direction instead of just where you're looking at, with optional pitch/yaw support?
-
View User Profile
-
Send Message
Posted Nov 26, 2012@Faldonboy
You spelled 'instant' wrong.
-
View User Profile
-
Send Message
Posted Nov 26, 2012Can you add throwblock to the default configuration? I tried adding it myself but it says the class file is missing(even though I'm staring right at it in the .jar)
Also, Any chance you can add support for potion ambiance in the potioneffect spell to make the bubble effect less intrusive?