Minecraft: programming scoreboard for certain players?

pe
4

I would like to know how I can have a scoreboard sent only for certain spilers, I've tried a lot but it doesn't work. I tried a for () loop, but it didn't work.

I would appreciate any answer and I hope someone can help me.

Sw

Could you perhaps express your question more precisely? (Vanilla scoreboard or your own, sample code)

pe

I mean for my self-programmed plugin, i.e. For programming.

Sw

Would you please show what exactly you've tried?

pe

The plugin is very, very large because I program something for a complete server, I actually only need the things with p.setScoreboard (scoreboard), and what I tried was for (…) and then for the specific player Group set the scoreboard no longer p.setScoreboard but x.setScoreboard. If you want to see the plugin and talk to me, I could explain and describe it to you in more detail. Discord: JoshuaYT # 4164