Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-3972

When the player joins the server it has not update the tab name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • None
    • None
    • [Animated Tab] - TabList

      So, I have a problem when the player joins the server, it does not update the tab name for the player that is set. The basics in the plugin (code) are all right. I can not send a screenshot because it would not be valid because it is a PlayerJoinEvent.
      Here is the code from PlayerJoinEvent:

      	@EventHandler
      	public void onPlJoin(PlayerJoinEvent event) {
                      // This is just a random name choice.
      		event.getPlayer().setPlayerListName("Name");
              }

      And so it does not work. I can only get the name from a scheduler.

            Unassigned Unassigned
            montlikadani montlikadani
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: