how to make a Minecraft scoreboard (sidebar) with Skript
Build a per-player Minecraft sidebar scoreboard with Skript and skBee. Custom title, dynamic lines, refresh interval, color formatting. Step-by-step guide.
The sidebar — that right-side scoreboard showing your name, balance, rank, and online count — is one of the most-requested features for any Minecraft server. With Skript plus skBee, you can build one in about ten lines of code.
Why skBee?
Skript's built-in scoreboard support is limited and quirky. skBee is the dominant Skript plugin for sidebars in 2024+ — it provides clean expressions like `set title of player's sidebar to "..."` and `set line N of player's sidebar to "..."`. Drop skBee.jar into your /plugins folder alongside Skript.
The code
on join: delete player's sidebar set title of player's sidebar to "&6&lMY SERVER" set line 6 of player's sidebar to "&7&m------------" set line 5 of player's sidebar to "&eName: &f%player%" set line 4 of player's sidebar to "&eWorld: &f%player's world%" set line 3 of player's sidebar to "&7Online: &f%number of all players%" set line 2 of player's sidebar to "&7&m------------" set line 1 of player's sidebar to "&eplay.example.com" every 5 seconds: loop all players: set line 4 of loop-player's sidebar to "&eWorld: &f%loop-player's world%" set line 3 of loop-player's sidebar to "&7Online: &f%number of all players%"
How the line ordering works
Line numbers in scoreboards represent the SCORE (the small number on the right of each line in-game). Higher scores appear higher on the sidebar. The convention is to write your sidebar top-to-bottom with descending line numbers — line 6 = top, line 1 = bottom.
frequently asked
- Do I have to update every line every 5 seconds?
- Only the lines containing dynamic data (online count, player count). Static lines like the title and footer don't need to be re-set.
- Can I show the player's money or rank?
- Yes — use placeholders like `%{money.%uuid of loop-player%}%` for Skript variables, or PlaceholderAPI tokens via skript-placeholders.
- Why does my scoreboard flicker on refresh?
- Don't `delete` the sidebar before re-setting it — just update individual lines. Deletion + recreation causes the flicker.