Magic
Server Compatibility
Please make sure you download the correct version for your server:
-
1.9.3 and up => Latest 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
@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: ''
@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.
@NathanWolf
Thanks for the help, but I have to report that that doesn't work :I
Sorry to keep bugging you.
@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.
@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!
Just 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?
@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! :)
@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.
@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.
Just 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.
@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!
@NathanWolf
OK thanks for the help, I appreciate it. Sorry for the 'Noob' questions.
@lathame
These are all in the admin instructions page, link above. Spell casting is
Magic.cast.<spellname>
@NathanWolf
Thanks.
What are the permissions for spells?
magic.wand.wand.spell<Spell> ?
@lathame
Check the defaults file, all the options are in there with descriptions in the comments.
@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
@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 :(
The server had netty and crashed again!.
@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?
How exactly do you stop players from spawning some wands without stopping them from spawning wands all together? also when I copy the config file (like it says to in the default config) it still reads from the default config, I named the new config file "Magic.yml" can you please help me?