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 Dec 23, 2013@Mordrogg
You see if you set the cast item of a spell to a iron sword, if the sword takes any damage it can no longer cast the spell. because the data value on the sword changes.
-
View User Profile
-
Send Message
Posted Dec 23, 2013@OMZIGIAN
IDK what you exactly mean but you might find it there Bind Spell
-
View User Profile
-
Send Message
Posted Dec 22, 2013Is there a way for the cast item to be an item without a specific data value?
-
View User Profile
-
Send Message
Posted Dec 22, 2013When i use drainlife i get error java.lang.NoSuchMethodError: org.bukkit.entity.LivingEntity.damage(ILorg/bukkit/entity/Entity;)V at com.nisovin.magicspells.spells.targeted.DrainlifeSpell.drain(DrainlifeSpell.java:89) at com.nisovin.magicspells.spells.targeted.DrainlifeSpell.castAtEntity(DrainlifeSpell.java:154) at com.nisovin.magicspells.spells.instant.ParticleProjectileSpell$ProjectileTracker.run(ParticleProjectileSpell.java:305) at com.nisovin.magicspells.MagicSpells$3.run(MagicSpells.java:860) at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftTask.run(CraftTask.java:58) at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:808) at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:327) at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:763) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:645) at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16) 19:23:54 [WARNING] [MagicSpells] Task #837 for MagicSpells v3.0-b6 generated an exception
-
View User Profile
-
Send Message
Posted Dec 18, 2013Where can I find the sources of the v2.16.1 ?
-
View User Profile
-
Send Message
Posted Dec 13, 2013@The_Mindorotaur @nisovin
You need something like PEX or groupmanager that are permission plugins. :P Google Groupmanager and learn how to work with it, than you will be fine :P
-
View User Profile
-
Send Message
Posted Dec 12, 2013@The_Mindorotaur
Just don't give anyone else the teach spell and you'll be fine.
-
View User Profile
-
Send Message
Posted Dec 12, 2013Permission...? Plugin...?
-
View User Profile
-
Send Message
Posted Dec 12, 2013@The_Mindorotaur
Not through MS. That is a permission thing, handled by your permission plugin.
-
View User Profile
-
Send Message
Posted Dec 12, 2013@Fuzyfeet Can I do that through commands?
-
View User Profile
-
Send Message
Posted Dec 12, 2013@The_Mindorotaur
Just remove the permission node magicspells.teach.* from all other players.
-
View User Profile
-
Send Message
Posted Dec 12, 2013My friend is making a server and I am to be the only one in it with the ability to use magic until someone else is taught by me. In which case I don't want them to be able to teach the spell that they learned to anyone else. Is it possible to set this up? If so is it possible to set it up in game?
-
View User Profile
-
Send Message
Posted Dec 10, 2013@Reggelord
making the vertical hit radius greater would only cause the spell to throw the target further into the air
-
View User Profile
-
Send Message
Posted Dec 9, 2013@Mordrogg
making the vertical hit radius greater would only cause the spell to throw the target further into the air
-
View User Profile
-
Send Message
Posted Dec 9, 2013@Reggelord
if you wanted your tornado to constantly throw your enemies without having to reactivate it when they hit the ground, then you would have to make a new multispell using the forcetoss spell. You would make the multispell cast forcetoss ovef and over again with a small delay inbetween. and then you would add your new spell to be cast as a particle as you have already done with forcetoss.
-
View User Profile
-
Send Message
Posted Dec 7, 2013@WilliamtheChad
Are you sure it was 100 seconds? Well, you should know some numbers use server ticks
-
View User Profile
-
Send Message
Posted Dec 7, 2013The duration for the potion effect spell seems to not be working. I put in 100 seconds, and it only goes for 4.
-
View User Profile
-
Send Message
Posted Dec 7, 2013@Mordrogg
Thx bro ;d
-
View User Profile
-
Send Message
Posted Dec 6, 2013@Reggelord
Make vertical-hit-radius greater.
-
View User Profile
-
Send Message
Posted Dec 4, 2013How can i make this tornado to throwing enemies into the air all the time? because i always have to wait they hit the ground http://pastebin.com/KkCAuX7A Please help