skRayFall

skRayFall

297k Downloads

Personal scoreboard doesn't work...

maxmistral opened this issue ยท 0 comments

commented

Hey ! I have a bug with SkRayFall 1.8...
When I try to make a personal dashboard, it is the dashboard of the last connected that is displayed for all players...
Exemple with a code :

every 1 second:
	loop all players:
		wipe loop-player's sidebar
		set name of sidebar of loop-player to "{@logo}"		
		if {rank.%loop-player%} = 1:
			set score "&cRank: &7Player" in sidebar of loop-player to 10
		if {rank.%loop-player%} = 2:
			set score "&cRank: &aVIP" in sidebar of loop-player to 10
		if {rank.%loop-player%} = 3:
			set score "&cRank: &3Builder" in sidebar of loop-player to 10
		if {rank.%loop-player%} = 4:
			set score "&cRank: &6Mod" in sidebar of loop-player to 10
		if {rank.%loop-player%} = 5:
			set score "&cRank: &cAdmin" in sidebar of loop-player to 10

A player with the rank admin is connected, in his scoreboard, there will be writted Admin. But if another player connects after him, it will be the rank of this 2nd player which will be displayed for everyone...

In the config, enableFastScoreBoards is enabled...

Have a good day !