Okay, so my friend made this cool paintball code but he only gave me the .class Is there any way of getting it into eclipse. I tried copying it and pasting it in the src but I get an error like this... is there any other way? Please reply. ~123ang
That looks like a jar file, import it like you did CraftBukkit. if it is a .java file: Make a class called Paintball in your project and copy the code into it.
123ang Looks like he gave you a .jar file. If you wish to edit the source, you could decompile it with a decompiler such as JD-GUI. However, it would be better for you to get the source from him.