Skip to main content

If you put a repeating command block 2 blocks under the spawn that has the command. /testfor @a[r=3] then /testfor @a[r=3], then a redstone comparator next to it pointing outwards to an impulse command block that has the command /give @a[x=X coordinate of spawn,y=Y coordinate of spawn,Z coordinate of spawn/give @a[x=X coordinate of spawn,y=Y coordinate of spawn,Z coordinate of spawn,r=1] wooden_sword ,r=1] wooden_sword Then then it should give all players at spawn a wooden sword.

If you put a repeating command block 2 blocks under the spawn that has the command. /testfor @a[r=3] then a redstone comparator next to it pointing outwards to an impulse command block that has the command /give @a[x=X coordinate of spawn,y=Y coordinate of spawn,Z coordinate of spawn,r=1] wooden_sword Then it should give all players at spawn a wooden sword.

If you put a repeating command block 2 blocks under the spawn that has the command /testfor @a[r=3], then a redstone comparator next to it pointing outwards to an impulse command block that has the command /give @a[x=X coordinate of spawn,y=Y coordinate of spawn,Z coordinate of spawn,r=1] wooden_sword , then it should give all players at spawn a wooden sword.

Source Link

If you put a repeating command block 2 blocks under the spawn that has the command. /testfor @a[r=3] then a redstone comparator next to it pointing outwards to an impulse command block that has the command /give @a[x=X coordinate of spawn,y=Y coordinate of spawn,Z coordinate of spawn,r=1] wooden_sword Then it should give all players at spawn a wooden sword.