• 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

YouTube Development Tutorial Episodes!

jedk1

New Member
So getting different locations and adding them to a list or something and then teaching them what they can do with these locations.
Do you have anything specific in mind? I can't do a tutorial on something if i have nothing to implement it in
 

dookoo782

Verified Member
Do you have anything specific in mind? I can't do a tutorial on something if i have nothing to implement it in
Uhh, teach them how to get a line of locations and then do stuff with that?

EDIT: Your forum signature is both evil and amazing.
 

Dragonstuff

Verified Member
When I try to make the fireball everything is good in eclipse but as soon as I import it I get a internal error if I try to do any bending command anyone know why this might be?
 

Simplicitee

Staff member
Plugin Developer
Verified Member
When I try to make the fireball everything is good in eclipse but as soon as I import it I get a internal error if I try to do any bending command anyone know why this might be?
Messed up in the code somewhere probably. Even if eclipse isn't giving you an error.
 

Dragonstuff

Verified Member
(I renamed it firejab cx don't know why)
ok once I import the fireball into pk ingame whenever I try to do a pk related command ingame it says
In internal error has occurred while attempting to preform this command

and in the console it has this
[15:27:21] [Server thread/INFO]: [ProjectKorra] Enabling ProjectKorra v1.6.0 BETA 15
[15:27:22] [Server thread/INFO]: [ProjectKorra] FireJab v1.0.0 Devoloped By DragonStuff has been loaded!
[15:27:22] [Server thread/ERROR]: Error occurred while enabling ProjectKorra v1.6.0 BETA 15 (Is it up to date?)
java.lang.NullPointerException
at com.DragonStuff.korra.firejab.FireJabAddOn.onThisLoad(FireJabAddOn.java:53) ~[?:?]
at com.projectkorra.ProjectKorra.Ability.AbilityModuleManager.fill(AbilityModuleManager.java:220) ~[?:?]
at com.projectkorra.ProjectKorra.Ability.AbilityModuleManager.<init>(AbilityModuleManager.java:85) ~[?:?]
at com.projectkorra.ProjectKorra.ProjectKorra.onEnable(ProjectKorra.java:34) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[spigot_server.jar:git-Spigot-13716d9-0899683]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:335) [spigot_server.jar:git-Spigot-13716d9-0899683]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot_server.jar:git-Spigot-13716d9-0899683]
at org.bukkit.craftbukkit.v1_8_R1.CraftServer.loadPlugin(CraftServer.java:355) [spigot_server.jar:git-Spigot-13716d9-0899683]
at org.bukkit.craftbukkit.v1_8_R1.CraftServer.enablePlugins(CraftServer.java:315) [spigot_server.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.MinecraftServer.q(MinecraftServer.java:402) [spigot_server.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.MinecraftServer.k(MinecraftServer.java:370) [spigot_server.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.MinecraftServer.a(MinecraftServer.java:325) [spigot_server.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.DedicatedServer.init(DedicatedServer.java:211) [spigot_server.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:494) [spigot_server.jar:git-Spigot-13716d9-0899683]
at java.lang.Thread.run(Unknown Source) [?:1.7.0_67]


not sure if this part is related.
[15:30:12] [Server thread/INFO]: DragonStuff issued server command: /b a e
[15:30:13] [Server thread/ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'b' in plugin ProjectKorra v1.6.0 BETA 15
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot_server.jar:git-Spigot-13716d9-0899683]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot_server.jar:git-Spigot-13716d9-0899683]
at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchCommand(CraftServer.java:645) ~[spigot_server.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.PlayerConnection.handleCommand(PlayerConnection.java:1115) [spigot_server.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:950) [spigot_server.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:26) [spigot_server.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:53) [spigot_server.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13) [spigot_server.jar:git-Spigot-13716d9-0899683]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.7.0_67]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.7.0_67]
at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:683) [spigot_server.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot_server.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:623) [spigot_server.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:526) [spigot_server.jar:git-Spigot-13716d9-0899683]
at java.lang.Thread.run(Unknown Source) [?:1.7.0_67]
Caused by: java.lang.NullPointerException
at com.projectkorra.ProjectKorra.Commands$1.onCommand(Commands.java:1148) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot_server.jar:git-Spigot-13716d9-0899683]
... 14 more
[15:33:00] [Server thread/INFO]: DragonStuff issued server command: /b a e
[15:33:00] [Server thread/ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'b' in plugin ProjectKorra v1.6.0 BETA 15
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot_server.jar:git-Spigot-13716d9-0899683]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot_server.jar:git-Spigot-13716d9-0899683]
at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchCommand(CraftServer.java:645) ~[spigot_server.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.PlayerConnection.handleCommand(PlayerConnection.java:1115) [spigot_server.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:950) [spigot_server.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:26) [spigot_server.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:53) [spigot_server.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13) [spigot_server.jar:git-Spigot-13716d9-0899683]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.7.0_67]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.7.0_67]
at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:683) [spigot_server.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot_server.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:623) [spigot_server.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:526) [spigot_server.jar:git-Spigot-13716d9-0899683]
at java.lang.Thread.run(Unknown Source) [?:1.7.0_67]
Caused by: java.lang.NullPointerException
at com.projectkorra.ProjectKorra.Commands$1.onCommand(Commands.java:1148) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot_server.jar:git-Spigot-13716d9-0899683]
... 14 more
 

jedk1

New Member
when i get a chance, ill be doing episode 2 on the pk github, and the methods class, suggesting some of the useful methods.
 

dookoo782

Verified Member
Reminder for everyone to make sure that their JRE and JDK is on version 7. Java version 8 impacts massively and causes a NoSuchMethod Exception when you try to call the keySet() method(used in the progressAll method) with ConcurrentHashMaps.
 

jedk1

New Member
Reminder for everyone to make sure that their JRE and JDK is on version 7. Java version 8 impacts massively and causes a NoSuchMethod Exception when you try to call the keySet() method(used in the progressAll method) with ConcurrentHashMaps.
Yes i should probably state i will be making these tutorials using java7 not java8
 

jedk1

New Member
How do you tell the difference between java 7 and java 8? xD
In eclipse, go to your projects properties, select "Java Build Path" then select "Libraries". The bottom library should be "JRE System Library [java version here]". To tell the individual difference between the 2 would be impossible, as there are many differences.
 

NotchItUp

Verified Member
OK, so I have java 8 installed, do i really have to remove java and install java 7, or can I just CODE in Java 7, instead.
 

jedk1

New Member
OK, so I have java 8 installed, do i really have to remove java and install java 7, or can I just CODE in Java 7, instead.
you can code in java 7 instead.

Right Click your project and go to properties.

Then go to "Java Build Path" then > "Libraries".

Select "JRE System -blah blah blah-" and then Click "Edit".

Select Java8 from the drop down menu. If it isn't there, Google is your next bet.
 

owlcool

Verified Member
you can code in java 7 instead.

Right Click your project and go to properties.

Then go to "Java Build Path" then > "Libraries".

Select "JRE System -blah blah blah-" and then Click "Edit".

Select Java8 from the drop down menu. If it isn't there, Google is your next bet.
Korra_Dagger. Please say that is FireDaggers.
 
Top