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
The wand item has special properties ? How the plugin determine if a item is a wand ?
You could maybe just check if the blaze rod is named "Wand" (with color to prevent anvil rename), then read the lore, it would be easier to make others plugins give a wand to the player (for example a shop or a reward).
@britaniacraft
All of the in-game text is customizable/localizable, just add entries to messages.yml (copy+paste all of messages.defaults.yml if you want to change all of the text).
As I have been trying to explain, the glow has nothing to do with the issues you're having. Some plugin you have is destroying wands, this is going to happen whether or not they glow, or regardless of what they are named.
If you can narrow in on the plugin that's doing it, I can try to help, but generally this would require changes from the other plugin to make it work with Magic, and you may have to make a choice between the two.
@NathanWolf
In config.yml. The problem is that my wand is glowing but a plugin or bukkit remove the glowing effect of the wand (not the name or the lore) after few minutes so my wand doesnt work anymore. I think the plugin always check the blaze_rod is glowing even with wand_glow: false.
I have another suggestion, could you make the wand name configurable ? I would like to translate "wand".
Thanks!
@Gonjii
No, not presently, sorry- but (and this may or may not work)- have you tried enchanting it via an anvil+book or enchanting table instead of with Bukkit commands? Bukkit likes to destroy wands (as do other plugins).
i want to make a diamond sword wand for warrior type classes but sharpness or sharp dont work in the wands.yml
if i enchant it with commands it will not hold its enchantment.
is there any way to put sharpness on a wand?
@britaniacraft
I thought I had tested that, though not recently. Did you change it in wands.yml or config.yml?
In any case, I don't think it's going to save your items from being destroyed, it's just a visual change.
Hey,
The wand_glow config doesnt work, even turned off /wand give me a glowing blazerod and I cant add spells to a non-glowing blazerod
thanks!
well i re downloaded the plugin and it works now lol.. thanks for all the help XD
@Gonjii
You have it already in your spells.defaults.yml file :)
I don't think it's changed recently, but just in case here is the current version from github:
https://github.com/elBukkit/MagicPlugin/blob/master/src/main/resources/defaults/spells.defaults.yml#L85
I'll give it a shot.
can you post the spell code for the working potion spell you used?
@Gonjii
Hrm- well I just tried it on my server and it worked as expected! Could you try backing up all of the custom configs and see if Curse is broken in the default?
I guess if it is, you can grab my DEV build (what I'm running on my own server), but nothing related to that should've changed recently so I'd be a bit stumped.
correct.. custom wand i made with nothing on it aside from spells im playing with.. no stats or anything and the player im targeting is de-opped with only protect 4 armor no wand
if you could resolve this i would be incredibly grateful lol
@Gonjii
Hrm- and to be clear, you are not testing with Wolf or Admin wands? If they have "Protection X" in the lore, you can't be targeted.
Otherwise, I dunno- I'll make sure and test Curse on someone on my server next time I'm there :\
2.9.8.1?
@Gonjii
Well you have the right idea, I'm not sure why it's not working the way you expect. :(
What version of Magic have you got?
no curse hadn't worked before.. it lets me target mobs and before it was 'other' it was 'any' and if i didnt have anything targeted it would apply the effects to myself
if i have someone targeted it just makes a 'tink' sound and does nothing else
im going to be making custom spells and wands i have all that down as far as creating spells and wands but im just tinkering with existing things as of now so i know it'll work when im ready for that step
@Gonjii
Well that looks correct to me.. hrm.
A couple of notes, though- the will be overriding (i.e. adding to the default curse). If you want to make a totally new spell, use a new key (like "harm").
But that said, this ought to work... did Curse work before customizing?
The potion effects I may actually change (which will have an effect when you upgrade) they are a little confusing. The first number is duration (in ticks) and then second number is power (which seems to be a vague magic number specific to each effect).
curse:
icon: spider_eye
category: dark
class: PotionEffectSpell
pvp_restricted: true
effects:
cast:
- class: EffectSingle
sound: explode
- class: EffectSingle
firework: ball_large
color: 'FF0000'
color2: '191970'
location: target
costs:
xp: 50
parameters:
range: 32
target_type: LivingEntity
target: other
effect_harm: 200, 5
no idea what the numbers after the effect do i just put them there and figured id tamper with them once its actually working.
tried this in my warzone and wilderness neither of which have any flags set yet
@Gonjii
Heh :) Depends on if I'm paying attention!
Ok, well by default "target" is "other" and "target_type" is LivingEntity- so generally spells will target other players. Can you please paste an example of one of the custom spells that's not working?
Oh, and make sure you're not all testing with Wolf or Admin wands - those make you untargetable :)
EDIT: Oh, also anti-pvp WorldGuard regions will prevent targeting players (or casting many spells at all).
im trying to make custom spells but im tweaking the ones you've made before i do that
im mostly interested in the harming, poison, regeneration, and instant healing potion effects.. and i have to say great response time lol