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 27, 2013@fuzyfeet
Oh yeah, i didn't even think of that. Thanks!
Edit:
I cannot make learning tomes using: /cast tome <spellname> [uses]
"/cast tome fireball 1"
I get "You do not know a spell with that name."
-
View User Profile
-
Send Message
Posted Jan 27, 2013@metalguitarist
Just use Hunger as the cost for the spell and save the hassle...
-
View User Profile
-
Send Message
Posted Jan 27, 2013Hi, can you make it so when you display mana on the food bar, mana actually = hunger? Or maybe a second option for that.
That way when your hunger and mana are always sync'd together and people don't get confused. For example: When players respawn or eat food their hunger goes up, but not their mana. Once you try using anything related to mana it updates. This could be tricky and players might go into battle thinking they have mana when they actually don't.
-
View User Profile
-
Send Message
Posted Jan 27, 2013@tarahere81
The roar spell has never affected players.
-
View User Profile
-
Send Message
Posted Jan 27, 2013Hi there :] Before 2.12 I could use roar to "grab a player" to me while also attracting monsters.
Can you redo the spell to allow player targets once again ? Or tell me how to do it ?
Thanks again for an awesome plugin :D
I have Nisovin The Horror stalking the noobies in my evil dungeon !
-
View User Profile
-
Send Message
Posted Jan 26, 2013HI, just wondering if anyone else is having problems with 1.4.7? whenever i try to use /cast it just comes up with "/cast" and does nothing, there are no erros in the console either
anyone got any ideas?
-
View User Profile
-
Send Message
Posted Jan 26, 2013@nisovin
I'm referring to updating the castmodifers to support the advanced item type features introduced in v2.10. More specifically, custom item names.
I only brought it up because the status of my ticket was changed to Accepted on Jan 3.
-
View User Profile
-
Send Message
Posted Jan 25, 2013@nisovin
Would that be caused if say an icon was repeated?
-
View User Profile
-
Send Message
Posted Jan 25, 2013@nisovin
When will u be updating Disguisespell ?
-
View User Profile
-
Send Message
Posted Jan 25, 2013@artlune
I wasn't aware there was a problem. Are you getting an error?
@dothackking
Have you thoroughly read the permissions information on this page?
http://nisovin.com/magicspells/permissions
-
View User Profile
-
Send Message
Posted Jan 25, 2013@dmulloy2
Yes, that is caused by an invalid spell-icon value.
-
View User Profile
-
Send Message
Posted Jan 25, 2013http://pastie.org/5862611 Is this a config error? c:
-
View User Profile
-
Send Message
Posted Jan 24, 2013If there a way to get rid of mana from a person? I have a Pulser block that I want to deplete mana from other players, Like a trap. Thanks
-
View User Profile
-
Send Message
Posted Jan 24, 2013I seriously love this plugin. Unlike a lot of bonus skill power plugins I've tried, this one always works (nearly) without a hitch. Thanks for your great work on it!
-
View User Profile
-
Send Message
Posted Jan 24, 2013@nisovin
Okay, thanks for your help!
/RawTech
-
View User Profile
-
Send Message
Posted Jan 24, 2013Hello, I am using this with another plugin where the plugin grants you permissions when you type a command, but the problem is that everyojne can learn and cast every spell, even though they only have like 3 permissions set up when they type the command. Please help, i'm hoping to launch my server in a week or so
-
View User Profile
-
Send Message
Posted Jan 23, 2013Any progress on updating CastModifiers?
-
View User Profile
-
Send Message
Posted Jan 23, 2013@RawTech
Adding a lore will make it not work, because it won't be the same item. The way you have it there should work fine though.
-
View User Profile
-
Send Message
Posted Jan 23, 2013@nisovin
Items are spawned through my own plugin as I need to add a name and a lore to the specific item. Though I've tried with and without a lore with no prevail.
Above is an equivalent of how I add the name to the item.
I can get the item to work as a "cast-item" for a particular spell by specifying the itemtype "266|§r§bCoin".
Thanks for your help. /RawTech
-
View User Profile
-
Send Message
Posted Jan 23, 2013@RawTech
How are you spawning the named items?