Let's say I have a 18x18 circle, surrounded by a 3x3 ring of a different material. I want to teleport players randomly along the 3x3 ring all the way along the outside. I have tried experimenting with the
command, as I have used it to teleport players randomly along a line, like so:
tp @a -317 35 58 spreadplayers -317 -58 1 11 false @a tp @a ~ 35 58
however, I can't seem to think how you would apply this logic to a ring. I understand that I can set the 'x' and 'z' as the centerpoint, but there is no mixrange argument, only maxrange, so how would I ensure that the players are a minimum of 18 blocks and a maximum of 21 blocks from the centerpoint?