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 29, 2012@Zerkhaan
As the configuration page says, you must choose a number from 0 to 8, 9 is too high.
-
View User Profile
-
Send Message
Posted Jun 29, 2012I have a passive spell that has a chance to heal when a player takes damage. The spell is working correctly except for when the player stands directly in fire or lava it seems to have a 100% chance to trigger when I only have it set to 6%.
Edit: This is happening when I have specified the takedamage to only be from swords.
-
View User Profile
-
Send Message
Posted Jun 29, 2012« spell-icon-slot: 9 » crash my game when : After bind the spell Levitate on a object (369), I switch on my inventory bar, and... crash :/
-
View User Profile
-
Send Message
Posted Jun 29, 2012O_o ! Version 2.8 released... <3
-
View User Profile
-
Send Message
Posted Jun 29, 2012@Surgid
yes, use the forget spell. "/cast forget <spellname>" or "/cast forget *" for all spells. Either that, or delete their spellbook txt file in the /spellbooks/ folder
-
View User Profile
-
Send Message
Posted Jun 29, 2012Yay! Official version! :D
twho things I'd personally love to see added to cast modifiers if possible
hook cast modifiers into vault as an OPTIONAL add-on and add currencyabove and currencybelow modifiers
add a sort of "if target is (entity name here)" condition so we can make spells do different things depending on what you're casting them on. Say I want a holystrike spell that hurts undead but heals everything else, would add SOOOOOO many possibilities(possibly just extend "givedamage" to optionally trigger on specific entities if we list them?)
-
View User Profile
-
Send Message
Posted Jun 28, 2012Is there a way to remove ALL the spells someones knows
-
View User Profile
-
Send Message
Posted Jun 27, 2012I need temporary permissions with PermissionsEx : my favourite plugin which works with all my plugins :( I don't understand why it is not possible, so hard to add temporary permissions ? In the plugin OtherDrops, it works fine : there is a similar system of temporary permissions ! I'm sure it is possible ! Look at this page : http://dev.bukkit.org/server-mods/otherdrops/pages/parameters/ at "Actions"
Thanks.
-
View User Profile
-
Send Message
Posted Jun 27, 2012@deleted_6837836
Place them like so:
"351:1"
Since it got a sub id and : u need to add the " "
-
View User Profile
-
Send Message
Posted Jun 27, 2012@nisovin
Strange, because when I did
cast-item: 351:1
The red rose didn't have the spell attatched to it. And I have grant to all spells.. Probably a formatting error. 351-1 or 351.1 or 351001 or something?
-
View User Profile
-
Send Message
Posted Jun 26, 2012@deleted_6837836
Yes.
-
View User Profile
-
Send Message
Posted Jun 26, 2012Can items with damage values be set as wands? Say, lapis lazuli for example.
-
View User Profile
-
Send Message
Posted Jun 26, 2012@nisovin
takedamage seems to work from mobs, but fall damage/firedamage/players does not seem to trigger it.
I tried it on the newest RC1 build. If you can't replicate it then I guess it's just me.
I tried bukkit builds #2222 and #2244
-
View User Profile
-
Send Message
Posted Jun 26, 2012@nisovin
-_____- I feel dumb
-
View User Profile
-
Send Message
Posted Jun 26, 2012@Lunthus
You can just set the cast-item option for the spell... though your solution is certainly clever.
-
View User Profile
-
Send Message
Posted Jun 26, 2012Are there ways to set wands to certain items? I can't seem to find this if it is there, the only other option I found was by binding the spells individually. Oh and I really love this plugin, the reason why I'm doing this is because I'm trying to bind it before hand that way players can get it instantly and it allows me to use it for an RPG class I'm making on my server. Edit: Yes!! I found out how to do this. All I did was made it so players learned the item let's say it's a wooden pick and just name the spell wall:270: in the config, that way when the player learns it, the plugin will think it's being bound to 270 instead with the spell "wall". Not sure if this was bound to happen, but anyways, really awesome find and now one of my favorite plugins just because of how flexible it is and how I can make my own spells and edit them with java :D.
-
View User Profile
-
Send Message
Posted Jun 26, 2012@SovietWinter
If setting the graphic effect doesn't work, then you probably can't override the default potion effect.
I also can't seem to replicate any of your problems. The levitate spell works fine for me, as do all of those passive triggers.
-
View User Profile
-
Send Message
Posted Jun 26, 2012@Har88
I'm going to delete your post, sorry. I wouldn't mind if you mention you have a server running MagicSpells, but asking for donations is too much.
@broluigi
There's an option in the general config as well as one in the bind config.
-
View User Profile
-
Send Message
Posted Jun 26, 2012@Har88
Uh dude, you shouldnt be asking people to donate here.. it makes you seem unproffesional. How do i allow players to cast spells with their hands and not weapons?
-
View User Profile
-
Send Message
Posted Jun 26, 2012I have a couple questions.
I'm having an issue with levitate. Sometimes it just doesn't cast the spell. I'm not sure what the issue is, but it'll ignore a click and I'll have to click it again to cast the spell.
Also is there a way to override potion visual effects? Like if I want to use the gold apple effect in a spell, but use a different potion effect visual? Right now the potionspell effect overrides the graphic effect option.
Also for passive spells triggers: sneak, sprint, takedamage do not seem work.
Thanks