Tutorial by: 1_x409


Okay, so you have a server with some active players, some new ones join and ask "Whats the server IP?" They look to the the side and they see nothing, they then ask "Where is the scoreboard?!?!?!" Well today, I will show you how to make basic scoreboard! Lets get started!!!!

on join:

We have add the event, on join. This event is used to that when the player joins, the game will register the scoreboard
Lets add a toggle so if you want, you can change it to off

on join:
    toggle player's scoreboard on

ok there. Now lets add a "while" statement, so that while the player is online, they can see it

on join:
    toggle player's scoreboard on
    while player is online:

now lets set the title of the scoreboard, you can just put the title or you can make an option for it

on join:
    toggle player's scoreboard on
    while player is online:
        set title of player's scoreboard to "&b&lChange &9&lMe"

Ok we have now set the title, lets set the lines. To do this, I would recommend making a template of what you want on your scoreboard, for example, the players name or rank, or there health, some placeholders need placeholder API(papi)
we are just going to add 6 lines.

on join:
    toggle player's scoreboard on
    while player is online:
        set title of player's scoreboard to "&b&lChange &9&lMe"
        set line 6 of players scoreboard to "&7&m-------------------------------------------------------"
        set line 5 of players scoreboard to ""
        set line 4 of players scoreboard to "&6&lPLAYER >> %player%"
        set line 3 of players scoreboard to ""
        set line 2 of players scoreboard to "&7&m-------------------------------------------------------"
        set line 1 of players scoreboard to "&7&lIP: Changeme.net

We have just 1 thing left...
we have to add "wait 1 second"

on join:
    toggle player's scoreboard on
    while player is online:
        set title of player's scoreboard to "&b&lChange &9&lMe"
        set line 6 of players scoreboard to "&7&m-------------------------------------------------------"
        set line 5 of players scoreboard to ""
        set line 4 of players scoreboard to "&6&lPLAYER >> %player%"
        set line 3 of players scoreboard to ""
        set line 2 of players scoreboard to "&7&m-------------------------------------------------------"
        set line 1 of players scoreboard to "&7&lIP: Changeme.net
        wait 1 second

there we go. this scoreboard will display the scoreboard title, add 2 border lines, and display the players name and the IP.
Hopefully this skript works since I didnt test it.


Did you find 1_x409's tutorial helpful?


You must be logged in to comment