Solved getPlayer() Help

Discussion in 'Plugin Development' started by MagicIsThis, Jan 13, 2015.

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

    MagicIsThis

    Hello. I'm pretty knew to Bukkit API so I'm a tad bit slow at coding plugins. I already have basic knowledge of Java. So to gain more experience, I'm just coding simple and common plugins at the moment.

    I'm currently coding a plugins that just heals and feeds players.

    I realized that the getPlayer() method is deprecated. I then saw something like getPlayer(UUID) and I have no clue how to utilize it only because I don't know much about UUID. I want to use getPlayer() for a /heal <player> command.

    If anyone can enlighten me on this, I greatly appreciate it.

    Sorry in advance if this is a "nooby" question. I only hope to learn and get better.
     
  2. Don't worry about the deprecation.
    It really shouldn't have been there in the first place....
    It will work on all current bukkit versions without a problem.
    Plus... Bukkit isn't updating any time soon, it seems, so no worries. xP
     
    MagicIsThis and iReD_xBlaDeZ like this.
  3. Offline

    MagicIsThis

    Alright. Thank you very much. Wasn't quite sure what plugin developers do nowadays with that so just wanted to be sure. :) +1
    I'll be moving on ahead. Again, much appreciation!
     
    SuperOriginal likes this.
Thread Status:
Not open for further replies.

Share This Page