Simple Plugin Not Working

Discussion in 'Plugin Development' started by Chromify, Aug 7, 2015.

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

    Chromify

  2. @Chromify
    You do not import the Player class, if you are using eclipse, just press ctrl+shift+O if not add "import org.bukkit.player" at the top off your class to import the player class
     
  3. Offline

    Boomer

    That screenshot is also missing a semicolin at the end of the line with the squiggles as well, AND your logger info line you cant have info(stuff) + (more stuff)
    you do info(stuff + morestuff)
     
  4. Offline

    SuperOriginal

  5. Offline

    xXCapzXx

    Your p.sendMessage needs to come to an end of course.
    p.sendMessage(), you forgot to add the ; it's mean't to be p.sendMessage();
    And your player needs to be imported.

    Inside (Player) sender;
    Hover over (Player) and import it. This is really basic Java, I recommend you learn java before starting bukkit.
     
  6. Offline

    Chromify

Thread Status:
Not open for further replies.

Share This Page