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 Jul 11, 2013@SnugSites
Thanks
-
View User Profile
-
Send Message
Posted Jul 11, 2013@LaughNgamez
You could require players to have the 'cast perm' to cast a spell. That way you can grant all spells to all players, and lean on the 'cast perm' to particular groups/ranks. Investigate config options like: "default-all-perms-false: false" and "only-cycle-to-castable-spells: true"
-
View User Profile
-
Send Message
Posted Jul 11, 2013@irdoom1337
http://nisovin.com/magicspells/externalcommandspell
-
View User Profile
-
Send Message
Posted Jul 11, 2013@ModingMc
http://nisovin.com/magicspells/itemtype
-
View User Profile
-
Send Message
Posted Jul 11, 2013How do u make colored armor in a conjure spell?
-
View User Profile
-
Send Message
Posted Jul 11, 2013Is there a feature that will allow me to make any command from another plugin into a spell. for example I could make "/mobspawn horse" a spell. I remember someone on my serve linking me to a tutorial on how to do it but i lost the link.
-
View User Profile
-
Send Message
Posted Jul 11, 2013Ability to un-teach spells? A player has been abusing his power, and we're putting a stop to it, any way to remove his access to /cast command?
-
View User Profile
-
Send Message
Posted Jul 10, 2013when i rank players say to Mod rank, they learn the spells from that group, however when i remove them from the group they still have the spells saved in there spell book, how do i fix this without always having to clear spell books.
-
View User Profile
-
Send Message
Posted Jul 10, 2013Permssions for Magic Shop is not working. Any one can make a sell shop....
-
View User Profile
-
Send Message
Posted Jul 10, 2013Is anybody else having a problem with external command spells not working in 1.6?
-
View User Profile
-
Send Message
Posted Jul 9, 2013@sakura_blades
Probably best to post this to the forum for further discussion, but there are several things wrong with the format of your spells. ie. you don't just define your own spell classes (targeted.SufferingSpell) should likely be (.targeted.PainSpell) - and it looks like you will need a MultiSpell to acheive what your looking for among other things.
-
View User Profile
-
Send Message
Posted Jul 9, 2013@cheesepants8
Spell Effects
-
View User Profile
-
Send Message
Posted Jul 9, 2013An Idea From Me: I've noticed that the spells are really good, but when you cast the spell it just seems boring. There's nothing to make you go "WOW! That Spell Looks Really Cool!". So if you have time, could you add effects when you cast a spell. For example, when you cast Ignite it'll spawn the "Mob Spawner Fire" particle effect, or shoots a red firework. I think this will make the plugin look a lot better then it already is!
-
View User Profile
-
Send Message
Posted Jul 9, 2013HI! i have an idea for the 1.6 version of this! its always tough to figure out how much mana you have, so maybe if your player had the absorbsion hearts that could act as a mana bar! just thought i'd throw an idea out there
-
View User Profile
-
Send Message
Posted Jul 9, 2013I haven't had a chance to try this plugin out on my server yet, but it looks like it's going to be a lot of fun and it's allowed me to create classes that will be able to cast magic. However I am a little leary about opening my server when one of my key spells keeps giving me this error.
2013-07-09 06:32:59 [WARNING] [MagicSpells] Unable to load spell suffering (missing class com.nisovin.magicspells.spells.targeted.SufferingSpell
No matter how many time I try to solve the issue, I just cannot figure it out. Please help?
suffering:
spell-class: ".targeted.SufferingSpell"
name: suffering
spell-icon: bone
description: Cause your enemy to suffer.
cast-item: blaze_rod
cooldown: 5
damage: 4
range: 15
ignore-armor: false
obey-los: true
target-players: true
check-plugins: true
cost:
- mana 10
- health 1
str-cost: 10 mana and a half heart
spell:
- suffer
suffer:
spell-class: ".targeted.PotionEffectSpell"
name: suffer
spell-icon: spider_eye
chance: 45
cooldown: 15
type: 20
strength: 1
duration: 100
Is it even possible to have a spell do it's own damage as well as add a potion effect?
-
View User Profile
-
Send Message
Posted Jul 7, 2013Okay, now I have a real problem. How do I disable destroying blocks? People have been using /cast zeus to grief others! I have blocked 'other-explosions' in spawn but people seem to grief other houses without WorldGuard protection. Any help? Thanks :3
Omaigawd. I am so sorry again DX. I found the solution... AGAIN. I'm really sorry for posting this stuff without trying. Next time, I will! Also, VERY hawt plugin :P. Lots of players on my server seem to enjoy it. They actually use it for PvP :D
-
View User Profile
-
Send Message
Posted Jul 7, 2013How do I remove spell binds? Everytime I use my sword it casts firenova T_T. Ples halp.
Found solution. How stupid of me to not check the spells xD Sorry about dat.
-
View User Profile
-
Send Message
Posted Jul 7, 2013I have a problem, I am trying to set up a team randomizer by using the variable cast-random-spell-instead, but the multi-spell isn't casting anything. What am I doing wrong? Is their a better way to do team selection? http://pastebin.com/Udgc78Hg
Any help is appreciated, Thanks!
-
View User Profile
-
Send Message
Posted Jul 7, 2013Are all skills that effect the world temporary? Like the firenova and the glassprison thing?
-
View User Profile
-
Send Message
Posted Jul 7, 2013@nisovin
Ah ty