Player Auras
Player Auras allows a server administrator to combine any set of potion effects into an 'aura' which can be given to any player with a simple permission node. any other players coming within a configurable range of the 'aura-emitting' player will receive the effects for a configurable time period. It's like a being a beacon, but way cooler.
Configuration
debug: false auras: healing_aura: # the name of the aura affect-self: true # if true, the 'emitter' will also get the effects range: 8 # the effect's radius around the player duration: 160 # the duration of the effects granted effects: # A list of Potion Effects and amplifier levels. - REGENERATION:1
Available Potion Effects
- SPEED
- SLOW
- FAST_DIGGING
- SLOW_DIGGING
- INCREASE_DAMAGE
- HEAL
- HARM
- JUMP
- CONFUSION
- REGENERATION
- DAMAGE_RESISTANCE
- FIRE_RESISTANCE
- WATER_BREATHING
- INVISIBILITY
- BLINDNESS
- NIGHT_VISION
- HUNGER
- WEAKNESS
- POISON
- WITHER
- HEALTH_BOOST
- ABSORPTION
- SATURATION
Permissions
The only permission nodes are the playerauras.aura.<aura_name>
nodes used to grant the aura effects to players.
For example, to grant the included healing_aura to a player, simply give them the permission node: playerauras.aura.healing_aura
.
Awesome plugin, still works perfectly on spigot 1.8. Rather amusing, actually.
@metalhedd
Oh ok so I can use -1? Thanks!
@Corsicaman
range: 0
means people standing in the same block as you will get the effect.range: -1
means nobody else will.so it's not really even a bug, just a bit of a quirk, but it makes perfect sense, so I'm going to keep it that way.
This means I have to assume that the 'other people' who were getting the effects were getting it because they stood right on top of the player with the range: 0 aura. if that's not the case and you can reproduce a situation where someone nowhere near the player gets the aura, then we may have a real bug.
your config file should work just fine if you change them all to -1's.
@metalhedd
"There aren't any known bugs and only one has been reported, which I haven't been able to reproduce."
Are you talking about the bug I reported? So what's the conclusion?
@Mister_Muffinz
Can you describe what you mean by 'incredibly buggy' please? There aren't any known bugs and only one has been reported, which I haven't been able to reproduce.
Also instead of 'more expansive on perms' maybe a sugggestion on what additional permissions you'd like to see?
I'd also appreciate any feedback you have on the instructions and how to make them more detailed.. seem's you've provided an awful lot of opinion with no real substance. perhaps you could try some constructive criticism?
Great idea. Incredibly buggy. Needs more simple instructions/better detail and more expansive on perms.
@metalhedd
You could always make it a config option that can be turned on and off. Anyways, awesome plugin and props to the one who requested it but also to you for making it. I'm going to include this on CustomProfession's list of abilities it can be used with.
Cheers.
@CommodoreAlpha
I'll try to include an option for the next release, but it'll come with a warning that it may be hard on CPU with many players all emitting auras.
@metalhedd
Hmm, well I was just thinking it would be helpful for players to have a visual indication of how "wide" an aura range is, and the cool way to do it would be through particle effects, but really, any solution is fine. And if you decide not to implement it, that's fine too. It's really your call.
@CommodoreAlpha
not without a lot of unnecessary cpu time, it could prove to be a bit laggy. I'll try it out this weekend and see if It'll perform acceptably.
@jeppepette
any time :D
thank you so much for making this request i love it :D if i ever come up with any more good idears i hope i can come to you agen <3 :)
Sorry for interrupting, but it appears you've missed my previous comment; I was just wondering if you could add particle effects that appear within the entire area of an aura.
@metalhedd
http://pastebin.com/SMN8jWrw
@Corsicaman
can you pastebin your config.yml for me to test with?
@metalhedd
Yes, the only rank that had this aura was one of the highest but low ranked players got it too. I hope you'll find how to fix it soon, I really like your plugin! ;)
@Corsicaman
hmm. its possible that if 2 people stand in the exact same spot they fit within the range of 0m. I'd have to do further testing on that, but otherwise there's no reason for that to happen that I can see. you're sure these people didn't inherit the permission node for the aura?
@metalhedd
Mmm that's possible, I didn't know :0 was level one.
However I have a second problem now: random players from different ranks are getting the effects of these auras even if the range is set to 0.
@Corsicaman
That's strange, I double checked it, and its off by 1 level, not 2. (ie. HEALTH_BOOST:0 is actaully level 1) its possible the effect persisted from a previous test where you had it at a higher level? the potion effect will come back even through a server restart.
The levels don't seem to be working correctly. Could you fix that please? I gave HEALTH_BOOST:1 to a player and he has 6 hearts (=level 3) instead of 2 (level 1)
http://www.minecraftwiki.net/wiki/Status_effect
@Corsicaman
sorry that was a typo, fixed now. it should have said
affect-self: true