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 Apr 12, 2013Awesome Plugin!
-
View User Profile
-
Send Message
Posted Apr 12, 2013@04paynea
Open the Essentials Config and try to find the Overridden commands and put - memory there
-
View User Profile
-
Send Message
Posted Apr 12, 2013I can't use the /memory command for the memory addon because the essentials commands override it. is there anything i can do to get around this?
-
View User Profile
-
Send Message
Posted Apr 11, 2013Can you make a tutorial how to make a custom magic spell. ive been trying but its not working
-
View User Profile
-
Send Message
Posted Apr 11, 2013as a regular server owner/manager, magic spells is the best plugin i've worked with yet. it has the most robust features that are easily implemented. so much functionality. well done nivosin!
-
View User Profile
-
Send Message
Posted Apr 11, 2013Can the 'name:' line have spaces and caps? Like, can it be 'name: Test One'?
-
View User Profile
-
Send Message
Posted Apr 11, 2013@fuzyfeet
Thank you, that is exactly what I was looking for. So if I delete the cost and cooldown lines, they would have no cost or cooldown? That is a good thing to know, thank you.
-
View User Profile
-
Send Message
Posted Apr 11, 2013Ok, I keep trying to go to the guide page and I get directed to a list of suggestions. did the site go down or is it under maintenance?
-
View User Profile
-
Send Message
Posted Apr 10, 2013@joehardy8 Yes you can do 'enabled: false' and no one can cast that spell, but deleting it from the config will make it so that the spell doesn't exist on your server.
@Wazzupp11 For 20 bats I think you would need a muti-spell that casts Spawn Monster 20 times or an External Command Spell and use something like Essentials (I think they have a number-of variable in their spawn command).
@BerryMe You need to use the passive spell with a 'givedamage 261' trigger (yes the ID is for the bow not an arrow, use the bow ID even though they are shooting an arrow). SnugSites and I messed around with passive spells and bows in this forum threadyou might want to take a look at.
-
View User Profile
-
Send Message
Posted Apr 10, 2013@BerryMe
I don't know if you can do that, because the hitting someone with a bow is not a spell. I am myself still trying to configure it for the first time though, so don't go by what I said.
Now I have my own questions which I really need an answer to... If, in the spells-regular.yml, I entirely delete the section for the spell recall, will it delete it from the game as well? Because I do not want some spells in my game. OR, can I just add an 'enabled: true|false' line to all of the spells and alter it that way? If I do not want a spell to have a cost or cooldown, can I just entirely delete the lines in the spell that has the cost information?
Thanks for anyone who can help!
-
View User Profile
-
Send Message
Posted Apr 10, 2013I am trying to make a spell where it has a trigger and then a spell effect?
Any suggestions or help?
Example: Someone is hit with bow (trigger) and a firework goes off (spell effect).
-
View User Profile
-
Send Message
Posted Apr 10, 2013Another question, what happens if I just delete the config for a certain spell altogether. Would it delete the spell from the game, or would it just use default settings or something?
-
View User Profile
-
Send Message
Posted Apr 10, 2013What would be the code to make a custom spell that spawns say, 20 bats that would fly around you?
-
View User Profile
-
Send Message
Posted Apr 10, 2013To enable or disable whatever spells I want, can I just add an 'enabled: true|false' line to it?
And if I do not want a cost, can the cost lines just be deleted? And if I delete the 'str-unknown-spell:' line, will it use the one in the general config?
-
View User Profile
-
Send Message
Posted Apr 9, 2013@poncjusz
Are trying to set up a no reagent class? I'll give you a hand with it if you want to PM me.
-
View User Profile
-
Send Message
Posted Apr 9, 2013PLEASE HELP! Any player who has magicspells.noreagents not only not use the ingredients but also the mana. He do not consume mana! I understand that this is a bug or an incorrect setting of the config file.
-
View User Profile
-
Send Message
Posted Apr 8, 2013Thought these would be GRATE additions! http://dev.bukkit.org/server-mods/magicspells/forum/spellrequests/51197-bunch-of-original-spell-ideas/#p1
-
View User Profile
-
Send Message
Posted Apr 8, 2013yes i see you link but say i just want to copy a spell i have but if i copy it it wont work is thier eny way to help so i dont have to code a brand new spell :(
-
View User Profile
-
Send Message
Posted Apr 8, 2013hey i know in the old magic spells you could create spells how do u do that
-
View User Profile
-
Send Message
Posted Apr 8, 2013Is anyone else dealing a bug with the explode spell/effect? When I use it the effect happens but I can't cast spells afterwards, nothing. I thought maybe it was the spell being on cooldown but that wasn't the case, it applies to ALL spells. I have to log out and log back in to be able to cast again.