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 Mar 26, 2013How can I set a renamed item (264|&bGem|&6AMagicGem.|&6NewLine.) to be the cast item or cost item for a spell?
-
View User Profile
-
Send Message
Posted Mar 26, 2013@Dinastya
Thanks so much. Can you help me with sounds, I want them when they become a Knight, it to play a sound at the moment this is what the effects look like effects: - caster sound step.wood 1.0 1.0 the sound it just a random one but it isnt working can you help.
-
View User Profile
-
Send Message
Posted Mar 26, 2013@Dinastya
Oh, cool. I stand corrected.
-
View User Profile
-
Send Message
Posted Mar 26, 2013@IISpeedyCamelII
Use the permissions magicspells.grant.<spell>
This will grant (give) the spell to the player that has the permission.
And then they can't cast it yet so they still need the magicspells.cast.<spell>
-
View User Profile
-
Send Message
Posted Mar 26, 2013@BerryMe @fuzyfeet
This is not completely right.
You can also set the lore.
Per example to set a diamond renamed to gem with lore magic gem:
Note the Double Underscore this means a space since you can't use spaces.
And note the "|" that means a new line.
-
View User Profile
-
Send Message
Posted Mar 25, 2013@BerryMe
Yes you can 'rename' items but not the lore. If you read through the plugin's docs it's explained in Item Type.
-
View User Profile
-
Send Message
Posted Mar 25, 2013Is there anyway to edit the name and lore of the item? For example when using a conjure spell they can conjure a creeper egg that says, "BOOM" as it's title.
-
View User Profile
-
Send Message
Posted Mar 24, 2013It would be great if someone could help, ive made some custom spells in the config and basically I want it to be known to the player when they spawn as a non op, when they spawn not as a op the only spells they know is list, help and some other ones, not even half to default ones, I dont want to use always-granted: true cus i want them to be given the permission with a command and then they are able to do it. Its quite hard to explain, but I basically want it so they cant cast the spell then I give them the permission then they can cast it, im making a rpg game. :P any help or suggestion will be a great help. Reply to this or please add me on skype: iispeedycamelii
-
View User Profile
-
Send Message
Posted Mar 24, 2013@KeendBoy
Maybe try this setting:
Not sure if it will fix it though this makes it so damage ignores armor so it might also not damage is.
Try true and false and see if it makes any difference.
@irdoom1337
in general.yml config search for this and set it to false:
-
View User Profile
-
Send Message
Posted Mar 24, 2013It would seem that ops are not losing mana is there a way to fix this?
-
View User Profile
-
Send Message
Posted Mar 23, 2013Hey guys !
I need help with something, my players told me some ppl enjoy melting player's armor with explosive spells like explode or explosivearrow. It's really a big problem and I have not found a way to disable or reduce damage done on armors.
Is there a way to do it ?
Much much thanks for your help !
-
View User Profile
-
Send Message
Posted Mar 23, 2013@maccad
Go to your magicspells folder and open spells-regular.yml.
Inside there you have all configuration for all spells.
And why would someone want admin on your server lol.
If you can't figure out how to config your plugins it's probably not good.
-
View User Profile
-
Send Message
Posted Mar 22, 2013If someone knows how to configure the spells so they can have a different cast item and make it work properly I will make them an admin on my server...
-
View User Profile
-
Send Message
Posted Mar 22, 2013I really like this, and am being creative to allow users of my server to choose from THREE different version of mana on my server!
-
View User Profile
-
Send Message
Posted Mar 21, 2013@faesorama
i found what i needed :D
-
View User Profile
-
Send Message
Posted Mar 21, 2013@Dinastya
but i don't need an api to create spells, i need an api to hook to the plugin, to call methods
-
View User Profile
-
Send Message
Posted Mar 21, 2013@Smagsmully
Add these lines to one of your spells if they aren't in there yet. It are just one of the many spell options you can add. See here for a full list: http://nisovin.com/magicspells/spellconfiguration
@faesorama
Source isn't empty and there is a tut how to use the api if you look good. API info: http://nisovin.com/magicspells/customspellcreation Source: https://code.google.com/p/nisovin-minecraft-bukkit-plugins/source/browse/trunk/MagicSpells/#MagicSpells%2Fsrc%2Fcom%2Fnisovin%2Fmagicspells On the left you navigate between folders.
@irdoom1337
Make sure you have the dev version that works with 1.5. But i think one of your spellbook files is corrupted. Try delete your spellbooks and let it generate new ones.
@mclightcraftproduction
I did tell you what to do read a few comments down.
-
View User Profile
-
Send Message
Posted Mar 21, 2013Thank you for the help, I should never help you guys anymore...
-
View User Profile
-
Send Message
Posted Mar 20, 2013@Jik4
if you open
spells-regular.yml
there is a cost section by each spell
-
View User Profile
-
Send Message
Posted Mar 20, 2013One thing that confuses me about this plugin: Where are the mana configuration settings for each individual spell?