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 Sep 26, 2012@Faldonboy
im sorry you dont seem to understand. this is just based on looking at a /timings merged text output from bukkit. not from observing actual noticeable lag. we are getting 3 plugins that are registering very high on the timings.txt and one of them is always magical spells, and the thread was OnPlayerJoin
-
View User Profile
-
Send Message
Posted Sep 25, 2012@GarretSidzaka
I've used this plugin for a long time now and even managed it on a server that saw 80+ people on constantly and have never seen it cause lag(unless someone is using a ridiculously over-powered or heavy-effects spell). Occasionally it hangs on start-up and reloads but that's most likely due to the 600+ spells I use.
-
View User Profile
-
Send Message
Posted Sep 25, 2012im right now getting excessive player join event lag on my server, in the /timings merged files. its by far the highest lagging plugin right now.
-
View User Profile
-
Send Message
Posted Sep 24, 2012@Sarge22234
While holding a written book, type "/cast tome [spellname]".
-
View User Profile
-
Send Message
Posted Sep 23, 2012@DeeDeeDiver
There has been for a long time. /c unbind (spellname)
-
View User Profile
-
Send Message
Posted Sep 23, 2012Is there an unbind spell yet?
-
View User Profile
-
Send Message
Posted Sep 21, 2012How can i make a spell tome? The wiki page is missing :(
-
View User Profile
-
Send Message
Posted Sep 20, 2012So how does the summon spell work? It keeps saying "ritual was interpreted" do I need to add the summon_helper spell to perms as well for it to work? Also do the other 2 participants need the reagents or just the original caster?
-
View User Profile
-
Send Message
Posted Sep 19, 2012@broluigi
Well, I'm not sure why you're getting the missing class error, make sure you're using the latest version of MagicSpells found on this page(2.9 for 1.3.2) If you keep getting that error for stormblock then try the latest dev version found here Dev Builds Even after you get past that error you're going to get another one though. You can't use a Firenova spell in the pulse spells. Only spells found on this page can be used. Meta Spells
I have no explanation for the flamewalk spell error, I put your spell into my server and it worked fine.
-
View User Profile
-
Send Message
Posted Sep 19, 2012http://pastebin.com/P8u3YAxF
i renamed them so it would work with our server's lore but other then that they throw up errors
-
View User Profile
-
Send Message
Posted Sep 19, 2012@watdidyusaey
Are you certain you have cast-without-target set to true on the passive spell? External spells require it. Other then that you're probably running into the same problem I did with trying to cast certain buff spells on re-spawn and I never found a way around it.
EDIT: Testing it myself I was able to issue the /fly and /say command successfully on re-spawn so my best guess is you forgot the cast-without-target part
@broluigi
What's your version of MagicSpells? Can you also post your configuration(for the flamewalk and stormblock spells only please) And put them in a pastebin if you can
-
View User Profile
-
Send Message
Posted Sep 18, 2012@Faldonboy
I'm trying to run a command after the respawn passive procs. Its simply not working and I'm sure of it. I even tested a "/say" command with the respawn trigger and its definitely not working
Also Niso, it would be awesome if you talked to the dudes that created compatnocheat so you're plugin would be fully compatible with NoCheat. I have to disable flags that make NCP useless because MagicSpells conflicts with all of them = People can fly with flyhacks on my server without me knowing.
-
View User Profile
-
Send Message
Posted Sep 18, 2012Hey,
At first, thanks for the great plugin! I'm releasing an epic world generator next week and I made an announement trailer of it. Inside the trailer (the gameplay part) there's also magic used, it might be a cool example. Check it out:
Tim Visée
-
View User Profile
-
Send Message
Posted Sep 17, 201217.09 20:48:36 [Server] SEVERE java.lang.reflect.InvocationTargetException 17.09 20:48:36 [Server] WARNING [MagicSpells] Unable to load spell flamewalk (general error) 17.09 20:48:36 [Server] WARNING [MagicSpells] Unable to load spell StormBlock (missing class com.nisovin.magicspells.spells.targeted.PulserSpell)
show up when i do /cast reload. what do i do?
-
View User Profile
-
Send Message
Posted Sep 17, 2012HI man i love your plugin but i have 1 problem: I customized the spells so the players can choose their classes and made each spell only for 1 special weapon but the spells dont work anymore when i stop and restart the server... Thats so boring on the previous version it worked fine but now not anymore... Pls could you help me? :S
-
View User Profile
-
Send Message
Posted Sep 17, 2012@jrdnlsk
i guess what id really like to see is a command that removes a players spellbook such as /delspellbook [name] or w.e
-
View User Profile
-
Send Message
Posted Sep 17, 2012@Faldonboy
i have a large class based system going on to where they they can automatically change their group if they get tired of their current class. the drawback is though that i cant keep it automatic if the spells arent removed from their spellbook because then they would keep switching classes until they have every spell available which is not good of course lol so youre saying the only way to make the prev skills castable is to make a negative node in each group removing all other spells besides the ones present? which would work but the spells would stay in their /cast list if you can find a way around this though it would be very much appreciated
-
View User Profile
-
Send Message
Posted Sep 16, 2012@watdidyusaey
What kind of spell are you trying to have the passive cast on respawn?
@jrdnlsk
No but if your permissions are set up correctly you can stop them from casting the previous groups spells. The only drawback is the spells will still show up in their /c list after a server reload even if you set the config to only show cast-able spells.
-
View User Profile
-
Send Message
Posted Sep 16, 2012I can't seem to get the new respawn passive to work properly
-
View User Profile
-
Send Message
Posted Sep 16, 2012is there anyway to force delete the players spellbook when their group is changed so that the spells granted in their previous group do not carry over? if not put this on the top of your todo list