TagAPI Not Working

Discussion in 'Plugin Development' started by MaxNatural, Feb 28, 2015.

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

    MaxNatural

    So I am using Tag API and I tried

    Code:
        @EventHandler
        public void onNameTag(AsyncPlayerReceiveNameTagEvent event) {
        if (event.getNamedPlayer().getName().equals("MaxNatural")) {
        event.setTag(ChatColor.RED + "MaxNatural");
        }
    But when I join the game it doesn't work.
     
  2. Offline

    Konato_K

  3. Offline

    nj2miami

    You using 1.8? If so, I am pretty sure it does not work in 1.8.
     
  4. Offline

    mine-care

    @nj2miami is right. In 1.8 the packet responsible for the tab list changed and if im not mistaken player placement ect became clientside.
     
  5. Offline

    stormneo7

    In 1.8, it's better to use the Scoreboard Team Colors if you wanna change name color due to plugin breaks.
     
  6. Offline

    Evaluations

    I don't think you need to call that, I use TagAPI and it works fine without using that method
     
  7. Offline

    Konato_K

    @Evaluations That may be truth, but since I only used it for disguise-related things I had to call it manually when a command was used, thanks for the info though.
     
  8. Offline

    Gmack9872

    You shouldn't use TagAPI in 1.8. Use scoreboard systems to change the color.
     
Thread Status:
Not open for further replies.

Share This Page