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 Dec 9, 2015@ShadowWolf294
Do any errors appear on startup or when you do "/magic load"?
That seems most likely to be caused by the configs not actually loading, like a simple parse error perhaps.
-
View User Profile
-
Send Message
Posted Dec 9, 2015@NathanWolf
Great! Thank you so much! :)
(We always say this on this forum, it's never the case but there's too much to talk about!) Last thing, I'm not too sure what I have done or changed, but the command /wand no longer works. It might be something to do with Spigot. Could you check it out for me please?
Here's the log:
http://pastebin.com/Yejwhese
Any help? :)
-
View User Profile
-
Send Message
Posted Dec 8, 2015@ShadowWolf294
Yup, that's exactly what the Parallel action does :)
Any actions under Parallel execute simultaneously. See the "singularity" spell in the default configs for a nice annotated example:
https://github.com/elBukkit/MagicPlugin/blob/master/src/main/resources/defaults/spells.defaults.yml#L4382
That does a Disc action and Repeat/AreaOfEffect action in parallel, so it is constantly damaging entities in the area while slowly destroying blocks in a radius at the same time.
-
View User Profile
-
Send Message
Posted Dec 8, 2015@NathanWolf
Ooooh. I see. Thanks for that information, but that wasn't exactly what I meant. What I mean is you have two repeats in one spell, they both repeat an action over and over again at the same time. If that makes sense? So I still want them to repeat the action over and over again, but I would like the two repeats working at the same time simultaneously rather than one repeat runs, then after that has completed its job, the other runs.
-
View User Profile
-
Send Message
Posted Dec 7, 2015@ShadowWolf294
So weird- no errors in the console, either? I'm really curious what's going on!
And no- if you wanted to run those two repeats simultaneously, use the "Parallel" action instead.
"Multiply" works more like "Repeat", so if you have
It will fire 10 projectiles off at once, instead of one after another, like what would happen with Repeat.
-
View User Profile
-
Send Message
Posted Dec 7, 2015@NathanWolf
Hm. That's strange. I typed the exact command you used in the server log, it says:
/pex user haz246 check Magic.commands.wand
07.12 19:26:45 [Server] INFO Player "fb6820a0-c5ea-469c-817e-e6256e92e1c4/haz246" has "Magic.commands.*"
Strange... Anyway, It's not too important. Please don't get worked up about it. I'll figure it out later :) With the use of the "Multiply" class, would you use it something like this to get two repeats to work together simultaneously?
http://pastebin.com/3d5W1Y5v
-
View User Profile
-
Send Message
Posted Dec 7, 2015@ShadowWolf294
Hm- Magic.commands.* is exactly what I use.. it ought to work. Have you tried "/pex user <you> check Magic.commands.wand"?
This lets me use /wand and all the rest of the magic commands.
Also I assume this is just a pastebin glitch of some kind... ?
The first essentials line looks mis-aligned there.. but I assume if it really was, it would be totally broken.
-
View User Profile
-
Send Message
Posted Dec 7, 2015@NathanWolf
(Facepalm) I really don't know what to think now. However once I have this permission sorted, I'm pretty sure I can work out the rest for myself :)
I've done exactly as you said. I replaced a few things in the permissions file however I can't use /wand. Any help?
http://pastebin.com/GFwkSUgZ
-
View User Profile
-
Send Message
Posted Dec 7, 2015@NathanWolf
Thanks! As I'm creating more and more spells and looking through more of your examples, I'm beginning to become a bit more experienced with spell coding.
Thanks again for the help!
It's okay, I mean. It's kind of an OP node if you think about it xD But that's alright. I wouldn't expect every plugin to respect that node. Don't worry about it! :)
-
View User Profile
-
Send Message
Posted Dec 7, 2015@ShadowWolf294
Yup, totally! It would look like this:
etc. You can put parameters under an action that apply only to the action, in case you want them different - these will override the ones in your main "parameters" block.
There is also a new "Multiply" action- which is just like repeat, but runs actions in parallel. I haven't used it much (Meteor Shower), but it has promise :)
And for the perms- it's weird that other plugins respect it but mine does not. I honestly have no idea why that would be :\
-
View User Profile
-
Send Message
Posted Dec 7, 2015@NathanWolf
Ah, Okay. I see, It's just that most plugins abide by the '*' node. I now see why you wouldn't really implement that into a plugin :) Anyway, that question was generally based on curiosity.
But now, a serious question (Or maybe curiosity again... I don't know). Is it possible to have two or more "Repeat"s in one spell? Or do they all have to be linked to one "Repeat"? It's just that I would like to have a "Repeat" repeating an action for a certain number of times, then a different "Repeat" doing a different action for a different number of times. If that makes sense...
-
View User Profile
-
Send Message
Posted Dec 7, 2015@ShadowWolf294
Holy cow, I don't think you should ever give yourself "*" ...
I honestly have no idea what Pex does with that, I've never tried it. I imagine it's supposed to work, but it's not something plugins are supposed to have to account for.
A plugin just asks "does the player have permissions x.y.z?" and a GM says yes or no.
I thought you meant something more like "Magic.commands.*", which I know works.
I wouldn't really advise doing anything less specific than that- there are permissions used for all kinds of game-changing things like bypassing safety checks, etc.
-
View User Profile
-
Send Message
Posted Dec 7, 2015@NathanWolf
I'm using Pex. It works when someone is opped (obviously) however, when someone isn't opped and their permissions are based on the GM, it doesn't work. For example, in the group Owner, this is the permissions setup:
http://pastebin.com/K1CE74h4
Does it have to be:
- "*"
Maybe?
-
View User Profile
-
Send Message
Posted Dec 7, 2015@Dannebooi1
Doh! You found a double-whammy bug. I still have the "elder" wand in the wandshop, which is not part of the default configs anymore. And, there is a bug in the item shops where it's supposed to ignore invalid items/wands.
I'll have both fixed in the next dev build- in the meantime, you can work around it by putting this in your spells.yml:
Tweak prices as you wish.
I didn't notice this because I don't actually this wand shop on my dev server or any server I'm active on- generally a player just gets one wand (via crafting, or quest or some such). Most of the wands in this shop are really just to demo each rank, to be honest. And the shop itself is there as an example of how to do it- so your results may vary!
In particular, the engineer and architect wands are incredibly OP!
-
View User Profile
-
Send Message
Posted Dec 7, 2015@NathanWolf
I'm using the built-in shops but when i type /mtrait wandshop it does not show the buyable wands as in the others Stuff-shops.
It also gives me a error when being used: http://pastebin.com/WqET3MAq
Any ideas?
-
View User Profile
-
Send Message
Posted Dec 7, 2015@Dannebooi1
If you're using Essentials sign shops, you can do "wand: broomstick" for a broom.
Shopkeepers NPC's can sell magic items natively as long as you're on Spigot 1.8.3 or higher.
Otherwise, check out the built-in Magic shops- there is no in-game set up is the main downfall, you have to configure a "spell" for each shop type. There are a few builtin ones to get you started.
https://github.com/elBukkit/MagicPlugin/wiki/NPC
-
View User Profile
-
Send Message
Posted Dec 7, 2015@NathanWolf
I have a question, how do i sell the wands and brooms in signs or any npc?
:)
-
View User Profile
-
Send Message
Posted Dec 7, 2015@NathanWolf
I definitely will! :
-
View User Profile
-
Send Message
Posted Dec 7, 2015@Dannebooi1
Cool!
I put some hacky stuff in that's meant to fix Fling with flight disabled, but there are still a few things like the Rocket Boots that will trigger it- because they just give a huge jump potion effect, and (frustratingly!) the server doesn't take that into account when checking for flight :(
I still leave flight enabled on most servers, but it shouldn't strictly be necessary. If you notice players still getting kicked when Fling'ing let me know :)
-
View User Profile
-
Send Message
Posted Dec 7, 2015@NathanWolf
Yes, i totally understand now!
Thank you for the help :)
But i really got confused earlier since the wands sometimes bugged so you could drop them and broomstick did not work with a other version, so thats why i seeked help!
And yeah got some errors with some of the skills with Fly disable, and it kicked all the members who used it. But now i dont need to it seems too!
And hey! Thanks for this awsome plugin, I really appreciate it! <3