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 Jun 20, 2016@michavdb
Have you checked server logs for errors?
It'd be extremely strange for the plugin to stop working without at least a server restart or adding some new plugins.
-
View User Profile
-
Send Message
Posted Jun 20, 2016well i had the wolf wand and a custome one. i used apparate and morsmorde and i got lunch so i quited and when i joined back it was like nothing worked anymore if i did /wand it showed up and i coulded add spells on it or use it
-
View User Profile
-
Send Message
Posted Jun 20, 2016@michavdb
So they work for a while and then stop working?
Or they were working, but now don't work at all anymore?
Either way it sounds like a plugin conflict of some kind- MVInventories, dtlTraders .. any plugins that mess with player inventories or items?
-
View User Profile
-
Send Message
Posted Jun 20, 2016@KingBohica1
Ah- oops! Yeah the new multi-icon stuff requires indestructible wands, there's no other way to do it with the way MC works. Sorry, I should've thought of that!
And, no, unfortunately I don't have a list of icons with images. I'd like to have something like that to put up on my web page, which is all broken since the update. But don't really have the time, and it's.. hard.
-
View User Profile
-
Send Message
Posted Jun 20, 2016hi nathan i got a issue. after a few hours of playing with a wand stopped it casting spells and etc, if i do /wand i get a wand but when i go to an enchant table it says nothing more about spells even if i do /wand wolf or something i get the wand but i cant cast or right click anymore i tried everything but nothing works pls help me
-
View User Profile
-
Send Message
Posted Jun 14, 2016@NathanWolf
I think I figured it out. I use custom wands, so I copied over one of your wands from the defaults and added in 1 line at a time from my custom wand to see when a standard wand would stop using the correct icon. I should have realized the problem sooner...
The culprit line was indestructible: false. Since you are using subsets of items, my understanding is that MC determines which subset item something is by its damage level. If you mess with a wand being indestructible or not, I'm guessing it overrides there even *being* any damage level. Hence why even when I did /wand describe it would say icon: wood_hoe:1 it didn't matter, it would still show the 'full health' hoe.
As far as the .json files, I was more curious if there was somewhere that would show the image of each icon. So, say I made a new custom spell, I could look and see what I had to pick from for icons.
-
View User Profile
-
Send Message
Posted Jun 14, 2016@KingBohica1
Hi!
Wands are *supposed* to auto-migrate their icons. The "migrate_icon" field tells it to check for that item (e.g. a gold_hoe), and if it is a match replace the item with the current "icon". Sounds like that's not working?
For new wands you create you don't need to use migrate_icon, but "icon" should make it use the new item types. When you say "they're always regular wood hoes", you are using the resource pack, right? :)
There is no document other than the RP itself that says what goes where. Fortunately the item JSON is pretty easy to read:
https://github.com/elBukkit/MagicPlugin/blob/master/src/resource-pack/survival/assets/minecraft/models/item/wooden_hoe.json
The first entry is :1, and so on.
Similarly, spells and brushes can be found here: https://github.com/elBukkit/MagicPlugin/blob/master/src/resource-pack/survival/assets/minecraft/models/item/diamond_axe.json
You can mix and match config files however you like- they are simply concatenated together before processing, so the plugin won't care what you put in a separate file or what you put together.
Hope that helps!
-
View User Profile
-
Send Message
Posted Jun 14, 2016Hello,
I recently upgraded my server to Spigot 1.9.4 from 1.8.8 and so updated to the latest Magic build. I see some interesting changes, and am looking forward to delving in. One thing I am having trouble figuring out though is the icons.
I see you have made wands a sub-category of wood hoes. :1,:2, etc. Is there something I can do to my wands config to make already existing wands adhere to this? For that matter, I can't seem to get new wands that I create use the new icon type, they're always regular wood hoes. I've tried putting wood_hoe:1 in both icon: and migrate_icon: but I'm not getting it.
I'm guessing diamond_axe:# is the replacement format for spell icons, since the RP switch over? Is there somewhere that shows all these sub item numbers and what icons they go with for reference?
I like that we can now put all wands, mobs, spells, etc. into 1 corresponding file, or put them as individual files per spell, or mob or whatever into those folders. Nice to have options. I'm guessing you can mix and match? 10 spells in the spells.yml, and 5 other spells as individual files in the folder. Or is it all one method or the other?
Also, thank you for putting the option to generate default.ymls back in, it is a very helpful reference! =D
-
View User Profile
-
Send Message
Posted Jun 9, 2016@Atrelyu
All commands are permission-based, so while you can't disable commands you can just remove everyone's permission to use them. No one has permission by default unless they're op'd.
I'm on something of a temporary hiatus right now (though I did just release support for 1.10) so I don't forsee adding any new features anytime soon. And I have to admit, I thought that Eye of Truth feature was something you were going to try adding yourself ;)
Shops would be another way to get wands- Magic's built-in shops, for instance, or the Shopkeepers plugin works well with Magic items.
-
View User Profile
-
Send Message
Posted Jun 2, 2016[21:00:10 INFO]: [Magic] Enabling Magic v6.1
[21:00:10 INFO]: [Magic] EffectLib initialized
[21:00:10 INFO]: [Magic] Loading config.yml
[21:00:10 INFO]: [Magic] Based on defaults defaults/config.defaults.yml
[21:00:10 INFO]: [Magic] Loading messages.yml
[21:00:10 INFO]: [Magic] Based on defaults defaults/messages.defaults.yml
[21:00:10 INFO]: [Magic] Loading materials.yml
[21:00:10 INFO]: [Magic] Based on defaults defaults/materials.defaults.yml
[21:00:10 INFO]: [Magic] Loading spells.yml
[21:00:10 INFO]: [Magic] Based on defaults defaults/spells.defaults.yml
[21:00:10 INFO]: [Magic] Loading enchanting.yml
[21:00:10 INFO]: [Magic] Based on defaults defaults/enchanting.defaults.yml
[21:00:10 INFO]: [Magic] Loading wands.yml
[21:00:10 INFO]: [Magic] Based on defaults defaults/wands.defaults.yml
[21:00:10 INFO]: [Magic] Loading crafting.yml
[21:00:10 INFO]: [Magic] Based on defaults defaults/crafting.defaults.yml
[21:00:10 INFO]: [Magic] Loading mobs.yml
[21:00:10 INFO]: [Magic] Based on defaults defaults/mobs.defaults.yml
[21:00:10 INFO]: [Magic] Loading items.yml
[21:00:10 INFO]: [Magic] Based on defaults defaults/items.defaults.yml
[21:00:11 INFO]: [Magic] Wand enchanting is enabled
[21:00:11 INFO]: [Magic] Wand crafting is enabled
[21:00:11 INFO]: [Magic] Wand anvil organizing is enabled
[21:00:11 INFO]: [Magic] Skin-based spell icons disabled
[21:00:11 ERROR]: Error occurred while enabling Magic v6.1 (Is it up to date?)
java.lang.NoClassDefFoundError: net/md_5/bungee/api/ChatColor
at com.elmakers.mine.bukkit.item.ItemData.<init>(ItemData.java:78) ~[?:?
]
at com.elmakers.mine.bukkit.magic.listener.ItemController.loadItem(ItemC
ontroller.java:38) ~[?:?]
at com.elmakers.mine.bukkit.magic.listener.ItemController.load(ItemContr
oller.java:29) ~[?:?]
at com.elmakers.mine.bukkit.magic.MagicController.finalizeLoad(MagicCont
roller.java:1584) ~[?:?]
at com.elmakers.mine.bukkit.magic.ConfigurationLoadTask.run(Configuratio
nLoadTask.java:118) ~[?:?]
at com.elmakers.mine.bukkit.magic.ConfigurationLoadTask.runNow(Configura
tionLoadTask.java:33) ~[?:?]
at com.elmakers.mine.bukkit.magic.MagicController.loadConfiguration(Magi
cController.java:1625) ~[?:?]
at com.elmakers.mine.bukkit.magic.MagicController.loadConfiguration(Magi
cController.java:1617) ~[?:?]
at com.elmakers.mine.bukkit.magic.MagicController.load(MagicController.j
ava:1654) ~[?:?]
at com.elmakers.mine.bukkit.magic.MagicController.initialize(MagicContro
ller.java:760) ~[?:?]
at com.elmakers.mine.bukkit.magic.MagicPlugin.initialize(MagicPlugin.jav
a:168) ~[?:?]
at com.elmakers.mine.bukkit.magic.MagicPlugin.onEnable(MagicPlugin.java:
162) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:292) ~[c
raftbukkit.jar:git-Bukkit-5ff377a]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
.java:332) [craftbukkit.jar:git-Bukkit-5ff377a]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
r.java:404) [craftbukkit.jar:git-Bukkit-5ff377a]
at org.bukkit.craftbukkit.v1_9_R2.CraftServer.loadPlugin(CraftServer.jav
a:347) [craftbukkit.jar:git-Bukkit-5ff377a]
at org.bukkit.craftbukkit.v1_9_R2.CraftServer.enablePlugins(CraftServer.
java:319) [craftbukkit.jar:git-Bukkit-5ff377a]
at net.minecraft.server.v1_9_R2.MinecraftServer.t(MinecraftServer.java:4
07) [craftbukkit.jar:git-Bukkit-5ff377a]
at net.minecraft.server.v1_9_R2.MinecraftServer.l(MinecraftServer.java:3
72) [craftbukkit.jar:git-Bukkit-5ff377a]
at net.minecraft.server.v1_9_R2.MinecraftServer.a(MinecraftServer.java:3
27) [craftbukkit.jar:git-Bukkit-5ff377a]
at net.minecraft.server.v1_9_R2.DedicatedServer.init(DedicatedServer.jav
a:240) [craftbukkit.jar:git-Bukkit-5ff377a]
at net.minecraft.server.v1_9_R2.MinecraftServer.run(MinecraftServer.java
:510) [craftbukkit.jar:git-Bukkit-5ff377a]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_91]
Caused by: java.lang.ClassNotFoundException: net.md_5.bungee.api.ChatColor
at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_91]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
java:77) ~[craftbukkit.jar:git-Bukkit-5ff377a]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
java:62) ~[craftbukkit.jar:git-Bukkit-5ff377a]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91]
... 23 more
-
View User Profile
-
Send Message
Posted Jun 3, 2016Oops, looks like I was referencing the Bungee API, which broke CraftBukkit compatibility . Fixed in latest dev build:
http://jenkins.elmakers.com/job/MagicPlugin/1668/com.elmakers.mine.bukkit.plugins$Magic/
-
View User Profile
-
Send Message
Posted Jun 4, 2016BTW really great work on this i havent seen any magic plugins or even mods that come close to this
-
View User Profile
-
Send Message
Posted Jun 1, 2016Hey I installed this plugin and while it seems to have loaded, nothing I try to do will work. I can't craft the wands, and any command i try will just give me the command list as if I had done /magic. Now I tried another magic plugin and the same thing happened so im pretty sure im doing something wrong here. I gotta admit im a noob when it comes to modding servers so any help would be appreciated. By the way im using shopkeeper though I doubt that would be the problem.
-
View User Profile
-
Send Message
Posted Nov 20, 2016do /wand
-
View User Profile
-
Send Message
Posted May 27, 2016Hi Nathan! I was wondering how's going the item we discussed a few weeks ago :) you know, the eye of the truth that works with invisible blocks etc.
Also I wanted to ask you, besides crafting, using the /wand command and random chests, is there any other way to get wands? Also, it's possible to disable the /wand command? Thanks in advance :)
-
View User Profile
-
Send Message
Posted May 23, 2016I wanted to disable some spells so I tried it on the Wolfhouse..
This is what I see coming up in the console:
[21:37:21 WARN]: [Magic] An error occurred while processing the item: wolfhouse
java.lang.Exception: Invalid item key: wolfhouse
at com.elmakers.mine.bukkit.item.ItemData.<init>(ItemData.java:63) ~[Magic-6.1.jar:?]
at com.elmakers.mine.bukkit.magic.listener.ItemController.loadItem(ItemController.java:38) [Magic-6.1.jar:?]
at com.elmakers.mine.bukkit.magic.listener.ItemController.load(ItemController.java:29) [Magic-6.1.jar:?]
at com.elmakers.mine.bukkit.magic.MagicController.finalizeLoad(MagicController.java:1584) [Magic-6.1.jar:?]
at com.elmakers.mine.bukkit.magic.ConfigurationLoadTask.run(ConfigurationLoadTask.java:118) [Magic-6.1.jar:?]
at com.elmakers.mine.bukkit.magic.ConfigurationLoadTask.runNow(ConfigurationLoadTask.java:33) [Magic-6.1.jar:?]
at com.elmakers.mine.bukkit.magic.MagicController.loadConfiguration(MagicController.java:1625) [Magic-6.1.jar:?]
at com.elmakers.mine.bukkit.magic.MagicController.loadConfiguration(MagicController.java:1617) [Magic-6.1.jar:?]
at com.elmakers.mine.bukkit.magic.MagicController.load(MagicController.java:1654) [Magic-6.1.jar:?]
at com.elmakers.mine.bukkit.magic.MagicController.initialize(MagicController.java:760) [Magic-6.1.jar:?]
at com.elmakers.mine.bukkit.magic.MagicPlugin.initialize(MagicPlugin.java:168) [Magic-6.1.jar:?]
at com.elmakers.mine.bukkit.magic.MagicPlugin.onEnable(MagicPlugin.java:162) [Magic-6.1.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:292) [spigot-1.9.jar:git-Spigot-d20369f-7fc5cd8]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [spigot-1.9.jar:git-Spigot-d20369f-7fc5cd8]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot-1.9.jar:git-Spigot-d20369f-7fc5cd8]
at org.bukkit.craftbukkit.v1_9_R1.CraftServer.loadPlugin(CraftServer.java:361) [spigot-1.9.jar:git-Spigot-d20369f-7fc5cd8]
at org.bukkit.craftbukkit.v1_9_R1.CraftServer.enablePlugins(CraftServer.java:321) [spigot-1.9.jar:git-Spigot-d20369f-7fc5cd8]
at org.bukkit.craftbukkit.v1_9_R1.CraftServer.reload(CraftServer.java:745) [spigot-1.9.jar:git-Spigot-d20369f-7fc5cd8]
at org.bukkit.Bukkit.reload(Bukkit.java:539) [spigot-1.9.jar:git-Spigot-d20369f-7fc5cd8]
at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:25) [spigot-1.9.jar:git-Spigot-d20369f-7fc5cd8]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [spigot-1.9.jar:git-Spigot-d20369f-7fc5cd8]
at org.bukkit.craftbukkit.v1_9_R1.CraftServer.dispatchCommand(CraftServer.java:645) [spigot-1.9.jar:git-Spigot-d20369f-7fc5cd8]
at net.minecraft.server.v1_9_R1.PlayerConnection.handleCommand(PlayerConnection.java:1350) [spigot-1.9.jar:git-Spigot-d20369f-7fc5cd8]
at net.minecraft.server.v1_9_R1.PlayerConnection.a(PlayerConnection.java:1185) [spigot-1.9.jar:git-Spigot-d20369f-7fc5cd8]
at net.minecraft.server.v1_9_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot-1.9.jar:git-Spigot-d20369f-7fc5cd8]
at net.minecraft.server.v1_9_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot-1.9.jar:git-Spigot-d20369f-7fc5cd8]
at net.minecraft.server.v1_9_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.9.jar:git-Spigot-d20369f-7fc5cd8]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_66]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_66]
at net.minecraft.server.v1_9_R1.SystemUtils.a(SourceFile:45) [spigot-1.9.jar:git-Spigot-d20369f-7fc5cd8]
at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:721) [spigot-1.9.jar:git-Spigot-d20369f-7fc5cd8]
at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400) [spigot-1.9.jar:git-Spigot-d20369f-7fc5cd8]
at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:660) [spigot-1.9.jar:git-Spigot-d20369f-7fc5cd8]
at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:559) [spigot-1.9.jar:git-Spigot-d20369f-7fc5cd8]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_66]
-
View User Profile
-
Send Message
Posted Jun 3, 2016Sorry for the late reply, can you show much what you did in the configs to cause this?
Wolfhouse is a wand, not an item, so if you're disabling it you need to do so in the wands config. There's no real way to get one if you're not op'd though so disabling it is maybe not necessary.
-
View User Profile
-
Send Message
Posted May 23, 2016@Rjfire1
Unfortunately dtlTraders and Magic are no longer compatible. The dtlTraders plugin will wipe custom data from any items in your inventory when you interact with a trader.
-
View User Profile
-
Send Message
Posted May 23, 2016@Torneurr
I'm afraid I have no idea what you mean :(
I'm assuming there is a language barrier here... or maybe you're asking about a different plugin :D
-
View User Profile
-
Send Message
Posted May 22, 2016for some reason when we have a working wand in our hands and talk to an npc (citizens2 + dtlTraders + gringotts) the wand stops working also the same happens when i put magic items to be sold in the magic shop (i'm assuming because of the interaction with the npc's)
is there a fix for this? please let me know ^^