Scoreboard

Discussion in 'Plugin Development' started by Daniyil, Jun 8, 2020.

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

    Daniyil

    Hello i need help!

    i want to create scoreboard and then get score in plugin.

    Minecraft:
    /scoreboard objectives add test dummy "Test"
    /scoreboard player add player 1

    Plugin Code:(THIS IS JUST HOW I THINK THATS NOT CORRECT(maybe)
    scorename = player.getscore("Test");
    players = scorename.getscore("player");
    player.sendmessage(players + " : This is how much players";
     
Thread Status:
Not open for further replies.

Share This Page