JScoreboard is a customizable scoreboard alternative to the default scoreboard. Press Z to view the scoreboard, which will remain visible for 5 seconds. Customizable options include:
Displaying wanted level
Displaying voice activity
Displaying player ID
Activator button
Display time length
Options can be modified by editing scoreboard.lua.
On one of my computer, I have this error with your script:
[119029187] Error resuming coroutine: scoreboard.lua:76: attempt to concatenate a boolean value
stack traceback:
scoreboard.lua:76: in upvalue 'DrawPlayerList'
scoreboard.lua:129: in function <scoreboard.lua:113>
It’s very strange, I have two computer and the first work fine but the second show this error…
Hello,
In your Jscoreboard script, is it possible to display anything other than the name?
I would like to display the contents of a table in the database.
it’s possible?
Okay, after messing around with the code, I got it to the way I like it.
So, if you want to have ID be in the list conditionally, then go to line 74 on the code and then change it to the following:
--ID Check
if Settings["PlayerID"] == true then
AddTextComponentString("[" .. GetPlayerServerId( v ) .. "] " .. GetPlayerName( v ) )
else
AddTextComponentString(GetPlayerName( v ) )
end
So therefore on line 6: set to either true to display it or false to not display the id.