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 Sep 16, 2012When will a dev version that has the disguise spell be available? :)
Also, some suggestions for passive triggers:
Fall - would trigger the passive if you fall the defined amount of blocks without hitting anything solid.
Depth - Triggers if you are within the specified depth(Could also work as a cast-modifier)
Location - Would work somewhat similar to rightclickblock in that you would specify the world and the xyz coordinates, the passive would trigger if you come within a specified radius of those coordinates(Might work better as a cast-modifier)
-
View User Profile
-
Send Message
Posted Sep 15, 2012I want players to be able to learn certain spells (by buying them with shops) but not have the ability to teach them, how would I go about that since it's on by default?
Would I add like "-magicspells.teach" to default perms or could I add a "always-granted: false" to the Teach section in the config.yml?
NM figured it out, set no default perms to true in config then just added learn and cast for each. I'm guessing the no perms setting on means they dont get teach by default.
-
View User Profile
-
Send Message
Posted Sep 15, 2012@Faldonboy
Whats the permissions node to instantly grant players a spell? so they can cast it right away, and the node to let players /cast list ...!!!?
-
View User Profile
-
Send Message
Posted Sep 15, 2012Whats the permissions node to instantly grant players a spell? so they can cast it right away, and the node to let players /cast list ...!!!?
-
View User Profile
-
Send Message
Posted Sep 15, 2012@dannob123
You either grant them with magicspells.grant.(spellname) teach them with the teach spell, tome spell or spellbook spell. Or if you have other plugins that can run external commands via console then you could have said plugin use the teach spell too
-
View User Profile
-
Send Message
Posted Sep 14, 2012Ok so how do other players learn the other spells?
help
-
View User Profile
-
Send Message
Posted Sep 13, 2012@MattSheridan
Old problem, make sure the bookcase isn't near a sign or any other "block" that isn't full-sized, like paintings etc.
-
View User Profile
-
Send Message
Posted Sep 13, 2012Huh. Just ran into something odd: the Spellbook spell doesn't seem to recognize bookcases. They're still data value 47, right? That's what I've got in my config, definitely. And when I try to create spellbooks, I get the "You must target a bookcase to create a spellbook" message. And I am definitely targeting bookcases.
EDIT: Or maybe I'm completely wrong about that. Suddenly, it works again. Maybe where I placed the first bookcases was the problem...
-
View User Profile
-
Send Message
Posted Sep 13, 2012@nisovin, congrats on being your 1000th comment here :P
Anyways. With the new Pulser, a few questions: - If a user breaks the block, I assume nothing drops - is that true? - Does the user need to know the spell the Pulser is going to emit, to use it?
-
View User Profile
-
Send Message
Posted Sep 12, 2012@nisovin
Hey Nisovin, Could you Update the page here? And check the PM I sent you? Thanks
-
View User Profile
-
Send Message
Posted Sep 12, 2012@LihPeu
The conjure spell can use the same formatting on conjured items.
-
View User Profile
-
Send Message
Posted Sep 12, 2012@nisovin
Brilliant thank you, i was unaware of this documentation :D
Ok i think i misunderstood the new feature, i thought you could conjure enchanted items, but i think you mean you can now specify a enchanted item as the spell cast item?
Thanks again nisovin, your plugin provides such flexibility its amazing. If you need to test any dev builds, we run a very hectic PVP game with 192 spells :D
-
View User Profile
-
Send Message
Posted Sep 12, 2012@LihPeu
http://nisovin.com/magicspells/itemtype
-
View User Profile
-
Send Message
Posted Sep 12, 2012The Conjure spell now supports enchantments? I don't see that in the code and if i overlooked it, can someone please explain the format i should use?
-
View User Profile
-
Send Message
Posted Sep 12, 2012Aw, beautiful! The end of Bookworm dependancy! Also, Pulser and Dowse sound like extremely cool spell types. I think I can come up with some very fun uses for those.
-
View User Profile
-
Send Message
Posted Sep 11, 2012There are spell 'scrolls' but with 1.3 how about spell books? (actual books)
-
View User Profile
-
Send Message
Posted Sep 11, 2012@watdidyusaey
Disguise spell is the last thing he did for magicspells on the 31st of August, you can see the change in the change log here Source
-
View User Profile
-
Send Message
Posted Sep 11, 2012YES
an update <3
-
View User Profile
-
Send Message
Posted Sep 11, 2012@dannob123
You can either have ops or other people "teach" spells or make tomes for players. Or you can make shops, etc.
@LihPeu
Yep, all the Dev builds are flawless. Where do you see the disguise spell?
-
View User Profile
-
Send Message
Posted Sep 11, 2012@SuperMinecraftBrosMC
I found this command in the code is /c resetcd you can also do /c resetcd <player> Also found this one if you need it /c resetmana <player> It doesn't appear to check for a permission node only OP so i have to give temp op to let people use it.
Hasn't been a dev build since 22nd Aug is everything ok? I noticed the new disguise spell, going to be really helpful for dvz.
Great plugin, well coded, never had problems with any dev builds!