Individual scoreboards broken
melinstagibson opened this issue ยท 8 comments
Whenever you try to set a scoreboard for only one player it shows them for every player on the server
Example:
on damage of player:
set name of sidebar of victim to "&6PVP-Timer"
set score "&6&lTest &7Seconds" in sidebar of victim to 1
Try with two or more people, it will set the scoreboard for everyone on the server instead for just the victim
This bug still occurs for me on the latest version of skRayFall (1.9.26), I've tried reinstalling the plugin multiple times and have completely reset my server on numerous occasions but nothing seems to fix it.
Sorry for the late reply
Im using paperspigot 1.10 usually the latest build
also latest build of skript by nfell
I've found this issue, in the skrayfall config.yml is 'enableFastScoreBoards' set to false? It needs to be set to true in order to work
I tried your exact code with enableFastScoreBoards set to true and it worked as it should have for me, I tested with multiple alt accounts and each account had it's own unique scoreboard. The only time I saw the issue you mentioned was when enableFastScoreBoards was disabled. Please make sure you are using the latest version of skRayFall, if you are it could be another plugin you have that changes how scoreboards work or it could be the fact you are using a skript build by nfell, it could also be the spigot jar you are using. Here are the jars I tested with (I tested on a minecraft 1.10 server as well)
skRayFall: http://dev.bukkit.org/bukkit-plugins/skrayfall/files/31-sk-ray-fall-v1-9-4/
Skript: http://puu.sh/pyQW2/2ab8d47b00.jar
Spigot: http://puu.sh/pyQYo/6743c5ab86.jar
Keeps happening in spigot 1.12 with skrayfall 1.9.12 and with 'enableFastScoreBoards' set in true and false, it just updates the scoreboard to all the server from the latest player you set the scoreboard to. I have no other scoreboards plugin installed in my test server as I made skripts has a hobbie for fun
on join: sblobby(player) function sblobby(p: player): wipe {_p}'s sidebar set name of sidebar of {_p} to "&4T&fN&4T&r &cTag" set score "&d" in sidebar of {_p} to 9 set score "&e&lMonedas:&r&e %{tntt_monedas::%{_p}%}%" in sidebar of {_p} to 8 set score "&f" in sidebar of {_p} to 7 set score "&bIP" in sidebar of {_p} to 1
Like this, the last player who joins update the scoreboard from the rest,with the last player's coins, or any time is invoked for example using !sblobby(player) in chat will update th SB to the rest of the players with my data (my coins and other stats I might add if this gets fixed). For me it has been happening like from the 1.8, and I'm using Skript 2.2-dev34