Hi, I'm a noob in Java, and it's my first plugin. But I have some errors that I don't know what means. That errors are: Errors (Move your mouse to reveal the content) Errors (open) Errors (close) error: <identifier> expected error: illegal start of type error: ')' expected error: ';' expected error: invalid method declaration; return type required error: <identifier> expected error: package event does not exist There's the .java file: Hubcraft.java All help will be apreciated. ArnauBG
What seems to be the major problem with your code is that inside your onCommand method, you have another method, onProjectileHit. Methods can only be created inside the class and not wrapped in another method like you have done so. First, taking out onProjectileHit from onCommand takes a step in the right direction.