Changing Names

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

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


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


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


    Hm, 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 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


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


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


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


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

Share This Page