CustomName

Discussion in 'Plugin Development' started by EtgarSH, Mar 27, 2014.

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

    EtgarSH

    When I change player's custom name, it won't change.
    I want to color the name abound the player's head in according to the player's team (or job).
    THX :)
     
  2. Offline

    SkyleTyler1337

    can I see your class that his this in it
     
  3. Offline

    EtgarSH

    Code:java
    1. player.setCustomName(ChatColor.RED + player.getName());
    2. player.setCustomNameVisible(true);
     
  4. Offline

    SkyleTyler1337

    put
    player.setCustomNameVisible(true);
    Before
    play.setCustomName(ChatColor.GREEN+player.getName());



    Make sure you have two players to see if it works
     
  5. Offline

    EtgarSH

    Doesn't work...
     
  6. Offline

    SkyleTyler1337

    I will work on this when I get home
     
  7. Offline

    EtgarSH

    thx [=
     
Thread Status:
Not open for further replies.

Share This Page