1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Solved Player list [xbox]

Discussion in 'Help' started by Pab45O, Oct 11, 2017.

  1. Pab45O

    Pab45O Spider Jockey

    Messages:
    37
    GitHub:
    Pab450
    Hello everyone,

    I have a problem with my server, in the list of players I would like to show the icons XBOX of the players connected [look screen], I not found a solution to my problem, I have trying many things without success...

    wPuBSP1s.jpg-large.jpeg
     
    armagadon159753 and Levi like this.
  2. Pab45O

    Pab45O Spider Jockey

    Messages:
    37
    GitHub:
    Pab450
    Im french, have you understand my request?
     
  3. McpeBooster

    McpeBooster Baby Zombie

    Messages:
    190
    GitHub:
    mcpebooster
    @Pab45O and @SkySeven , speak english in this forum.
    We dont understand you...
     
    EdwardHamHam likes this.
  4. Pab45O

    Pab45O Spider Jockey

    Messages:
    37
    GitHub:
    Pab450
    Yes, what we said is not important anyway, he asked me some questions. And my problem is not resolved
     
    Levi likes this.
  5. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    @Muqsit
     
    Pab45O likes this.
  6. armagadon159753

    armagadon159753 Zombie

    Messages:
    217
    GitHub:
    armagadon159753
    no idea what are the appropriate methods to use
     
  7. Pab45O

    Pab45O Spider Jockey

    Messages:
    37
    GitHub:
    Pab450
    so, no solution?
    Only Muqsit can give us the solution?
     
    Levi likes this.
  8. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    i
    i dont think @Muqsit will reply
     
  9. Muqsit

    Muqsit Chicken

    Messages:
    1,548
    GitHub:
    muqsit
  10. Pab45O

    Pab45O Spider Jockey

    Messages:
    37
    GitHub:
    Pab450
    SkySeven likes this.
  11. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    rektpixel likes this.
  12. Pab45O

    Pab45O Spider Jockey

    Messages:
    37
    GitHub:
    Pab450
    Levi likes this.
  13. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    Pab45O likes this.
  14. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
  15. Pab45O

    Pab45O Spider Jockey

    Messages:
    37
    GitHub:
    Pab450
    Use this protocols/packets: PlayerListPacket and PlayerListEntry (check documentation)

    If you want ADD Player in list, use:

    type = PlayerListPacket::TYPE_ADD;
    entries[] = PlayerListEntry::createAdditionEntry(/*information requested (check documentation)*/);

    If you want REMOVE Player in list, use:

    type = PlayerListPacket::TYPE_REMOVE;
    entries[] = PlayerListEntry::createRemovalEntry(/*information requested (check documentation)*/);

    Documentation:

    - PlayerListEntry: https://github.com/pmmp/PocketMine-...k/mcpe/protocol/types/PlayerListEntry.php#L40
    - PlayerListPacket: https://github.com/pmmp/PocketMine-...ne/network/mcpe/protocol/PlayerListPacket.php
     
  16. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    plugin or did you edit the src?
     
  17. Pab45O

    Pab45O Spider Jockey

    Messages:
    37
    GitHub:
    Pab450
    Plugin, you can use in event "PlayerJoinEvent" and "PlayerQuitEvent"
     
    Levi likes this.
  18. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    If it is not important, don't post it publicly in a thread that everyone is reading!
     
    HimbeersaftLP likes this.
  19. Wolfkid20044

    Wolfkid20044 Spider Jockey

    Messages:
    42
    GitHub:
    wolfkid200444
    That is two much code for my head
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.