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 Nov 20, 2013Please update to 1.2.7 bukkit, when it comes out! I know you will, it's just I love your plugin so much that I literally cannot have my server without it. Thanks for all the effort you have put into this, and keep up the amazing job!
-
View User Profile
-
Send Message
Posted Nov 18, 2013Sending you a PM. I'm really wanting to redo how skills are learned in Heroes and you're my only hope :3
-
View User Profile
-
Send Message
Posted Nov 17, 2013@Zobot2
Post detailed spell requests here.
http://nisovin.com/forums/index.php?forums/spell-and-feature-requests.5/////
-
View User Profile
-
Send Message
Posted Nov 17, 2013Hey man could you possibly make a spell to switch players health so like one person has 1 heart and the other has 20 hearts the person with 1 heart switches and gets 20 hearts and the person with 20 hearts gets 1 heart
-
View User Profile
-
Send Message
Posted Nov 16, 2013is there any plan to update magicspells memory addon?
-
View User Profile
-
Send Message
Posted Nov 13, 2013It says an internal error occurs when I attempt to cast tht default prayer and pain magic. version 3.0
-
View User Profile
-
Send Message
Posted Nov 12, 2013Guys i need help ASAP , Particles wont Work on My Bukkit server i mean , Particles is on ALL But Edited Spells dont work ? like dripLava , ANy help??/
-
View User Profile
-
Send Message
Posted Nov 11, 2013@jrdnlsk
i'm not sure if friendly fire is always deactivated for factions. Also, the pulser spell doesn't give damage to a player in the same faction, however it casts the spell and consumes "ammo". Finally, friendly fire is active with allies.
-
View User Profile
-
Send Message
Posted Nov 11, 2013@ZwPBerserk
Best kind of spells for melee are passives so player don't have to use wand. Try to use some potions effects like Absorption mix with passive "givedamage", it would give shield after first attack, or bonus speed up with jump boost when you don't hold any items, use invi with sneak, lifesteal (heal with attack or kill), you can also use dash spell (go to MagicSpells forum -> Spell Configurations there I post how to make it).
Well there are a lot of options, you can check other games for more ideas (like Warcraft)
-
View User Profile
-
Send Message
Posted Nov 10, 2013Hey! I was wondering what kinda MELEE spells could i make with this plugin? Can i have some examples maybe.. from someone ?
It would really help me. Im trying to make classes with them like gladiator, rogue, warrior,ninja etc.
-
View User Profile
-
Send Message
Posted Nov 10, 2013@Benno812
what about magicspells doesnt work with factions?
-
View User Profile
-
Send Message
Posted Nov 10, 2013Hi, Are you planning to make MagicSpells work with Factions? It' would be great!
-
View User Profile
-
Send Message
Posted Nov 5, 2013@LaughNgamez Did you set "default-all-perms-false: false" to true in the general.yml?
If so one way to handle it that I found to be easiest on my players (no need to explain about logging in and out for first time spell grants) was to give "magicspells.grant.*" as true to my default group, but not give any type of cast permissions to that group.
For my setup needs only certain groups have access to certain groups of spells so on each group I then gave the matching "magicspells.cast.spellname" permission set to true.
I can change a player or they are able to change groups by completing certain quests (which is the standard way on my server as it automates the process for me) on their own, and while their spellbook.txt was granted all spells on that first join they can only ever access the ones specific to their current group.
-
View User Profile
-
Send Message
Posted Nov 4, 2013an easy way is to have your command plugin whatever it may be (whatever you are using to switch groups) to /cast forget * which forgets all spells known, instead of individually forgetting each known spell
-
View User Profile
-
Send Message
Posted Nov 4, 2013@LaughNgamez
I'm assuming you gave it to the group as a grant permission. As long as they no longer have the grant permission it's just in their 'spell book' (a database of who knows what) and you can '/cast forget <spellname>' to make them lose that spell. This can be done as a command so maybe you might want to set up some 'admin spells' using External Command Spells and have it first remove the player from the group then casts a forget spell for each spell that that group was given. Sounds like a lot, but it is a time saver in the long run.
-
View User Profile
-
Send Message
Posted Nov 4, 2013I made a spell then gave a group permission to it, when I remove a member from that group they keep access to the spell. Is there anyway to fix this?
-
View User Profile
-
Send Message
Posted Nov 2, 2013I have recently been getting spammed with these in my console. 4:51:08 PM [severe] [MagicSpells] AN EXCEPTION HAS OCCURED: 4:51:08 PM [severe] [MagicSpells] null (java.lang.reflect.InvocationTargetException) 4:51:08 PM [severe] [MagicSpells] net.minecraft.server.v1_6_R3.EntityPlayer cannot be cast to net.minecraft.server.v1_6_R3.EntityInsentient (java.lang.ClassCastException) 4:51:08 PM [severe] [MagicSpells] This error has been saved in the errors folder
Might there be a fix for this? I get them very very frequently.
-
View User Profile
-
Send Message
Posted Oct 31, 2013@GobsMaster
in order to target players you will most likely have to go through your entire regular spells config file and edit all your spells giving them the ability to target players.
-
View User Profile
-
Send Message
Posted Oct 31, 2013@GobsMaster
they may know the spell you are trying to bind but unless you have taught them the spell bind, or given the permission node magicspells.grant.bind to their permissions group then they will not be able to bind any skills. also make sure in your regular spells config file that the spell they are trying to use has the config option can-target: 'players' , and add target-players: true just in case. test it without the option target-players: true , some of the skills still need the old targeting option.
-
View User Profile
-
Send Message
Posted Oct 30, 2013I've got a problem with this plugin, my friends can learn spells and can cast them by ./cast spellname but when they try to use ./cast bind spellname it says that they don't know a spell with that name but they know it =/. Any idea?
Btw, why do i can't target players with spells?
Sorry for the bad english, im from Spain =P