Scoreboards - ShaneBeee/SkBee GitHub Wiki

SkBee includes some easy to use, non-flickering, packet based scoreboards called "FastBoardrs".
Because these scoreboards are packet based, they will not interfere anyway with vanilla Minecraft scoreboards or teams.

With some simples syntaxes, you can bring your server to life with a nice fancy fastboard.

Let's go over everything:

Expressions

Title

You can set the title of a fastboard.
Syntaxes:

title of %players%'[s] [fast]board[s]
title of [fast]board of %players%

Example usage:

set title of player's fastboard to "MyServer"
set title of all players' fastboards to "Our Serberder!"

Lines

You can set or delete the lines of fast boards.
Syntaxes:

line %number% of %players%'[s] [fast]board[s]
line %number% of [fast]board[s] of %player%

Examples:

set line 1 of player's fast board to "this is a line" 
set line 3 of all players' fastboards to "hey, more lines"
delete line 1 of player's fastboard
delete line 15 of all players' fastboards

Effects

Clear FastBoard

You can clear entire fastboards.
Note: Unlike some scoreboard addons, you do NOT need to clear/wipe the player's fastboard each time you set lines.
This is only used if you happen to want to clear their board. Syntaxes:

clear [fast]board[s] of %players%
clear %players%'[s] [fast]board[s]

Examples:

clear fastboard of player  
clear fastboards of all players

Toggle FastBoard

You can toggle a fastboard on or off.
When toggled off, a player won't see their fastboard.
This helps when you want to create a command for player's to toggle their board on or off without having to worry about wiping and all that. Syntaxes:

toggle [fast]board[s] of %players% [[to ](1¦(on|true)|2¦(off|false))]
toggle %players%'[s] [fast]board[s] [[to ](1¦(on|true)|2¦(off|false))]

Examples:

toggle fastboard of player on 
toggle fastboard of all players' off

Conditions

FastBoard is on

Check if a player's fastboard is currently toggled on or not.
Syntaxes:

[fast]board of %player% is (on|true)
[fast]board of %player% is(n't| not) on
[fast]board of %player% is (off|false)

Examples:

if fastboard of player is on:
    toggle fastboard of player off

Sample

Here is an example of a simple FastBoard.
Some things to keep in mind:

  • Don't include things in the loop that don't ever change (ex: title, static messages) there's no need to update a line that never changes
  • Include things in the loop that you want to update periodically (ie: points, variables, money, stats)
  • Make sure to include a wait in your while loop, or your server will crash
on join:
	# set things here that don't change (no need to include them in the loop)
	set title of player's fastboard to "&bLe &3Title"
	set line 1 of player's fastboard to "&aPlayers:"
	set line 3 of player's fastboard to "&aMoney:"
	set line 5 of player's fastboard to "&aKills:"
	set line 7 of player's fastboard to "&aDeaths:"
	while player is online:
		# set things here that need to update periodically
		set line 2 of player's fastboard to "&7 - &b%size of all players%"
		set line 4 of player's fastboard to "&7 - &b%balance of player%"
		set line 6 of player's fastboard to "&7 - &b%kill entity stat using player of player%"
		set line 8 of player's fastboard to "&7 - &b%deaths stat of player%"
		wait 1 second