• Proceed with caution! Unofficial add-on plugins and abilities are not supported by the ProjectKorra staff. We will not provide support for broken add-ons. Download at your own risk.
  • Hello Guest! Did you know that ProjectKorra has an official Discord server? A lot of discussion about the official server, development process, and community discussion happens over there. Feel free to join now by clicking the link below.

    Join the Discord Server

[Deleted] AvatarForm

Status
Not open for further replies.

Simplicitee

Staff member
Plugin Developer
Verified Member
White_Knight28 submitted a new resource:

AvatarForm - Ever wanted to have multiple avatars without having to give them AvatarState?

AvatarForm
Element: Avatar

Functions: Gives the user 9 different potion effects for the configured duration;
Absorbtion
Damage Resistance
Fire Resistance
Jump Boost
Night Vision
Regeneration
Saturation
Speed Boost
Strength

Description: To use this move, you must right click a block anywhere around you, then left click for a particle effect and...
Read more about this resource...
 

Simplicitee

Staff member
Plugin Developer
Verified Member
Just gotta put a warning out there, I found another bug after I had uploaded it. This bug makes it to where you HAVE to be opped to use the move. I don't understand why, but I'm trying to fix it. Sorry for the inconvenience, update shouldn't take too long (hopefully)
 

CaptainSnickerz

Verified Member
install instructions? guessing i just drop it in the moves folder and disable avatarstate o the main config? correct me if im wrong :3
 

CaptainSnickerz

Verified Member
18.04 00:26:06 [Server] INFO at java.lang.Thread.run(Unknown Source) [?:1.7.0_51]
18.04 00:26:06 [Server] INFO at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:526) [spigot_1.8_eb39b47-0899683.jar:git-Spigot-eb39b47-0899683]
18.04 00:26:06 [Server] INFO at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:623) [spigot_1.8_eb39b47-0899683.jar:git-Spigot-eb39b47-0899683]
18.04 00:26:06 [Server] INFO at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot_1.8_eb39b47-0899683.jar:git-Spigot-eb39b47-0899683]
18.04 00:26:06 [Server] INFO at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:694) [spigot_1.8_eb39b47-0899683.jar:git-Spigot-eb39b47-0899683]
18.04 00:26:06 [Server] INFO at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot_1.8_eb39b47-0899683.jar:git-Spigot-eb39b47-0899683]
18.04 00:26:06 [Server] INFO at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot_1.8_eb39b47-0899683.jar:git-Spigot-eb39b47-0899683]
18.04 00:26:06 [Server] INFO at com.Simplicitee.korra.AvatarForm.Runner.run(Runner.java:10) ~[?:?]
18.04 00:26:06 [Server] INFO at com.Simplicitee.korra.AvatarForm.AvatarForm.particles(AvatarForm.java:30) ~[?:?]
18.04 00:26:06 [Server] INFO java.lang.NullPointerException
18.04 00:26:06 [Server] WARN Task #117 for ProjectKorra v1.6.0 BETA 18 generated an exception
18.04 00:26:06 [Server] INFO at java.lang.Thread.run(Unknown Source) [?:1.7.0_51]
18.04 00:26:06 [Server] INFO at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:526) [spigot_1.8_eb39b47-0899683.jar:git-Spigot-eb39b47-0899683]
18.04 00:26:06 [Server] INFO at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:623) [spigot_1.8_eb39b47-0899683.jar:git-Spigot-eb39b47-0899683]
18.04 00:26:06 [Server] INFO at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot_1.8_eb39b47-0899683.jar:git-Spigot-eb39b47-0899683]
18.04 00:26:06 [Server] INFO at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:694) [spigot_1.8_eb39b47-0899683.jar:git-Spigot-eb39b47-0899683]
18.04 00:26:06 [Server] INFO at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot_1.8_eb39b47-0899683.jar:git-Spigot-eb39b47-0899683]
18.04 00:26:06 [Server] INFO at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot_1.8_eb39b47-0899683.jar:git-Spigot-eb39b47-0899683]
18.04 00:26:06 [Server] INFO at com.Simplicitee.korra.AvatarForm.Runner.run(Runner.java:10) ~[?:?]
18.04 00:26:06 [Server] INFO at com.Simplicitee.korra.AvatarForm.AvatarForm.particles(AvatarForm.java:30) ~[?:?]
18.04 00:26:06 [Server] INFO java.lang.NullPointerException
18.04 00:26:06 [Server] WARN Task #117 for ProjectKorra v1.6.0 BETA 18 generated an exception
18.04 00:26:06 [Server] INFO at java.lang.Thread.run(Unknown Source) [?:1.7.0_51]




spams my consol with this
 

Simplicitee

Staff member
Plugin Developer
Verified Member
18.04 00:26:06 [Server] INFO at java.lang.Thread.run(Unknown Source) [?:1.7.0_51]
18.04 00:26:06 [Server] INFO at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:526) [spigot_1.8_eb39b47-0899683.jar:git-Spigot-eb39b47-0899683]
18.04 00:26:06 [Server] INFO at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:623) [spigot_1.8_eb39b47-0899683.jar:git-Spigot-eb39b47-0899683]
18.04 00:26:06 [Server] INFO at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot_1.8_eb39b47-0899683.jar:git-Spigot-eb39b47-0899683]
18.04 00:26:06 [Server] INFO at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:694) [spigot_1.8_eb39b47-0899683.jar:git-Spigot-eb39b47-0899683]
18.04 00:26:06 [Server] INFO at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot_1.8_eb39b47-0899683.jar:git-Spigot-eb39b47-0899683]
18.04 00:26:06 [Server] INFO at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot_1.8_eb39b47-0899683.jar:git-Spigot-eb39b47-0899683]
18.04 00:26:06 [Server] INFO at com.Simplicitee.korra.AvatarForm.Runner.run(Runner.java:10) ~[?:?]
18.04 00:26:06 [Server] INFO at com.Simplicitee.korra.AvatarForm.AvatarForm.particles(AvatarForm.java:30) ~[?:?]
18.04 00:26:06 [Server] INFO java.lang.NullPointerException
18.04 00:26:06 [Server] WARN Task #117 for ProjectKorra v1.6.0 BETA 18 generated an exception
18.04 00:26:06 [Server] INFO at java.lang.Thread.run(Unknown Source) [?:1.7.0_51]
18.04 00:26:06 [Server] INFO at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:526) [spigot_1.8_eb39b47-0899683.jar:git-Spigot-eb39b47-0899683]
18.04 00:26:06 [Server] INFO at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:623) [spigot_1.8_eb39b47-0899683.jar:git-Spigot-eb39b47-0899683]
18.04 00:26:06 [Server] INFO at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot_1.8_eb39b47-0899683.jar:git-Spigot-eb39b47-0899683]
18.04 00:26:06 [Server] INFO at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:694) [spigot_1.8_eb39b47-0899683.jar:git-Spigot-eb39b47-0899683]
18.04 00:26:06 [Server] INFO at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot_1.8_eb39b47-0899683.jar:git-Spigot-eb39b47-0899683]
18.04 00:26:06 [Server] INFO at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot_1.8_eb39b47-0899683.jar:git-Spigot-eb39b47-0899683]
18.04 00:26:06 [Server] INFO at com.Simplicitee.korra.AvatarForm.Runner.run(Runner.java:10) ~[?:?]
18.04 00:26:06 [Server] INFO at com.Simplicitee.korra.AvatarForm.AvatarForm.particles(AvatarForm.java:30) ~[?:?]
18.04 00:26:06 [Server] INFO java.lang.NullPointerException
18.04 00:26:06 [Server] WARN Task #117 for ProjectKorra v1.6.0 BETA 18 generated an exception
18.04 00:26:06 [Server] INFO at java.lang.Thread.run(Unknown Source) [?:1.7.0_51]




spams my consol with this
This runs with Beta 19, not 18.
 

CaptainSnickerz

Verified Member
18.04 00:34:06 [Server] INFO at java.lang.Thread.run(Unknown Source) [?:1.7.0_51]
18.04 00:34:06 [Server] INFO at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:526) [spigot_1.8_eb39b47-0899683.jar:git-Spigot-eb39b47-0899683]
18.04 00:34:06 [Server] INFO at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:623) [spigot_1.8_eb39b47-0899683.jar:git-Spigot-eb39b47-0899683]
18.04 00:34:06 [Server] INFO at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot_1.8_eb39b47-0899683.jar:git-Spigot-eb39b47-0899683]
18.04 00:34:06 [Server] INFO at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:694) [spigot_1.8_eb39b47-0899683.jar:git-Spigot-eb39b47-0899683]
18.04 00:34:06 [Server] INFO at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot_1.8_eb39b47-0899683.jar:git-Spigot-eb39b47-0899683]
18.04 00:34:06 [Server] INFO at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot_1.8_eb39b47-0899683.jar:git-Spigot-eb39b47-0899683]
18.04 00:34:06 [Server] INFO at com.Simplicitee.korra.AvatarForm.Runner.run(Runner.java:10) ~[?:?]
18.04 00:34:06 [Server] INFO at com.Simplicitee.korra.AvatarForm.AvatarForm.particles(AvatarForm.java:30) ~[?:?]
18.04 00:34:06 [Server] INFO java.lang.NullPointerException
18.04 00:34:06 [Server] WARN Task #117 for ProjectKorra v1.6.0 BETA 19 generated an exception

Can bind it and everything just doesnt work for some reason
:ss
 

Sketz

Verified Member
Just gotta put a warning out there, I found another bug after I had uploaded it. This bug makes it to where you HAVE to be opped to use the move. I don't understand why, but I'm trying to fix it. Sorry for the inconvenience, update shouldn't take too long (hopefully)
I believe I found your issue. I think...
Code:
 setDefault(PermissionDefault.OP);
to allow all players to use this use:
Code:
 setDefault(PermissionDefault.TRUE);
or to only allow people with the permission (I think, this may work with "bending.ability.AvatarForm") // If that's the permission
use this:
Code:
setDefault(PermissionDefault.FALSE);
I personally recommend true? because server owners can negate the permission from users.
 

Simplicitee

Staff member
Plugin Developer
Verified Member
I believe I found your issue. I think...
Code:
 setDefault(PermissionDefault.OP);
to allow all players to use this use:
Code:
 setDefault(PermissionDefault.TRUE);
or to only allow people with the permission (I think, this may work with "bending.ability.AvatarForm") // If that's the permission
use this:
Code:
setDefault(PermissionDefault.FALSE);
I personally recommend true? because server owners can negate the permission from users.
Actually I've just completely removed the permissions file and etc., figured out a problems, fixed the problems, don't wanna reinsert the perms, and still have one last problem to fix before I update it :p
 

Simplicitee

Staff member
Plugin Developer
Verified Member
What's the final problem?
The particles are infinite unless one of the checks I have to disable it is met, same with the potions. I actually also need a way to stop the potion effects when a person logs off because my way didn't work..
 

AlexTheCoder

Staff member
Plugin Developer
Verified Member
The particles are infinite unless one of the checks I have to disable it is met, same with the potions. I actually also need a way to stop the potion effects when a person logs off because my way didn't work..
Code:
if (player.isDead() || !player.isOnline()) {
    remove();
    return;
}
 

jedk1

New Member
That's one of the checks :p I mean I need one for when the duration of the potion effect runs out, the particles will stop.
you not just give them like a 3 second duration potion effect each time it loops? and display particles then? that would solve the issue i think you are having
 

Moonelight

Verified Member
I'm confused, is this supposed to have a animation or is it just similar to one of those chi moves like "Acrobat Stance" ect.
 

Simplicitee

Staff member
Plugin Developer
Verified Member
I'm confused, is this supposed to have a animation or is it just similar to one of those chi moves like "Acrobat Stance" ect.
At the moment with the move, when you first use it particles are displayed but they are only displayed then. In the next update it will be continuous particles following you.
 
Status
Not open for further replies.
Top