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 Jul 29, 2014@NathanWolf
Well. hmm.. ok, I wiped my test server and started over again anyway.
The Elder wand gives me 58 spells and 9 materials.. mostly construction spells as you said (tho I wouldn't say ICBM is "constructive").
The "/wand fill" worked and gave me all 235 spells, including the Potter spells.
Thanks for that..
-
View User Profile
-
Send Message
Posted Jul 29, 2014@B3fuddled
Hrm... that's kinda odd! That sort of sounds like you got the intersection of both configs, rather than the union... the Elder wand should have 40+ spells in either config.
EDIT: This theory would be proven true if the 6-10 spells you got are "engineering" spells- like Wolf House, SuperBlob, etc... I've put those spells in the "potter" config (but semi-hidden) since they're useful for building.
So that may be something I need to take a look at- to be honest the "add_example" thing is not a feature I test frequently :|
I'll try it out when I get a chance and let you know!
I'm glad you're liking Magic! I've attempted to make it super flexible so it can suit may server setups and admin desires, but that also means it's got a ton of features I can't necessarily always test..... :D
EDIT2: Well it was bugging me, so I just tried it out real quick... it *seemed* to work .. though I guess I'm not sure what else you've got configured, or *maybe* it's something I broke and re-fixed recently.... maybe...
this is the only customization I did, was to put this in config.yml:
Which gave me this on startup:
I'm going to try and clean up those warnings you pointed out, but the important bit there being the "Loaded 240 spells" .. and in-game I did /wand elder and got a wand with a ton of spells.
And then a Hunter ate me.
EDIT#3, And then I'm all done :D
I forgot I removed all the spells from the Elder and, favoring the "fill" flag which maybe doesn't work in the combined configs... try "/wand fill" while holding a wand, and you ought to end up with something awesome like this:
-
View User Profile
-
Send Message
Posted Jul 29, 2014@NathanWolf
Yes.. sorry about that. I keep modifying my comments before you get to them.. I did mention I was a bit mind-addled this week. Plus I'm hopping onto my test server during "dead" times at work.
All seems to work (love your plugin the more I work with it btw)... I got the elder wand with about 6-10 spells but none appear to be Potter spells. They only have mundane spell names.
I'll play some more..
Thanks
-
View User Profile
-
Send Message
Posted Jul 29, 2014@PsychoFad
Just FYI, those Wolf House bugs will be fixed in the next version, thanks to you!
https://github.com/elBukkit/MagicPlugin/commit/b155a1757de395500e814ff1205afbff0754a417 The enchanting room warp was a semi-funny typo... as funny as a typo in a schematic can be, anyway (kind of a pain to update).. if you look at the command block, it's "echanting" instead of "enchanting".
In case you're curious how these work- the text in those command blocks is replaced by the spell when cast, if you look in spells.defaults.yml you'll see a long list of commands. This means I can change the commands without having to update the schematic... except in the case of a typo :)
Thanks!
-
View User Profile
-
Send Message
Posted Jul 29, 2014@B3fuddled
Haha, your comments are always different than how they appear in my emails XD
So it appears that could use some cleaning up, however those should mostly be benign ..
3:07:13 PM [WARNING] [Magic] Error loading spell: com.elmakers.mine.bukkit.potterspells.spell.ImperioSpell
"Imperio Maxima" is a custom spell by another dev that resides in a separate plugin (PotterSpells) - to be honest it's hugely hacky (it's basically the ICU plugin wrapped in a spell) and i kind of recommend you avoid it. This will just fail silently if not present.
The "Unknown effect type hurt" thing is a config issue... I'll track that down. "hurt" is an entity effect, so that's labelled wrong... but that's will just skip over whatever effect is trying to use that.
And finally- the crafting.yml thing is just because there are no crafting recipes defined in the potter config- I'll add an empty yml file there so that warning won't happen.
Otherwise- that looks ok- it *should* work! Did you get access to all the HP spells? Try /wand elder - you should get a wand with a mix of both spells.
-
View User Profile
-
Send Message
Posted Jul 29, 2014@NathanWolf
Bother..My brain is addled these past few days:
FYI: I'm getting these errors on server start, after adding the "potter" example lines in the config.yml:
3:07:13 PM [WARNING] [Magic] Error loading spell: com.elmakers.mine.bukkit.potterspells.spell.ImperioSpell
3:07:13 PM [WARNING] [Magic] Magic: Error loading spell imperiomaxima
3:07:13 PM [WARNING] [Magic] Unknown effect type hurt
and this:
3:07:14 PM [INFO] [Magic] The embedded resource 'examples/potter/crafting.yml' cannot be found in plugins\Magic-3.4.jar
T'anks!
-
View User Profile
-
Send Message
Posted Jul 29, 2014@NathanWolf
I found how to make a Gui shop for Magic :)
-
View User Profile
-
Send Message
Posted Jul 29, 2014@Canibaz
If you want to customize spells, all spells that do direct damage have a "damage" parameter, or maybe separate player_damage and entity_damage params- check the default configs to see.
For instance, if you wanted to tweak the Magic Missile spell, put the following in your spells.yml:
That will make it do 20 damage.
Wand power affects nearly all spells in some way. It will increase damage done by direct damage spells, it will increase the radius of spells like Inferno and Frost, it increases the targeting range of all spells, etc. There isn't an easy way to tell, but if it makes sense and doesn't break the game or the spell in some way, wand power will affect it.
You can tweak all of this in config.yml - as always, check the defaults for the options:
The Power scale goes from 0 - 1 - where a Power of 1.0 will use the values above. You *can* set a wand's power greater than 1, which puts it in a special "super powered" mode- and it will continue to scale things up from there, to some sane limits so as not to break the game.
-
View User Profile
-
Send Message
Posted Jul 29, 2014@PsychoFad
I just checked the "otherside" config, and you are right! I think that was intentional on my part- as you said, to give a little reward for a big risk... I notice that it converts mob spawners to diamond blocks, too. Feel free to change any of that of course, but if you've already got some chunks generated, who knows what's out there ;)
And definitely not your mistake- the other side thing is a special config, the one you linked is it and up to date. By default the plugin won't do an other side thing, it just does the chest population. Don't worry about all your comments, I think you have a better handle on these plugins than most!
GriefPrevention sounds perfect- no commands needed? That's exactly what I'm after. I had been looking at Precious Stones for that sort of thing, too- but it's got so many other things that aren't protection related that I don't really want. I'll definitely check this plugin out- thanks for the tip!
-
View User Profile
-
Send Message
Posted Jul 29, 2014@NathanWolf
Wich spells are afected by power 1,2,3,4,5,10
-
View User Profile
-
Send Message
Posted Jul 29, 2014@NathanWolf how to modify domage from spells and the way they are cast
-
View User Profile
-
Send Message
Posted Jul 28, 2014As for the Iron Blocks thing I mentioned...I just remembered, the original config did not have the blocks listed at all just the chest populator things, I used your example config located here: https://raw.githubusercontent.com/elBukkit/MagicWorlds/master/src/main/resources/examples/otherside/config.yml
My mistake... :D
-
View User Profile
-
Send Message
Posted Jul 28, 2014@NathanWolf
Hmm, I'm using v1.0 of MagicWorlds....not sure if thats the latest version, but I did find Iron blocks there as part of the jungle temple...I think they were replacing the Mossy Cobble in the structure. Not too big of a deal, jungle temples are a bit rare anyways.
As for GriefPrevention...it is a really nice plugin, there are a few bugs in the latest Beta that they are working on, nothing game breaking, well unless you call permanent item frames game breaking (you literally have to boot the server without the plugin to remove one :P), but I am using it on 1.7.9 r0.3 and all of the protections and commands seem to be working just fine. It allows you a certain amount of blocks to claim when you first join the server and you earn additional blocks through play time, new players will claim a small area around the first chest they place down, and you can resize that claim with a golden shovel or use it to claim other plots of land. By default the player that makes the claim is the only one who can do anything on it, but you can use commands to give out different permission levels on your claims to people you trust. It even protects animals on your claims. It's definately worth a look and really easy to use...and the configs are very customizable...per world! Plus it even protects against Spam Grief (chat) and other things that can cause server admins problems...and all of that is configurable.
Anyways, thanks again. Looking forward to your site being back up so I can see what I am missing on there! :D
-
View User Profile
-
Send Message
Posted Jul 28, 2014@PsychoFad
Upgrades and spells will get absorbed automatically by your wand (the one you're holding) when you pick them up. Any upgrades in your inventory will be absorbed when you grab a wand.
If your wand already has the spell, or doesn't need the upgrade, it won't absorb it.
And yeah - that's my feeling too- though I don't consider anything in the other side as "precious" per se- I mean the current configs don't use gold/iron/emerald anymore.. they do use quartz though, and Automata can be born from lapis (I think)- so depends on your definition of "precious" I guess :)
Thanks for the notes on Wolf House! I can fix the hub rooms pretty easily- but you're right, the bridge is broken due to something in the schematic process... it works in the "original" (which is my actual hand-built home from my survival server). I kinda just gave up on the bridge XD The stairs should work, though.
GriefPrevention sounds super interesting... I'll check it out. I'd love some sort of automated anti-grief solution for my own survival server! Thanks again, and no worries on being "that guy" - these are all excellent questions and observations.
-
View User Profile
-
Send Message
Posted Jul 28, 2014@NathanWolf
Thanks for the quick reply!
How does the wand absorb the item? Do I just keep it in my inventory or do I have to do something specific to make this happen? I am the server owner (and of course OP) so I imagine I do have the pnode that you refer to since OP's generally have all nodes. Kinda nice that those blocks are restricted for the other users however since they would kinda render the economy useless. Of course if they use the phase spell to go to The Other Side world (using MagicWorlds as well :P) they can grab some precious resources there as well...but I feel ok with this since the Automata make this a bit less friendly of a place...risk for the reward as it were.
I have found a few bugs with the Wolf House, however. In the Hub, the teleport booth that should take you to the control room does not work...this appears to be because of using the .5's on the coords on the command blocks. I edited them to use whole numbers and then it worked. Also, the one that should take you to the Enchantment Table doesn't even have a tp command in it...it has some other text in there that appears to do nothing. All the others work just fine. I did notice some issues with the redstone contraptions as well and did my best to fix them but I am no redstone genius. The bridge controls do not carry the redstone signal all the way to the pistons that push the blocks out for the bridge, and it appears that the pistons are stuck in several places...this has happened to me before just from pasting a schematic using worldedit and usually only requires that the block they are trying to push be broken.
Sorry for being that guy, but is there any chance you could add GriefPrevention checks in a future version that would work similar to the WorldGuard ones to see if a player has build permission on a claim before altering blocks in an area? I find that GriefPrevention is superior to WorldGuard as it allows player to protect their land without complicated commands or Admin intervention. If not, no worries, just like to ask!
Thanks again!
-
View User Profile
-
Send Message
Posted Jul 28, 2014@PsychoFad
Lol, I feel like this plugin happens to be getting a ton of attention during the week all my servers are down XD ... bummer :(
You have two options for trying out the example configs:
example: potter
Will switch everything to the HP configs. Definitely not recommended for a server that has been running the default configs already - all of the non-HP spells will disappear. I've tried to make sure the wands "remember" that they had those spells and get them back if the spells return, but it's probably best not to mess with that.
you can also do
Which will combine the two configs. You can then test out all the harry potter spells and brooms, and those spells will go away if you ever take that line out of the config.
Note that a few things exist in both configs- like the elder and wolf wands, and they will be a combination of the two.
It looks like in the code, the only way for the anvil to organize is if you rename it... it looks like I intended to allow some other way, but I don't think it works. The anvil is a bit glitchy.
You can spawn and sell an organizer item (/wand organizer) that will do the same thing, though.
The default configs now restrict all precious blocks (gold, diamond, emerald), as well as their ores. That's all configurable in materials.yml though- I'm trying to make this plugin work alongside a physical economy. If you are "superpowered" - that is you have the "magic.powered" pnode, or your wand's "power" setting is greater than 1- you can bypass this restriction, however.
Upgrades are items just like wands, basically. So "/wand mana1" will give you an energy upgrade. You can also use the "mgive" command - like "mgive mana1" or "mgive fling" to give yourself an upgrade item or a spell, that will be absorbed by your wand.
-
View User Profile
-
Send Message
Posted Jul 28, 2014So what is the difference between running the plugin with the default settings and running it with the "default:potter" flag? Will adding the flag after the server has been running affect the wands in any way that would mess them up?
Also, when I use an anvil to organize my wand, at first it seemed to work fine, then for some reason after I had gotten a load of spells on it the organize feature didn't seem to work unless I renamed the wand...am I doing something wrong or does it always require XP to organize...I may have not noticed the first couple of times. Just curious.
Another thing...in the video you had the Diamond_block in your materials, is this in the default? There are so many configs, I am getting a bit confused if it is restricted or allowed now. Also in one of the configs it mentioned being able to absorb a block into the wand to be used with the construction spells, how do you do this? As a matter of fact...how do you apply the upgrades even?
Sorry for all of the questions, your website is down as well as your jenkins, so if the info is on your site I can't see it right now. We are having a blast with the plugin though...thanks for making it!
-
View User Profile
-
Send Message
Posted Jul 28, 2014@Canibaz
Looking in the spells.defaults.yml file is the best way- if you want a list of all the classes, here you go:
https://github.com/elBukkit/MagicPlugin/tree/master/src/main/java/com/elmakers/mine/bukkit/spell/builtin
-
View User Profile
-
Send Message
Posted Jul 28, 2014@NathanWolf
what are all class spells psl i need them to create :)
-
View User Profile
-
Send Message
Posted Jul 28, 2014@Canibaz
There is no trick- just look at the examples. It is pretty complex, if you've only just started using the plugin I suggest you try out all the (150+) default spells before trying to make your own.