Help using NameTagAPI

Discussion in 'Plugin Development' started by tomisanhues3, Nov 29, 2015.

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

    tomisanhues3

    Hello, I am making a prefix plugin using the NameTagAPI but I cant figure out what to add after the ":" because I cant find any documentacion on it

    Code:
                public void run() {
                    for (Player pe : )  {
                        NametagAPI.updateNametagHard(pe.getName(), PermissionsEx.getPermissionManager().getUser(pe).getPrefix("Hub1").replace("&", "�"), "");
                    }
                }
            }.runTaskTimer(this, 40L, 7L);
        }
    
     
  2. Offline

    teej107

    Insert an instance of Iterable or an array of Players.
     
  3. Offline

    tomisanhues3

    @teej107 Would you mind explaining a little bit more if you dont mind please
     
  4. Offline

    teej107

    Last edited: Nov 29, 2015
  5. Offline

    mcdorli

    That's basic java, not even part of the NameTag API, learn java first, please.
     
  6. Offline

    Mrs. bwfctower

Thread Status:
Not open for further replies.

Share This Page