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 Aug 26, 2014Just installed this on my server and it looks like it's going to be a great fit. However I'm encountering a problem where when you close the wand inventory, it times out the player and floods the console with a pretty extensive error.
[15:49:38] [Server thread/ERROR]: Could not pass event InventoryCloseEvent to Magic v3.6 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:294) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at org.bukkit.craftbukkit.v1_7_R4.event.CraftEventFactory.handleInventoryCloseEvent(CraftEventFactory.java:831) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at net.minecraft.server.v1_7_R4.EntityPlayer.closeInventory(EntityPlayer.java:812) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at org.bukkit.craftbukkit.v1_7_R4.entity.CraftHumanEntity.closeInventory(CraftHumanEntity.java:323) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at com.elmakers.mine.bukkit.wand.Wand.closeInventory(Wand.java:2292) [?:?] at com.elmakers.mine.bukkit.magic.MagicController.onInventoryClosed(MagicController.java:2831) [?:?] at sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source) [?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [?:1.7.0_67] at java.lang.reflect.Method.invoke(Unknown Source) [?:1.7.0_67]
The error repeats several hundred times.
My server is running:
[14:22:45] [Server thread/INFO]: This server is running CraftBukkit version git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks (MC: 1.7.10) (Implementing API version 1.7.10-R0.1-SNAPSHOT)
And I'm running Magic version:
[14:22:45] [Server thread/INFO]: [Magic] Loading Magic v3.6
Thanks in advance for your help.
-
View User Profile
-
Send Message
Posted Aug 25, 2014Um hi Nathan can u say me the name of the the Magic build wich i can use shopkeepers
Gojiman
-
View User Profile
-
Send Message
Posted Aug 24, 2014@BrazilMidLane
I just tried this out on my server, and it's working fine. Do you maybe have any other plugins that could be canceling that enchant event after Magic has processed it? And do let me know your CB and Magic version #'s, please!
-
View User Profile
-
Send Message
Posted Aug 24, 2014@BrazilMidLane
Are you running Craftbukkit 1.7.9R2? And maybe an old version of Magic...?
This was a bug at one point, but it was squashed long ago. Let me know the versions you are running, please.
I will double-check that this is working for me also, but last I checked it was all good. You haven't customized configs or anything?
-
View User Profile
-
Send Message
Posted Aug 24, 2014@NathanWolf
Not for me, I'm trying to figure out why but can't get to the problem. My friends can spam-enchant, which makes it a problem for me and sort of ruins my server.
-
View User Profile
-
Send Message
Posted Aug 23, 2014@BrazilMidLane
It should cost XP- it uses the enchanting table. Is that not working?
-
View User Profile
-
Send Message
Posted Aug 23, 2014Is there anyway to make wand enhacement cost XP?
-
View User Profile
-
Send Message
Posted Aug 23, 2014@w1ck3d1
That is the crafting recipe for a master wand :)
Ops don't get any special treatment by this plugin, other than having access to commands.
The recipes for the other wands are listed... Somewhere. I'll clean up the docs - but basically the defaults include "diamond + stick = student", "diamond + blaze rod = apprentice", "nether star + blaze rod = master", "nether star + wood axe = engineering wand", "nether star + diamond sword = battle wand (enchanted sword)
This is all configurable in crafting.yml, as always see the defaults file for examples.
-
View User Profile
-
Send Message
Posted Aug 23, 2014Why whenever I create a wand, regardless if op/guest it creates a master wand?
Edit: this is when crafting on a table using blaze rod and netherstar
-
View User Profile
-
Send Message
Posted Aug 23, 2014An amazing plugin, I love it.
-
View User Profile
-
Send Message
Posted Aug 19, 2014@NathanWolf
Alright. For now we'll stick with what we have, but I'll keep checking back for if/when you do get a Cauldron version working! Thanks so much for your help!
-
View User Profile
-
Send Message
Posted Aug 19, 2014@JoelSterne
EDIT: Well, yeah after some investigation Magic is extremely incompatible with Cauldron!
I'll see what I can do- but basically every NMS class has differently-named methods, so it will take some research and re-work.
-
View User Profile
-
Send Message
Posted Aug 19, 2014@NathanWolf
http:pastebin.com/z1RqCkiY
To my inexperienced eye, it looks like it's simply not compatible with the version of Cauldron I need. I included the section of the log between where the plugin attempts to enable and where it disables. if there's any more information you need, just let me know. thanks for such a quick response!
-
View User Profile
-
Send Message
Posted Aug 19, 2014@JoelSterne
Magic is 1.7.10 compatible, I've tested on Bukkit and Spigot but I can't really ensure compatibility with every flavor of server.
Can you provide some server logs, or something more specific about what's failing? I can try to help.
-
View User Profile
-
Send Message
Posted Aug 19, 2014Is there a version of this that works with Cauldron 1.7.10? There's a few things I want to add to my server's experience that require forge mods, and just about every plugin and mod that we currently use is upgraded/ ready to upgrade from 1.7.9 to 1.7.10 except for this one, the one the server will be based around :P If not, I'll also ask are you considering it in the future, or is it not part of the plan you have in mind?
Thanks for reading!
-
View User Profile
-
Send Message
Posted Aug 19, 2014@TehMinecraftPoke
You should be editing /plugins/Magic/spells.yml (and wands.yml)
If you've got the right files, but it's not working, you could pastebin your config here and I can take a look.
-
View User Profile
-
Send Message
Posted Aug 19, 2014I tried adding my own spell, along with a wand (very simple spell), and they do not work. There are no errors in the console, but when I try to spawn the wand/add the spell to an existing wand, neither exist. Not sure if I am using the right format.
-
View User Profile
-
Send Message
Posted Aug 18, 2014@MasterVoltarr
That'll do it!
This is also fixed in 3.6, which I submitted this morning (mainly for this specific bug fix).
The default config will ramp up from 1 to 5 spells depending on how many levels you put in- but you can reconfigure (as you've done) to make it more structured.
-
View User Profile
-
Send Message
Posted Aug 18, 2014@NathanWolf
Alright, so somehow, I got the enchanting working. I just needed to set the enchanting to have a min_enchant_level: 29 and max_enchant_level: 30. After I did that, I set the spell-count for the wand to
spell-count:
1: 90, 100
2: 0, 0
3: 0, 0
5: 0, 0
After that, I tried enchanting a level one wand and it added 1 spell for every 30 levels.
-
View User Profile
-
Send Message
Posted Aug 18, 2014@MasterVoltarr
Ok, thank you so much for pointing this out! I've fixed the issue, it will be resolved in Magic 3.6 - or if you like you can grab a dev build from the CI server.