set title of <who>'s scoreboard to <text>The heading of the sidebar
set title of player's scoreboard to "&e&lMY SERVER"Try it← All of the Docs What players see
set title of <who>'s scoreboard to <text>The heading of the sidebar
set title of player's scoreboard to "&e&lMY SERVER"Try itset line <n> of <who>'s scoreboard to <text>Line 1 is the top line; there are 15
set line 2 of player's scoreboard to "&7Rank: &bVIP"Try itupdate scoreboard of <who> every <duration>:since 1.7.64The lines under it run now, and again that often, for as long as that player is on the server: a sidebar that keeps itself up to date, without a timer of its own. Asking again for the same player replaces what was running
on player join:
set title of player's scoreboard to "&e&lMy server"
update scoreboard of player every 2 seconds:
set line 1 of player's scoreboard to "&7Coins: &f%{%player%.coins}%"
set line 2 of player's scoreboard to "&7Online: &f%server.online_players%"Try itstop updating scoreboard of <who>since 1.7.64It is no longer kept up to date; what it shows stays
command /quiet:
trigger:
stop updating scoreboard of player
send "&7Your sidebar is no longer kept up to date."Try itdelete line <n> of <who>'s scoreboardRemove one line
delete line 3 of player's scoreboardTry itclear <who>'s scoreboardRemove the sidebar and return to the server's normal scoreboard
clear player's scoreboardTry itEach player can have their own sidebar, built line by line.
set title of player's scoreboard to "&e&lSERVER NAME"
set line 1 of player's scoreboard to "&7Coins: &a%{%player%.coins}%"
set line 2 of player's scoreboard to "&7Rank: &bVIP"
| Statement | Effect |
|---|---|
set title of <who>'s scoreboard to <text> | The heading of the sidebar |
set line <n> of <who>'s scoreboard to <text> | Line 1 is the top line; there are 15 |
update scoreboard of <who> every <duration>: | The lines under it run now, and again that often, for as long as that player is on the server: a sidebar that keeps itself up to date, without a timer of its own. Asking again for the same player replaces what was running |
stop updating scoreboard of <who> | It is no longer kept up to date; what it shows stays |
delete line <n> of <who>'s scoreboard | Remove one line |
clear <who>'s scoreboard | Remove the sidebar and return to the server's normal scoreboard |
The red numbers Minecraft puts beside every line are left out, on a Paper server for Minecraft 1.20.3 or newer; older servers and Spigot cannot hide them. sidebar-numbers: true in config.yml shows them again.
<who> is player or anything that gives a player name, such as {_name}'s scoreboard.
every 1 second for all players:
set title of player's scoreboard to "&e&lMY SERVER"
set line 1 of player's scoreboard to "&7Coins: &a%{%player%.coins}%"
set line 2 of player's scoreboard to "&7Ping: &f%player.ping% ms"
set line 3 of player's scoreboard to "&7Online: &f%server.online_players%"
update scoreboard of player every ...: belongs.