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

Solved Add Scoreboard Help!

Discussion in 'Development' started by AkmalFairuz, Oct 19, 2018.

  1. AkmalFairuz

    AkmalFairuz Spider Jockey

    Messages:
    25
    GitHub:
    akmalfairuz
    How to add scoreboard in mcpe 1.7 with a code
     
  2. BLOCKSTORM

    BLOCKSTORM Witch

    Messages:
    67
    I think the only way at the moment is to send packets to the player for this
     
  3. GamakCZ

    GamakCZ Zombie Pigman

    Messages:
    598
    GitHub:
    GamakCZ
    Use API from new version of MyStats, it's simple and works.

    - Creating board:
    PHP:
    function sendBoard(Player $playerstring $text) {
       \
    czechpmdevs\mystats\ScoreboardBuilder::sendBoard($player$textstrtolower($player->getName()));
    }
    - Removing board:
    PHP:
    function removeBoard(Player $player) {
       \
    czechpmdevs\mystats\ScoreboardBuilder::removeBoard($playerstrtolower($player->getName()));
    }
    For adding new lines use PHP_EOL
     
    RyanShaw likes this.
  4. AkmalFairuz

    AkmalFairuz Spider Jockey

    Messages:
    25
    GitHub:
    akmalfairuz
    Ok, solved by me, i use ScoreboardPE in github
     
    jasonwynn10 likes this.
  5. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
  6. notdrewdev

    notdrewdev Spider Jockey

    Messages:
    39
    GitHub:
    drewsucksatlife
    MioTaku, Levi and Muqsit like this.
  7. Miste

    Miste Baby Zombie

    Messages:
    109
    GitHub:
    Misteboss
  8. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
  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.