Ok, so I'm learning bukkit plugin development, from TheBCBroz's youtube channel, and I've done everything what he has done but yet when I use start.bat the server doesn't say anything about the plguin, and when I go in-game and type /pl my plugin doesn't get shown in there. Here is the plugin code: http://pastie.org/5639026 Plugin.yml code: http://pastie.org/5639035 Thanks to all those who help Neil
Your code looks fine. Any errors? (probably not since you said there are no messages) Make sure you exported all contents of the project You don't put @EventHandler over a command :\ You don't need @Override on either of those methods. None of those things will help his code, just in the long run make it worse. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
@Override is to have the compiler check that the annotated method is indeed overriding a method of a super class, and in Java 6 an interface method. Generally it is a good idea to have it there, so you know you did something wrong. EDIT: did you actually deploy your plugin?
I added the @EventHandler on the onCommand method. And added the overrides on OnEnable, and OnDisable methods. I also did the exportation, is this correct http://i.imgur.com/7P4Hv.png for the exports?
try this for your plugin.yml Code: name: Youtube main: me.Bench3.youtube.Youtube version: 1.0 commands: sendme: description: Sent! usage: /sendme
Nope, still no word from console, I used find word, to see if there was a word youtube up and down, and I checked it word for word. I really, don't know what to do.
n31ln3t You don't use an event handler for onCommand. You using event handlers for events and your class has to implement listener. http://forums.bukkit.org/threads/new-event-system.55249/ eitorlaba @Override is not really necessary as it will process your on enable anyway. Its optional so you can just remove that function from your class if you aren't doing anything with it.
Make sure you actually put your jar in plugins folder. Make sure there are no tabs in plugin.yml. You don't need .settings folder, .classpath and .project.