TagApi issue

Discussion in 'Plugin Development' started by looparound, Jan 19, 2014.

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

    looparound

    First time dealing with TagApi, Is there something wrong with this code??? http://pastebin.com/FwgKxTtm if you know what im doing wrong help is thankfull :D
     
  2. looparound
    Looks fine to me. What's the matter? It's hard to help someone who doesn't describe their problem.
     
  3. Offline

    werter318

    The only thing I can say is use else if. and yeah what Assist said.
     
  4. Offline

    RainoBoy97

    TagAPI.refreshPlayer(player);
     
  5. Offline

    Compressions

    RainoBoy97 I don't really think that's needed when listening in a PlayerReceiveNameTagEvent.
     
  6. Offline

    looparound

    Well for the owner group he put in the boundtag.owner permission and the first time he put it in all names were aqua, than when we reloaded all names were white
     
  7. Offline

    RainoBoy97

    Don't you have to call that to get PlayerRecieveNameTagEvent to be called?
    I haven't used TagAPI that much :p
     
  8. Offline

    Compressions

    RainoBoy97 That's correct, but he doesn't want it called at any specific time other than when a player sees another player's nametag.
     
  9. Offline

    looparound

  10. Offline

    looparound

  11. Offline

    mbaxter ʇıʞʞnq ɐ sɐɥ ı

    If your permissions plugin is setting the nodes after TagAPI, you're gonna have a bad time. But yeah, change to using elses.
     
Thread Status:
Not open for further replies.

Share This Page