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 30, 2015@MrHedra
That is done via enchanting.yml:
https://github.com/elBukkit/MagicPlugin/blob/master/src/examples/elpotter/enchanting.yml
-
View User Profile
-
Send Message
Posted Jun 29, 2015Hey I played on your server and when I gave the ticket to Ollivander it broadcasted that I enrolled at Hogwarts. How do I make mine broadcast something too :D ?
-
View User Profile
-
Send Message
Posted Jun 29, 2015@NathanWolf
Yes, I understand, thank you.
I might not use this feature but I still wanted to know how to use it since I may need it. Since Heroes posses a lot of classes, I don't want warriors to be able to use Mage spells, so I will probably add custom permissions for every class that gives "kits" at a certain cost. So, every class would be able to get a few extra spells with this premade-wands at a certain lvl.
The main idea is to give new skills to classes using this plugin, so basically I will not have the need of coding java skills directly for heroes. There is a ton of things that I want to add using this! But the main point is the creation of new spells without Java.
I'm still confused about how will I do a few of this things but I know it's posible with some configuration :)
EDIT: Curious about something. It's posible to create a command block that cast any spell in a certain area with a certain ammount o f time? Like, creating a timer with redstone and every 5 minutes (for example) the command block would cast the Music spell.
-
View User Profile
-
Send Message
Posted Jun 29, 2015@Atrelyu
Magic.cast.<spell>
Is the permission node for casting a spell. However, you may not really need this if your players just get one of a set of kits on starting out (like choosing a class). The wands will be bound to them, so they can't be traded- if you ever reset someone's class you'd have to take it away.
Just a thought- you can control spells with permissions, but it starts to get really annoying if you want to use Magic NPC's, or command-block casting, or basically anything outside of "player can cast these spells".
-
View User Profile
-
Send Message
Posted Jun 29, 2015@NathanWolf
Derp, you were right, I didn't know that creative mode interferes in the wand mode, sorry x.x
I have another question, looking at your documentation on github and other places I noticed this text: "Of course, Magic aims to please by being as flexible as possible. You can also use alternative configurations, such as permissions-based casting, auto-filling wands, or other tweaks and tricks."
I'm pretty interested on the permission-based configs because, like we were discussing before, it would be quite useful for me since I'm trying to give "Kits" with certain spells to players that have a certain classes on heroes. How can I use this permission based spells? is there any documentation/examples about this :) ?
-
View User Profile
-
Send Message
Posted Jun 29, 2015@NathanWolf
nice ! :D
-
View User Profile
-
Send Message
Posted Jun 29, 2015@MrHedra
Something like this:
That is the basic model for turning any command into a spell.
Unfortunately, I don't have a way to hook up undo (yet)- so you'd have to give them a separate spell to turn back into normal. If I ever get around to allowing commands in undo I think this will all be much more useful (e.g. putting a duration on it).
-
View User Profile
-
Send Message
Posted Jun 29, 2015@NathanWolf
OMG perfect we have libsdisguises but how does that work? x-x
-
View User Profile
-
Send Message
Posted Jun 29, 2015@MrHedra
You can do that with LibsDisguise and Command actions :)
Custom entities is probably not something I'll ever add to Magic directly.
-
View User Profile
-
Send Message
Posted Jun 29, 2015Heyyy Nathan! What do you think of a Polymorph spell :D
-
View User Profile
-
Send Message
Posted Jun 29, 2015@MrHedra
That is just the builtin shops- the wiki has all the info on Magic NPCs:
https://github.com/elBukkit/MagicPlugin/wiki/NPC
The wand effects one "tweakshop", for instance. So
Magic spells won't target NPCs by default- I've never actually used Sentries, so it's more common that NPCs are shopkeepers, questers, or otherwise not something that makes sense to target.
That said, you can put this in your spells.yml to change that:
It won't discriminate if you do this, though - it'll target sentries, or shopkeepers, or whatever- so you may have to take care about disallowing spell use in towns I guess.
-
View User Profile
-
Send Message
Posted Jun 29, 2015Hey Nathan, how come magic spells don't damage Citizens' Sentries
-
View User Profile
-
Send Message
Posted Jun 29, 2015@NathanWolf
OMG YES! We're using 1.8. But Nathan when I went to your server elmakers one there were NPCs who give sell wand effects and stuff. Is that different from giving recall tokens or is that a different plugin?
-
View User Profile
-
Send Message
Posted Jun 29, 2015@MrHedra
I thought NPC's only talked on right-click by default... but "/npc text" and then "close" should do that.
For giving items, I don't actually have a builtin spell for that.. I will add one. The "GiveItem" action is what you want there. I'll make a "giveitem" spell, you'll be able to tweak the "item" parameter when adding it to an NPC.
Btw, I think I've fixed that issue with the Recall "warp" parameter- are you on the CB build, or the 1.8 build of Magic?
-
View User Profile
-
Send Message
Posted Jun 28, 2015@NathanWolf
Hi Nathan ik this is probably not the place to ask but how do I make it so that the NPC will only talk when I right click it and not when I walk in radius. And how do I make an NPC give me a recall token? Thanks!
-
View User Profile
-
Send Message
Posted Jun 28, 2015@MrHedra
That's pretty easy:
That will give Blink on right-click.
-
View User Profile
-
Send Message
Posted Jun 28, 2015@NathanWolf
Hi Nathan. This is my first time using Citizens plugin. How do I make an NPC give me a spell when I right click it? Thanks in advance ~
-
View User Profile
-
Send Message
Posted Jun 28, 2015@SubZeroCro
I answered you already (bottom of page, probably scrolled off now with this response)- no, sorry, I don't think it does. I don't expect it to, anyway.
I did have someone come here and say they got it working, but I don't know how.
It will tell you on startup if something goes wrong- look for a message like this:
I don't believe that any of the NMS code is compatible with Cauldron, if that's the case the plugin will tell you with the above messages on startup, in your server logs.
-
View User Profile
-
Send Message
Posted Jun 28, 2015Nathan is this compatible with cauldron. We have an issue and we cant use it with cauldron. when we do /cast it shows in chat "/cast parematers"
-
View User Profile
-
Send Message
Posted Jun 28, 2015@Atrelyu
Inventory mode is actually the default- are you in creative mode?
If you're in creative, and on the 1.8 version of Magic (5.0 or up) then it will use chest mode to avoid some item dupe exploits.
Otherwise, it should be using inventory mode by default, without any changes needed- let me know if you're *not* in creative and I'll try to think of what else could be going on there!