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 May 29, 2014Awesome update, as always.
-
View User Profile
-
Send Message
Posted May 29, 2014we can get later, plugin 3.3 version for 1.72 -1.74? :/
-
View User Profile
-
Send Message
Posted May 28, 2014@LihPeu
I don't think so, or not intentionally anyway. What can I do to fix it?
-
View User Profile
-
Send Message
Posted May 28, 2014@SXRWahrheit
Looks like the spellbooks directory or some spellbook files have been removed while the plugin was running? Have you been testing dev builds then returning to 3.1?
-
View User Profile
-
Send Message
Posted May 27, 2014Is there a quick fix for this?
[21:57:21] [User Authenticator #927/INFO]: UUID of player KillnNukkaz is 2055ffd1-d227-41b1-8f5c-fef4a2d37ff7 [21:57:22] [Server thread/ERROR]: Error saving player spellbook: KillnNukkaz [21:57:22] [Server thread/WARN]: java.io.FileNotFoundException: plugins/MagicSpells/spellbooks/killnnukkaz.txt (No such file or directory) [21:57:22] [Server thread/WARN]: at java.io.FileOutputStream.open(Native Method) [21:57:22] [Server thread/WARN]: at java.io.FileOutputStream.<init>(FileOutputStream.java:221) [21:57:22] [Server thread/WARN]: at java.io.FileWriter.<init>(FileWriter.java:107) [21:57:22] [Server thread/WARN]: at com.nisovin.magicspells.Spellbook.save(Spellbook.java:576) [21:57:22] [Server thread/WARN]: at com.nisovin.magicspells.Spellbook.addGrantedSpells(Spellbook.java:151) [21:57:22] [Server thread/WARN]: at com.nisovin.magicspells.Spellbook.load(Spellbook.java:79) [21:57:22] [Server thread/WARN]: at com.nisovin.magicspells.Spellbook.load(Spellbook.java:61) [21:57:22] [Server thread/WARN]: at com.nisovin.magicspells.Spellbook.<init>(Spellbook.java:46) [21:57:22] [Server thread/WARN]: at com.nisovin.magicspells.MagicPlayerListener.onPlayerJoin(MagicPlayerListener.java:21) [21:57:22] [Server thread/WARN]: at sun.reflect.GeneratedMethodAccessor338.invoke(Unknown Source) [21:57:22] [Server thread/WARN]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [21:57:22] [Server thread/WARN]: at java.lang.reflect.Method.invoke(Method.java:606) [21:57:22] [Server thread/WARN]: at com.nisovin.magicspells.MagicSpells$1.execute(MagicSpells.java:808) [21:57:22] [Server thread/WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [21:57:22] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [21:57:22] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [21:57:22] [Server thread/WARN]: at net.minecraft.server.v1_7_R3.PlayerList.c(PlayerList.java:251) [21:57:22] [Server thread/WARN]: at net.minecraft.server.v1_7_R3.PlayerList.a(PlayerList.java:138) [21:57:22] [Server thread/WARN]: at net.minecraft.server.v1_7_R3.LoginListener.c(LoginListener.java:76) [21:57:22] [Server thread/WARN]: at net.minecraft.server.v1_7_R3.LoginListener.a(LoginListener.java:42) [21:57:22] [Server thread/WARN]: at net.minecraft.server.v1_7_R3.NetworkManager.a(NetworkManager.java:160) [21:57:22] [Server thread/WARN]: at net.minecraft.server.v1_7_R3.ServerConnection.c(SourceFile:134) [21:57:22] [Server thread/WARN]: at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:667) [21:57:22] [Server thread/WARN]: at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:260) [21:57:22] [Server thread/WARN]: at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:558) [21:57:22] [Server thread/WARN]: at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:469) [21:57:22] [Server thread/WARN]: at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628)
-
View User Profile
-
Send Message
Posted May 27, 2014Hey nisovin, not sure if anyone has already reported this mana issue. We use the XP bar to display mana and each time a player relogs their mana will be reset to max. Thanks for your continued development on this great plugin!
EDIT: Sorry forgot to mention I am using the 3.3 dev builds (MagicSpells-3.3-dev-1405241701)
-
View User Profile
-
Send Message
Posted May 27, 2014@wander2072
http://nisovin.com/magicspells/dev/
-
View User Profile
-
Send Message
Posted May 27, 2014Is there any way to turn off the messaging every time a player just hits with items used in spells? We are really tired of the lag and nuisance factor of that message, 'you have just used such and such spell', when in fact we have not used any spell at all. It has forced me to remove the plugin altogether to get some peace. I've searched the configs; what am I missing? We need this for our mobarenas.
-
View User Profile
-
Send Message
Posted May 26, 2014where I can download magicspells v3.2 please somebody tell me**
-
View User Profile
-
Send Message
Posted May 26, 2014Not sure which it is but either the new spell-damage-type option or the resist spell isn't working. There is no damage reduction, no errors in console when using it with the spell-damage-types option but trying to use normal-damage-types produces this error. Tested this using the examples on the spell page. Using MagicSpells version 3.3-dev-1405231458 and Spigot 1.7.9-R0.2
-
View User Profile
-
Send Message
Posted May 26, 2014For some reason I cant get rightclickonblock to work for ladders or redstone torches. This is for my mini game im making castle wars
startsummonsword: spell-class: ".PassiveSpell" name: startsummonsword triggers: - rightclickblocktype 65 chance: 100 spells: - summonsword
summonsword: spell-class: ".instant.ConjureSpell" name: summonsword description: Conjure some potion reagents. items: - 276 1 100% add-to-inventory: false
-
View User Profile
-
Send Message
Posted May 25, 2014@andrewchi12345 TargetedMultiSpell
-
View User Profile
-
Send Message
Posted May 24, 2014How do you cast multiple spells with homing missiles, particle projectiles, and normal projectiles? I can only cast one spell at the moment.
Thanks!
- Andrew
-
View User Profile
-
Send Message
Posted May 19, 2014Is there a way to transmute a block, and then have it reset to the original block after some time?
-
View User Profile
-
Send Message
Posted May 18, 2014@nisovin
If that isn't possible would it be possible to add an option to just the pain spell to allow us to change the type of damage it's doing? Most of my spells use the pain spell for their damage but it's damage type is "entity attack" which doesn't work very well with some of my other plugins.
Also, what damage type is the forcetoss spell using? I made one of my bosses immune to all damage types that exist in bukkit(including custom which I figured it was) but it still does damage, my damage indicators also can't "pick up" on it's damage type.
-
View User Profile
-
Send Message
Posted May 11, 2014@nisovin
Would it be possible to make target-damage-cause turn whatever damage the spell is normally doing into that type of damage? That would be incredibly useful.
-
View User Profile
-
Send Message
Posted May 11, 2014@Faldonboy
That option doesn't actually apply damage, it just creates a fake damage event for the benefit of other plugins.
-
View User Profile
-
Send Message
Posted May 9, 2014Hmm, it would appear the new target-damage-amount spell option isn't working, my damage indicators show entities(including players) receiving the correct damage but no damage is actually being done. target-damage-cause is working fine though.
-
View User Profile
-
Send Message
Posted May 8, 2014I am trying to get a quit trigger to remove a point from a scoreboard but cannot get it to. Can somebody help or give tips? http://pastebin.com/yrj1hr9R
-
View User Profile
-
Send Message
Posted May 7, 2014@Mordrogg
The explode didn't seem to work and neither did my external command spell so perhaps I don't know how the quit trigger works.