A command should be added to get Player names command idea: /execute if entity @a[coords,and so on] run getplayername (range) save in scoreboard (scoreboard name)
or: /getplayername (range) save in scoreboard (scoreboard name)
To get the Name: /scoreboard getplayername (nameofscoreboard) (any variable) (name scoreboard) run e.g. give (variable from before) dirt
To delete the name: /scoreboard deleteplayername (scoreboardname) (playername)
This would be very usefull for people like me who try to make cool maps without datapacks but only with command blocks. E.g. to get a playerhead automatically or to name an entity automatically like the player.
Please sign in to leave a comment.
1 Comments