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 Apr 11, 2015Is this plugin compatible with Cauldron 1.7.10?
-
View User Profile
-
Send Message
Posted Apr 11, 2015@NathanWolf thanks alot for all your help and the quick replies. I will look into this right after i reconfigure the plugin. I think i messed something up so i redownloaded it all lol.
-
View User Profile
-
Send Message
Posted Apr 11, 2015@Adamantyte
This is why Magic is not a good fit for rank-based servers :)
But people do it anyway.
When I help set this up, here is what we normally do:
That last bit will allow players to get the spells on their wand they have permission to cast.
It's a little awkward, but works. Magic was not designed to limit players like this, so that's about the best I can do :)
-
View User Profile
-
Send Message
Posted Apr 11, 2015@Kasamu
No worries! This is actually some pretty complex stuff.
Now, for starters, you're working with some slightly outdated configs. This is the new Lightning:
https://github.com/elBukkit/MagicPlugin/blob/master/src/main/resources/defaults/spells.defaults.yml#L1406
The main difference, and answer to your question- in your example you have "class: LightningSpell". That's what makes it spawn some lightning.
In the up to date example, it doesn't have a "class", instead it has a list of "actions". This is the new system- there are 3 main parts to a spell:
In the case of Lightning, there are actually no parameters. You can't change the damage, it's just spawning vanilla lightning- which isn't variable like that.
You can, however, tweak the 'radius' of the Spread action to make the lightning more or less accurate.
I hope that helps! Let me know if it's not starting to make sense :)
-
View User Profile
-
Send Message
Posted Apr 11, 2015@NathanWolf Hey i want to automatically add a new spells to a players wand when they rank up. I added the permission node wand.add.<spell> to the rank hoping that when they reach that rank, the spell would be added to the wand but that did not work. How would i go about doing this?
-
View User Profile
-
Send Message
Posted Apr 11, 2015@NathanWolf
Hey thanks again! Sorry for asking such newbie questions but I really don't like having any doubts about things and I'm still getting used to this plugin haha.
So, for example, the lightning spell in the spells.yml config
If I want to add more damage to it, I would simple enter a simple codeline like:
power: 20.0
Anywhere inside that spell, am I right? And if i want to create a new spell I simply need to establish certain parameters by just using variables. In other words, add code lines like: "sound: -" "power: -" "particle: -"
What I don't seem to understand is how the actual lightning strikes in-game. I mean, I don't see any variable in here that actually invokes the lighting bolts that minecraft uses. Maybe I'm missing something?
http://pastebin.com/E2FuuiG1
-
View User Profile
-
Send Message
Posted Apr 11, 2015@Kasamu
Hi! Yes, that is definitely possible. Unfortunately the documentation is not that great yet- that link on the wiki you found is the best reference I have. It lists all the actions available, though not all the possible parameters for those actions.
For that, the best way to see what's available right now is to just look over the default spell configs:
https://github.com/elBukkit/MagicPlugin/blob/master/src/main/resources/defaults/spells.defaults.yml
If you can find a spell similar to what you have in mind, and modify from there, that's a good place to start. I'd be happy to help with anything specific, let me know how it goes!
-
View User Profile
-
Send Message
Posted Apr 11, 2015@NathanWolf
Thank you for the quick answer! However there is something that kinda confuses me and I would like a clarification. If I want to "create" a new spell, I have to do it using Java in some way or just using variables like the ones inside the .yml files?
In case i have to use variables in notepad, all of them can be found here? https://github.com/elBukkit/MagicPlugin/wiki/Actions
I'm asking this because I would like to create spells, not just customize the actual ones.
Thanks in advance.
-
View User Profile
-
Send Message
Posted Apr 9, 2015@Adamantyte
Sure- I will make that more clear in the docs :)
-
View User Profile
-
Send Message
Posted Apr 9, 2015@NathanWolf
Ohh i didn't see the negative sign thanks alot
-
View User Profile
-
Send Message
Posted Apr 9, 2015@Adamantyte
Yes. That's why I said
add: -Magic.cast.<spellname>
Note the negation.
Players have perms for all spells, you need to take away cast perms if you don't want them to be able to cast spells.
-
View User Profile
-
Send Message
Posted Apr 9, 2015@nathanwolf I gave a player a wand with all spells, that player was in my default group which contains only access to one spell (magic.cast.missile). The player was able to cast missile, as well as any other spell on the wand. I need to disable all of the other ones unless that player is in the specified group to use them
-
View User Profile
-
Send Message
Posted Apr 9, 2015@Adamantyte
add: -Magic.cast.<spellname>
Please read: https://github.com/elBukkit/MagicPlugin/wiki/Admins
-
View User Profile
-
Send Message
Posted Apr 9, 2015how would i go about denying spells to a certain rank? It seems everyone can cast every spell if the wand contains it. I want only certain ranks able to cast certain spells. So basically how to deny permissions?
-
View User Profile
-
Send Message
Posted Apr 9, 2015@lathame
Latest dev build will shut down brooms when they enter a region without perms. So I guess you could globally deny the broom spell, and create a region around your worldborder that allows it.
By the way, if you update to latest- I think the region flags work in the way you expect now- but I changed that a while ago, so if you were pretty up to date something may be wrong.
And I fixed that issue with hats dropping on death :)
-
View User Profile
-
Send Message
Posted Apr 9, 2015@lathame
I'm not sure either, I didn't know you had a worldborder. Brooms are probably not the best fit for that :|
hmm.. there's no real way to handle that right now, but I *could* have the broom constantly check permissions and turn off if the player enters an area it doesn't work in.
Then, I guess you could create a giant region covering your whole world. Kinda hacky but I can't think of a better solution.
-
View User Profile
-
Send Message
Posted Apr 9, 2015Using broomsticks and going through a worldborder will gradually lag out and crash the server. Not sure if this is something with the brooms or worldborder. :)
-
View User Profile
-
Send Message
Posted Apr 9, 2015@Adamantyte
Yeah, that just renames the one you're holding.
You'll have to customize configs to change the template names, if that's what you wanted.
Put something like this in your plugins/Magic/messages.yml:
Use spaces, indentation is important.
-
View User Profile
-
Send Message
Posted Apr 9, 2015Hmm it says wand reconfigured but when I spawn a new one the description is no longer there?
-
View User Profile
-
Send Message
Posted Apr 9, 2015@Adamantyte
In-game use "/wand name <name>" and "/wand configure description <description>"