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

how to make scoreboards in 1.4 update

Discussion in 'Development' started by Levi, May 18, 2018.

  1. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    how to make scoreboards in 1.4 update like pc
     
  2. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
  3. LewBr

    LewBr Zombie

    Messages:
    385
    GitHub:
    lewbr
    what you mean? you can maybe use $player->sendTip("hello"); and then set the \n at the string text to be on the right place, like pc.
     
  4. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    with dark background..
     
  5. LewBr

    LewBr Zombie

    Messages:
    385
    GitHub:
    lewbr
    that's impossible and not implemented in mcpe yet
     
  6. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    it's possible.. this mcpe server has it...
     
  7. Tee7even

    Tee7even Slime

    Messages:
    81
    GitHub:
    tee7even
    Which mcpe server has it?
     
    LewBr likes this.
  8. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    hypixel
     
  9. Tee7even

    Tee7even Slime

    Messages:
    81
    GitHub:
    tee7even
    Hypixel doesn't have an mcpe server.
     
    EdwardHamHam, Muqsit and Sandertv like this.
  10. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    yes they does
     
  11. xXNiceAssassinlo YT

    xXNiceAssassinlo YT Zombie Pigman

    Messages:
    499
    GitHub:
    xXNiceYT
    They used to have mcpe server they removed it.

    I think your talking bout youkillersskywars
     
  12. Az928

    Az928 Baby Zombie

    Messages:
    140
    GitHub:
    theaz928
    Rather than asking, why not just experiment yourself by sending new packets to players? I've seen recent commits of dktapps where he found out the new scoreboard related packet's needs/values and completed the packets. So it's basically implemented but not documented (some of them are documented). Wait for documentation/guide to come out or someone to do the thing as an example in GitHub/poggit.

    Check pocketmine/network/mcpe/protocol for the new packets, open the files, read it. Learn from api, use forums when you're completely stuck at something, if you don't try yourself first, forums can't help either because you're not trying!
     
    xXNiceAssassinlo YT likes this.
  13. Az928

    Az928 Baby Zombie

    Messages:
    140
    GitHub:
    theaz928
    UPDATE: I've experimented with SetDisplayObjectivePacket and SetScorePacket. First packet seemed to crash the client when sent and 2nd packet didn't do anything. Yes I've put all values right (criteria to dummy, slot to sidebar and so on..)

    So maybe it's for 1.5.x beta or I'm doing something wrong :thinking:
     
    Muqsit likes this.
  14. Muqsit

    Muqsit Chicken

    Messages:
    1,548
    GitHub:
    muqsit
    It hasn't been completely added, probably is still restricted to dev builds.
     
    Az928 likes this.
  15. Az928

    Az928 Baby Zombie

    Messages:
    140
    GitHub:
    theaz928
    I'm assuming that a packet is still missing, after seeing bukkit api, there's actually 3 packets for score boards (not including remove objective packet)
     
  16. Muqsit

    Muqsit Chicken

    Messages:
    1,548
    GitHub:
    muqsit
    There are many packets in BE that largely differ from the Java edition. They don't just copy-paste the Java code :p, for example the InventoryTransactionPacket.
     
  17. Az928

    Az928 Baby Zombie

    Messages:
    140
    GitHub:
    theaz928
    Yeah that's a case also o_O
     
  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.