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 Jan 28, 2014@lathame
Thanks - yes, the -magic.cast.* does not seem to be working. I thought it did. Adding individual lines to remove access to each spell works, but that is tedious.
I'm going to play with this a bit- I see some "-someperm.*" lines in Essentials' default global groups file, so I assume this is supposed to work.
I'll play with it a more- if I really can't get it to work, I'll add my own "default_permissions: true/false" flag in Magic's config. But it really seems like that shouldn't be necessary.
-
View User Profile
-
Send Message
Posted Jan 28, 2014@NathanWolf
groups:
Guest:
default: true
permissions:
- chestcommands.open.*
- -magic.cast.*
- magic.cast.flare
inheritance:
- g:groupmanager_default
- g:essentials_default
info:
prefix: '&7Guest &8| '
build: true
suffix: ''
-
View User Profile
-
Send Message
Posted Jan 28, 2014@lathame
Can you pastebin your permissions? Just for the default group, or for whatever group you're testing with?
I know other servers that are using permissions, so I know that it works- unless it's been broken very recently.
EDIT: Also let me know what group manager you're using. I only test with Essentials GM, but it should work with any.
-
View User Profile
-
Send Message
Posted Jan 28, 2014@NathanWolf
Thanks for the help, but I have to report that that doesn't work :I
Sorry to keep bugging you.
-
View User Profile
-
Send Message
Posted Jan 28, 2014@lathame
Oh, by the way- there *is* a bad issue with wands.yml in the current version. I have it fixed in 2.9.0, but it's not quite ready for release- I want to get the config format finalized. Sorry about that! It should be soon.
-
View User Profile
-
Send Message
Posted Jan 28, 2014@lathame
All players have permission to all spells by default! I don't use permissions in the default configuration.
Fortunately, it's pretty easy- just give the default group
- -magic.cast.*
So they have access to no spells by default. Then the additive permissions should work on top of that.
Same for
- -magic.commands.wand.wand.*
That is if you want to give them /wand - probably better to give out the wands somehow though (command block, sign, admins..)
There is no way to prevent players from using a specific wand should they get ahold of one - though any spells on the wand they don't have permission to use won't work.
Hope that helps!
-
View User Profile
-
Send Message
Posted Jan 28, 2014Just reporting another bug. I have the auto-fill wands option on. I gave the default rank permission "magic.cast.flare" I then proceeded to deop myself and move myself to the default rank. Then I gave myself a wand through the console. For some reason it has every spell.
Basically I'm trying to make a server where you can buy ranks with in-game money and as you progress through the ranks you get more spells. I only want one wand available, is there anyway I could disable all other wands except for the default one?
-
View User Profile
-
Send Message
Posted Jan 27, 2014@lathame
Ok, I think I found a recent bug that would be making wand.yml changes not really work :(
I'm kind of re-arranging a lot of the config stuff for 2.9.0, hoping to solidify it before release. I'll make sure all the override functionality is working in that release.
Thanks for your patience! :)
-
View User Profile
-
Send Message
Posted Jan 26, 2014@NathanWolf
default: xp_regeneration: 5 xp_max: 100 modifiable: true
Originally I had regen set to 20. No errors appreared in console, by the way.
Again, thanks for the continued support.
-
View User Profile
-
Send Message
Posted Jan 26, 2014@lathame
Thank you! I will have to test that out. I recently changed the way spells.yml and wands.yml work (additive to defaults), so admittedly it needs more testing. What did you change in wands.yml, exactly? It needs an xp_max as well as xp_regeneration for mana to work.
-
View User Profile
-
Send Message
Posted Jan 26, 2014Just wanted to report a bug, if you create a wands.yml file and change the value of the default wand it will never regen XP. I tried restarting the server, reloading, everything.
-
View User Profile
-
Send Message
Posted Jan 25, 2014@lathame
No problem at all, and you're welcome! I'm still working on all the documentation, it's gotten a lot better but I'm hoping to have it wrapped up for 3.0
Thanks!
-
View User Profile
-
Send Message
Posted Jan 25, 2014@NathanWolf
OK thanks for the help, I appreciate it. Sorry for the 'Noob' questions.
-
View User Profile
-
Send Message
Posted Jan 25, 2014@lathame
These are all in the admin instructions page, link above. Spell casting is
Magic.cast.<spellname>
-
View User Profile
-
Send Message
Posted Jan 25, 2014@NathanWolf
Thanks.
What are the permissions for spells?
magic.wand.wand.spell<Spell> ?
-
View User Profile
-
Send Message
Posted Jan 25, 2014@lathame
Check the defaults file, all the options are in there with descriptions in the comments.
-
View User Profile
-
Send Message
Posted Jan 25, 2014@NathanWolf
Yeah, I did for the right click cycle, but I wanted to add keep wands on death and wands come pre-filled with all spells the player has permissions for. I couldn't figure that out
-
View User Profile
-
Send Message
Posted Jan 25, 2014@Saux120
Something is very wrong at twigs temple. Throws an NMS collision error on load. Sorry I have to temp-ban you two until I can resolve it, else the server will crash when you login :(
-
View User Profile
-
Send Message
Posted Jan 25, 2014The server had netty and crashed again!.
-
View User Profile
-
Send Message
Posted Jan 25, 2014@UCNitwity
You can use pnodes like
Magic.commands.wand.wand.<wandname>
Yes, there are two "wand"'s in there- I know it's a little weird.
As for the config issues- what version do you have? The latest version should be reading from the defaults, but then also reading your file to override. Is that not happening?