Magic

Server Compatibility
Please make sure you download the correct version for your server:
- 1.20.5 and Up => Latest Build
- 1.9 => Magic-10.9.8 (or latest Magic-Legacy build)
-
1.8.8: => Magic-5.5.6
-
1.8.3: => Magic-5.3.3
-
1.7.x => Magic-CB1.x
-
Earlier: => Check Compatibility in Files Section
Need Help? First Try:
-
Check the FAQ
-
Read the rest of the wiki
-
Check the reference manual for configuration options
-
Check the config info page for spell, wand and other info
-
Find examples in the builtin configs
-
Check your logs for errors
If you can't find what you're looking for, come join us on Discord for help or ideas!
Found a bug? Have a Feature Request?
- Use our issue tracker
Overview
Live Demo
Tutorial Videos
More Information
Please see the Magic home page on github for up-to-date information!
Metrics Collection
This plugin uses bstats for metrics collection. The information sent to bstats.org is completely anonymous, publicly viewable, and includes the following metrics:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true, or by editing this plugin's config.yml and changing "metrics_level" to 0.
Changelog
Full changelog can be viewed on github

-
View User Profile
-
Send Message
Posted Sep 6, 2015Nathan,
I finally got my crafting recipes to work. There appears to be a bug with the crafting recipes when using /magic load. It seems to load changes to other files (wands,spells,etc.), but changes to the crafting.yml don't take place until a server restart is performed. I checked the console when using /magic load. I tried using it multiple times and saw this:
The program appears to be loading all of the crafting.defaults.yml as well as all the the crafting.yml recipes in an additive manner, so that it has multiple instances the more times you reload. This number only seems to reset with a server restart.
Couple unrelated questions:
1) I saw you had told someone: "You can make a spell with the "ModifyBlock" action, "brush: erase" and "destructible: stained_clay:2" (or whatever the data value for the color you want is." Interesting idea, I have not used it in this manner, but I did use the color data value for a test spell reagent. Using wool:15: 1 requires 1 black wool to cast, which is great! My question, since the plug-in seems to distinguish between item sub-sets, is there a way to do this for crafting? i.e. I want to have the invisibility cloak use black wool, instead of white.
2) When spells create various temporary barriers ex: walls, deflect Is there a way to change melee resistance and/or make them invulnerable to melee? I have customized deflect to allow for the destruction of x number of block from magic attacks like missile, and extended the undo timer a bit to create a semi-lasting magical barrier. But, since the material is glass, someone could just come up and smash it.
Thanks for the help and awesome plug-in! Sorry for the length.
-
View User Profile
-
Send Message
Posted Aug 26, 2015@Saux120
Server had been running for weeks without a restart, apparently ran out of memory. Back up now.
-
View User Profile
-
Send Message
Posted Aug 26, 2015Nathan, the Magic Test (and/or Experimentation or Beta) Server has been down ever since some days ago. A player connected some hours ago today and acknowledged the status of the server, but said that he din't know anything when questioned.
I hope this is not the final farewell, even through the server has been a bit dry on players.
-
View User Profile
-
Send Message
Posted Aug 25, 2015@Sean_Amor
They would probably need to re-work the plugin to use the Bukkit API for saving ItemStacks (kind of shame on them for not doing that in the first place)
And then it would work, but only on Spigot 1.8. Craftbukkit has no support for custom item data.
-
View User Profile
-
Send Message
Posted Aug 25, 2015Any possibility that you can get this to work with your magic items? https://www.spigotmc.org/resources/chestregen.4921/ Or would they need to to this.
Upon restarting the server, magic items such as keys, lose their magical properties in the regen chests.
-
View User Profile
-
Send Message
Posted Aug 22, 2015@NathanWolf
@NathanWolf
Hello()/ from Japan.
Thanks for your kindness post. I will endeavor to resolve. Maybe the player data and the World is corrupted.
-
View User Profile
-
Send Message
Posted Aug 21, 2015@t2yacool
When does that error happen? Is it with one particular spell?
Looking at the code, it seems like something *very* weird would have to happen inside Spigot for this error to occur :\
I put some protection in against it, but I suspect there is something weird with your setup or plugins. I am calling a method that says "get me all the entities around this area", and from your message it is returning entities that are not even in the correct world. I've never seen that happen before!
-
View User Profile
-
Send Message
Posted Aug 21, 2015@NathanWolf
@NathanWolf
OHHH, my mistake!! sorry. /wand wolf ⇒Q ⇒chest opened !!
thank you very much.
but next trouble/
[10:20:59 ERROR]: Could not pass event PlayerInteractEvent to Magic v5.1.9 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) [spigot.jar:git-Spigot-fdc1440-53fac9f] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot.jar:git-Spigot-fdc1440-53fac9f] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-fdc1440-53fac9f] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-fdc1440-53fac9f] at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:227) [spigot.jar:git-Spigot-fdc1440-53fac9f] at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:194) [spigot.jar:git-Spigot-fdc1440-53fac9f] at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:190) [spigot.jar:git-Spigot-fdc1440-53fac9f] at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1200) [spigot.jar:git-Spigot-fdc1440-53fac9f] at net.minecraft.server.v1_8_R3.PacketPlayInArmAnimation.a(PacketPlayInArmAnimation.java:18) [spigot.jar:git-Spigot-fdc1440-53fac9f] at net.minecraft.server.v1_8_R3.PacketPlayInArmAnimation.a(PacketPlayInArmAnimation.java:1) [spigot.jar:git-Spigot-fdc1440-53fac9f] at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-Spigot-fdc1440-53fac9f] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_51] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_51] at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [spigot.jar:git-Spigot-fdc1440-53fac9f] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:714) [spigot.jar:git-Spigot-fdc1440-53fac9f] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot.jar:git-Spigot-fdc1440-53fac9f] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:653) [spigot.jar:git-Spigot-fdc1440-53fac9f] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:556) [spigot.jar:git-Spigot-fdc1440-53fac9f] at java.lang.Thread.run(Unknown Source) [?:1.8.0_51] Caused by: java.lang.IllegalArgumentException: Cannot measure distance between world_nether and Lobby at org.bukkit.Location.distanceSquared(Location.java:456) [spigot.jar:git-Spigot-fdc1440-53fac9f] at com.elmakers.mine.bukkit.spell.TargetingSpell.getAllTargetEntities(TargetingSpell.java:552) [?:?] at com.elmakers.mine.bukkit.spell.TargetingSpell.getAllTargetEntities(TargetingSpell.java:521) [?:?] at com.elmakers.mine.bukkit.spell.TargetingSpell.getAllTargetEntities(TargetingSpell.java:516) [?:?] at com.elmakers.mine.bukkit.spell.TargetingSpell.getEntityTarget(TargetingSpell.java:510) [?:?] at com.elmakers.mine.bukkit.spell.TargetingSpell.findTarget(TargetingSpell.java:449) [?:?] at com.elmakers.mine.bukkit.spell.TargetingSpell.getTarget(TargetingSpell.java:312) [?:?] at com.elmakers.mine.bukkit.spell.TargetingSpell.target(TargetingSpell.java:306) [?:?] at com.elmakers.mine.bukkit.spell.ActionSpell.onCast(ActionSpell.java:65) [?:?] at com.elmakers.mine.bukkit.spell.BaseSpell.finalizeCast(BaseSpell.java:1107) [?:?] at com.elmakers.mine.bukkit.spell.BaseSpell.cast(BaseSpell.java:1016) [?:?] at com.elmakers.mine.bukkit.spell.BaseSpell.cast(BaseSpell.java:912) [?:?] at com.elmakers.mine.bukkit.spell.BaseSpell.cast(BaseSpell.java:1482) [?:?] at com.elmakers.mine.bukkit.wand.Wand.cast(Wand.java:3372) [?:?] at com.elmakers.mine.bukkit.wand.Wand.cast(Wand.java:3354) [?:?] at com.elmakers.mine.bukkit.magic.listener.PlayerController.onPlayerInteract(PlayerController.java:339) [?:?] at sun.reflect.GeneratedMethodAccessor356.invoke(Unknown Source) [?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [?:1.8.0_51] at java.lang.reflect.Method.invoke(Unknown Source) [?:1.8.0_51] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) [spigot.jar:git-Spigot-fdc1440-53fac9f] ... 18 more
please help me.
i'm using spigot 1.8.8 now.
-
View User Profile
-
Send Message
Posted Aug 20, 2015@NathanWolf
@NathanWolf
u
-m, not error message.I think , my setting miss....
i'm so sorry. i'll try again. thank you very much.
-
View User Profile
-
Send Message
Posted Aug 20, 2015@t2yacool
Great, thanks! "/wand wolf" should be all you need to use the wolf wand. If it's not working something maybe is broken there- let me know what it says when you try that command. If it doesn't work, your server logs might help me out.
-
View User Profile
-
Send Message
Posted Aug 20, 2015@NathanWolf
How are you?
I'm very fine. I updated your awesome plugin to 5.1.9 ()/
but i can't use WOLF wand. please tell me how to use WOLF wand.
my server is now<sub><sub> spigot 1.8.8</sub></sub>
i like this plugin very well.
-
View User Profile
-
Send Message
Posted Aug 17, 2015@BradleyGray
Yes, just override wand settings in wands.yml. See the defaults file for things you can override.
For example:
-
View User Profile
-
Send Message
Posted Aug 17, 2015Hey can you change what item a wand can be, like if i wanted the architect wand to be a iron hoe could that be possible?
-
View User Profile
-
Send Message
Posted Aug 16, 2015@OwnerField
Oops- yeah I think that example needs updating, I don't have a "guest" wand anymore.
Try "welcome_wand: beginner"?
-
View User Profile
-
Send Message
Posted Aug 16, 2015Alright so my server runs on spigot 1.8.3
I'm running Magic-4.9.7 and I set the config for defaults.
I don't see to get any errors but just that new peps don't seem to get a wand. I've tried deleting all trace of my playerdata off of my server to try it out and I don't get any wand. Is there something I seem to be doing wrong? My default rank is "guest".
field
-
View User Profile
-
Send Message
Posted Aug 15, 2015@Capehenrykid
I'd love to have something like that, but it'd be kind of time consuming to do properly- maybe one day!
I'd also like to have more of the spells transitioned to the new "action" system, but I guess most of them are already.
I was always hoping someone would come along and get really into spell creation and make such a tutorial for me, but it hasn't happened yet ;)
-
View User Profile
-
Send Message
Posted Aug 15, 2015@Atrelyu
Not sure what's up with the image maps for some people, they seem to be working for me :(
Also don't know about the projectiles- they do start with some spread on them, but I don't think they should jump around... I'll take a look at that. What server version are you running?
For the crafting recipes- I think what is wrong there is the ingredients grid needs to be surrounded in quotes if it has spaces in it- so like this:
Let me know if that doesn't work!
-
View User Profile
-
Send Message
Posted Aug 15, 2015NathanWolf, could you upload a tutorial on Spell Creation
-
View User Profile
-
Send Message
Posted Aug 14, 2015@NathanWolf
I was using a random gif image.
By the way, I was using spells like fireball, wither and I noticed that for some reason this spells don't go in a straight direction. I mean, if I shoot it just in front of me, when it passes a few blocks it just starts going to a random direction (left or right) instead of just going foward like the missile spell for example. How can I fix this? (I haven't altered those spells in any sense)
Also, I'm trying to create a recipe for a new wand but I may be missing something since I'm not able to craft it :( I'm leaving the wand config here just in case. http://hastebin.com/cobitomese.sm
I tried denying craft for everyone and re-add them for some people, like: - -magic.craft.* And then give - magic.craft.rage? But nothing seems to occur.
-
View User Profile
-
Send Message
Posted Aug 13, 2015@NathanWolf
I tried changing it to "welcome_wand: beginner" I also changed the default rank name to "beginner" but doesn't seem to work :/
(I removed my playerdata in order to try and all the times I've tried it didn't work)