I am trying to make a system that grants a player certain items and warps them to spawn with a message upon their first join. I started by creating a custom advancement so as to detect that as incomplete when joining. This would be granted upon entering water, and this cycle would happen upon rejoin until the user enters such water. The spawn is surrounded by water, so this mechanic needs to be landlocked to the spawn platform. Once the player leaves spawn, they are never granted this cycle again. Here is what I have thus far.
Upon entering water, the player is granted this advancement, and the cycle should end. That is the goal. However, I'm finding it difficult to accomplish.
/advancement test @a inventoryitemdraw:challenge/advancement
This system needs to work with multiple players online at a given time; please help!
I am trying to make a system that grants a player certain items and warps them to spawn with a message upon their first join. I started by creating a custom advancement so as to detect that as incomplete when joining. This would be granted upon entering water, and this cycle would happen upon rejoin until the user enters such water. The spawn is surrounded by water, so this mechanic needs to be landlocked to the spawn platform. Once the player leaves spawn, they are never granted this cycle again. Here is what I have thus far.
Upon entering water, the player is granted this advancement, and the cycle should end. That is the goal. However, I'm finding it difficult to accomplish.
This system needs to work with multiple players online at a given time; please help!
SOLVED: Instead of using advancements, I used Teams. This made it much simpler; I can just detect new players that haven't joined a team yet!
chain any desired commands...
at the end of the chain, add
and you now have a single use system!