Changing Names

Discussion in 'Plugin Development' started by geekygenius, Mar 15, 2012.

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

    geekygenius

    No, it only changes the entity packet that is sent to the player. Permissions are server-side, and are not affected.
     
  2. Offline

    ddeckys

    So does that mean that player.getName() will remain the same even after the packet change?
     
  3. Yep.
     
  4. Offline

    Cowboys1919

    Hm, mc.massivecraft.com seems to do it. With spout i see their faction name and title above their username AND their skin loads. (as well as a cool health bar) Try to log on to mc.massivecraft.com yourself and see (the server is awaiting an upgrade and is very full though try late or early hours)

    Factions is open source too, but i don't have the time to look through it right now

    GitHub link
     
  5. Offline

    xGhOsTkiLLeRx

    You said it: with SPOUT but this methods are working w/out Spout!
     
    V10lator likes this.
  6. Offline

    Cowboys1919

    Oh, i thought this was for spout, well, what is the method with spout?
     
  7. Offline

    xGhOsTkiLLeRx

    Code:
    SpoutPlayer spoutPlayer = (SpoutPlayer) player;
    spoutPlayer.setTitle(ChatColor.RED + player.getName());
     
  8. Offline

    Limeth

    "private static Field name = null;" Should it not be out of the method?
     
Thread Status:
Not open for further replies.

Share This Page