Solved Coding bukkit error!

Discussion in 'Plugin Development' started by jkjames6, Feb 11, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    jkjames6

    Hello again people!
    I have been coding yet enouther plugin and have encountered a small problem...
    When I load the plugin, it gives no errors in the console but when i do the !welcome
    Nothing happens.
    I think this is to-do with the if(player.hasOp) or something!
    Things you might need:
    plugin.yml: http://pastebin.com/jnC6wWYY
    Main class: http://pastebin.com/NmtRGPkS
    Listener class: http://pastebin.com/CgRqHfKA

    (If you need anything else just ask)
    Can anyone help me?
    Thanks James
     
  2. Offline

    HeadGam3z

    Wish I could help you, but I got nothing. :p

    Also, you should post this in Plugin Development - you'll get a lot of answers from great minds there. :)
     
  3. Offline

    Iroh

    Moved to plugin dev.
     
  4. Offline

    Gater12

    jkjames6 You may want to use AsyncPlayerChatEvent . Also you need the @EventHandler annotation above the event method.
     
    jkjames6 likes this.
  5. Offline

    jkjames6

    Gater12 Thanks very much! Not iw works
    (Im a java noob :D )
     
Thread Status:
Not open for further replies.

Share This Page