I like to have players start out in our protected spawn then go to a pressure plate or near the command block it does not matter. Then when they go to it does a spread of the player say between 500-3500 out and also sets that location as their spawnpoint.
The point?
I don't want the player to use spawn again especially to kill themselves to be able to randomly teleport a 2nd, 3rd, etc time.
tag @e[type=minecraft:player,tag=SettingSpawn] add SpawnSet
Command 5:
tag @e[type=minecraft:player,tag=SpawnSet] remove SettingSpawn
If you want, I can give you code that will prevent players from having their spawn points set too close to each other. Hope this is what you're looking for!
Thanks. My mate is going to give it a go today. He said he might use your first example. We have 4 locations we are doing and he said that is a lot of command blocks lol.
To give you an idea what were doing (mixing this with modded Minecraft).
Player at spawn go to the startgate and uses Open Computers to pick one of 4 destinations. Sort like pick one of 4 outposts. Then the user travel's to the outpost but instead they actually travel 30 blocks away to a special say North East gate and it's dark and the command blocks instantly spread them to a new locations. Once this happens there will be some sort of message in chat will try to add where it will say something like there seems to be a gate malfunction and we seem to been randomly placed in the North East quadrant of the planet. From there it also becomes their spawn so when they die they always start in the same spot to abuse people who die 100 times just to get closer to their friends.
The Meaning of Life, the Universe, and Everything.
Join Date:
1/7/2019
Posts:
56
Minecraft:
JohnTempest
Member Details
Got it. Yeah, this system should work fine as long as beds are disabled. Also, with the commands I laid out, there is no need for the darkroom if you are only using it for /spreadplayers.
Also, I wouldn't worry about the number of commands, with that few, there should be no noticeable impact on the game whatsoever.
I like to have players start out in our protected spawn then go to a pressure plate or near the command block it does not matter. Then when they go to it does a spread of the player say between 500-3500 out and also sets that location as their spawnpoint.
The point?
I don't want the player to use spawn again especially to kill themselves to be able to randomly teleport a 2nd, 3rd, etc time.
Thanks
Check out my Let's Play Series:
NOTE: X, Y, and Z when seen in the following code represents the coordinates for world spawn
Command Block Activated By New Player:
Repeating Command Block in Spawn Chunks:
Chain Command Blocks (Unconditional):
Command 1:
Command 2:
Command 3:
Command 4:
Command 5:
If you want, I can give you code that will prevent players from having their spawn points set too close to each other. Hope this is what you're looking for!
- John
Thank you so much this will do just perfect That was one the best replies I have gotten on here
Check out my Let's Play Series:
Good to hear! Let me know if you need anything else.
Edit: Recently made some changes. Not sure if they were necessary, but if you have any issues please just recopy the commands above. Cheers!
Thanks. My mate is going to give it a go today. He said he might use your first example. We have 4 locations we are doing and he said that is a lot of command blocks lol.
To give you an idea what were doing (mixing this with modded Minecraft).
Player at spawn go to the startgate and uses Open Computers to pick one of 4 destinations. Sort like pick one of 4 outposts. Then the user travel's to the outpost but instead they actually travel 30 blocks away to a special say North East gate and it's dark and the command blocks instantly spread them to a new locations. Once this happens there will be some sort of message in chat will try to add where it will say something like there seems to be a gate malfunction and we seem to been randomly placed in the North East quadrant of the planet. From there it also becomes their spawn so when they die they always start in the same spot to abuse people who die 100 times just to get closer to their friends.
Just a fun idea anyways
Check out my Let's Play Series:
Got it. Yeah, this system should work fine as long as beds are disabled. Also, with the commands I laid out, there is no need for the darkroom if you are only using it for /spreadplayers.
Also, I wouldn't worry about the number of commands, with that few, there should be no noticeable impact on the game whatsoever.
Oh damn, Tag command was 1.13 sadly it did not work out
Check out my Let's Play Series: