Minecraft Data Packs / Other

Unique Player ID

  • check_circle Advancements
  • check_circle Functions
  • 1,681 views, 3 today
  • 72 downloads, 0 today
  • 5
  • 0
xokz's Avatar xokz
Level 52 : Grandmaster Robot
83
This is just a utility datapack that gives every player who joins a unique number assigned to them, and keep that number even after they leave the server.


Each players number is stored in their uid score.
The first player to join will have the uid of 1, second will have the uid of 2, and so on.
This can be used for many things, like entity linking.





You are free to do whatever you like with this pack, other than take credit for it.



you do not need to credit me, but it would be appreciated
Creditd in the mc commands discord
CompatibilityMinecraft 1.13
toMinecraft 1.19
Tags

1 Update Logs

Update #1 : by xokz 02/27/2022 3:31:15 pmFeb 27th, 2022

Simplified and made more efficient, thanks d!

Create an account or sign in to comment.

Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome