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 May 5, 2012Will the incantations be case sensitive or will it be as long as they type (/say) the word with the punctuation it will execute?
-
View User Profile
-
Send Message
Posted May 5, 2012@Faldonboy
-
View User Profile
-
Send Message
Posted May 5, 2012Can you give an example of a spell with an incantation option being used?
-
View User Profile
-
Send Message
Posted May 4, 2012@nisovin
Awesome! Perfect! I'm launching it now...ty ty ty!
-
View User Profile
-
Send Message
Posted May 4, 2012@countelvin
Just make a really big no-magic zone. Like -100000,0,-100000 to 100000,256,100000.
-
View User Profile
-
Send Message
Posted May 4, 2012I LOVE this plugin and haven't been able to work it into my server because i'm using multiple worlds. Is there a way to make entire worlds no-magic zones? Or...have only one world enabled for magic us?
-
View User Profile
-
Send Message
Posted May 4, 2012Right now im not running any permissions plugins but my normal members cannot "target" admins with any magic spell requiring targeting (combust, entomb, ect) spells like fireball or explode work fine..Any help?
-
View User Profile
-
Send Message
Posted May 4, 2012@woodendinosaur
thx but i meant the config.
Ps: Im just a beginner at java. I cant make a spell yet seems very hard i can only make a simple message plugin :( I cant get more advanced then that nomatter how hard i try.
-
View User Profile
-
Send Message
Posted May 3, 2012@robbcap
for custom spell creation:
http://nisovin.com/magicspells/customspellcreation
for spell copies:
http://nisovin.com/magicspells/spellcopies
-
View User Profile
-
Send Message
Posted May 3, 2012I cant find anywhere where it says how to make your own spell. like i wanna make a teleport spell but i dont know how :(
-
View User Profile
-
Send Message
Posted May 1, 2012@Scotlock
You need to give grant permissions as well if you want the players to automatically know the spells. Also, as that config page says in bold at the top, not all options are on every spell in the example config, you can add them if you need them. If you're looking to disable spells you can also just delete them completely from the config.
@Nuinethir
Yes, it's the same plugin, and yes, that feature is available. Look at the Spellbook Spell.
-
View User Profile
-
Send Message
Posted May 1, 2012I remember a plugin like this before Bukkit that had similar spells (maybe this is the same one?). You could learn a spell via bookshelf blocks by right-clicking on it. My admin would put them in hidden locations throughout the map at the end of dungeons so that the spell could not be given, it must be earned.
Is there a feature like this in MagicSpells? If not, would I be able to make it work like this using MagicSpellsShop? Thanks! :)
-
View User Profile
-
Send Message
Posted May 1, 2012Greetings, maybe i'm just dumb, but i have a little issue with using MagicSpells, i've spent a few hours trying to set it so all default players can use the spells Fireball Firenova and Flamewalk for the Mobarena but this isn't working, and i'm not sure why... i'm not getting any error messages when people try to cast them.
I've also found something odd in your config spell help it says : (The following configuration options are available for all spells)
however, the only place where i see Enable as a option is on the Bind spell, and i'd like to disable all spells but fireball fire nova and flamewalk.
The permissions plugin i'm using is PermissionsEx, here is a paste bin of my config and permissions : http://pastebin.com/jrRXbLat http://pastebin.com/gR2r5Eq7
So whats up here? am i missing something? All i want people to do is be able to use the spell items, blaze rod and fire charge in the arena as a warlock class, and throw fireballs/firenovas.
-
View User Profile
-
Send Message
Posted May 1, 2012@rurikar
thank you it worked, how much do you know about bpermissions?
-
View User Profile
-
Send Message
Posted Apr 30, 2012As part of the graphical effects is there any chance you can/will add the eating and item breaking effects?
-
View User Profile
-
Send Message
Posted Apr 30, 2012@nisovin
http://pastebin.com/fwJsXJYD
-
View User Profile
-
Send Message
Posted Apr 30, 2012@Faldonboy
Can I see your full config?
-
View User Profile
-
Send Message
Posted Apr 30, 2012Ever since the last dev build magic spells hangs really badly upon server reloads and restarts for no apparent reason, sometimes even kicking everyone off the server or on a few rare cases crashing it completely. The only thing that i've changed since this version on my end is the addition of 30 spells bringing my total to 139 spells..I have configs 10x the size of that so I can't really see that being the problem.. Any ideas?
Also, I can't get this spell to work at all, it casts but no healing effect happens.
-
View User Profile
-
Send Message
Posted Apr 29, 2012@ajreilly13
lol tell them to talk in chat. Not kidding, bpermissions has this bug where it doesn't "update" there change to the group until they talk in chat.
-
View User Profile
-
Send Message
Posted Apr 29, 2012Thanks for all your help but I have come to another problem, I have people in one group in bpermissions and when they change over to another group they can't seem to be able to use multi spells after they have changed over unless I reload the server. Is there a way round this and thanks again for your brilliant plugin and you helpful advice.