[Solved] onPlayerMove/onBlockPlace not getting called.

Discussion in 'Plugin Development' started by CrankkDatJFel, Jul 16, 2012.

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

    CrankkDatJFel

    Hey Bukkiters,

    I recently started following some tutorials to learn the basics of bukkit before I move on to a larger project and I amhaving trouble getting onPlayerMove, onBlockPlace, onPlayerChat, and onPlayerJoin to get called when I load my plugin.

    Plugin 1
    FirstPlugin.java
    FirstPluginCommandExecuter.java

    Plugin 2
    Youtube.java
    MyBlockListener.java
    MyPlayerListener.java

    If anyone has time to take a look at my code that would be awesome. Any help on my issue or general bukkit programming would be a great help.

    Thanks,
    Crankk
     
  2. your forgot @EventHandler above those methodes
     
  3. Offline

    CrankkDatJFel

    Is that really all it takes? Above all 4 of those methods all I need is "@EventHandler" and they will get activated? I wish I was at my development computer to try it out now! Will have to wait till later.

    Thanks for the help.
     
  4. I clicked a random class
    MyBlockListener.java
    from plugin 2, and it didn't had it
     
Thread Status:
Not open for further replies.

Share This Page