[Updated]: Episode 205: • 205: Unique player ID's in one comman...
Ep155: Using the scoreboard to give each player a unique ID value.
This has been updated to match the better version GalSergey showed in the commants. Episode 157: • 157: Giving players a unique scoreboa...
More information: / linkentity
Java Version: 1.19
Commands, builds and ideas for people making their own Minecraft maps.
Check out my collabs on Coppit's channel: / coppitj
Join the server I play on and the Discord where I hang out.
Server IP: 51.81.246.145:25588
Discord: / discord
The following commands are prefixed with three letters which represent the settings of the command block. E.g IUN: = Impulse Unconditional Needs_Redstone. These prefixes need to be removed if copying the commands.
Commands used:
Create objective:
IUN: scoreboard objectives add ID dummy
Assign IDs:
RUA: scoreboard players add @a ID 0
CUA: execute at @p[scores={ID=0}] run scoreboard players add #NextID ID 1
CUA: scoreboard players operation @p[scores={ID=0}] ID = #NextID ID