1
I'm having a heck of a time figuring out how to make a command block or set of them do what I want in Bedrock 1.14.60.5
This is for on a private Server for my Son and a few of his friends. They are young and to head off bickering I decided I needed to create some Private vaults for them to store their stuff. So I set up some spaces surrounded by barrier blocks each one with storage and a command block with button to send them back to base when they are done in the vault. That was easy enough.
The challenge I'm having is the system to send them to their vault. Right now I have set up a command block with pressure plate for each of them that will send the player to their own vault but at this point in time, anyone stepping on the pressure plate will send the player to their vault even if they don't want to go.
How do I make a system that will only respond to the username.
Right now I have set up just a simple single block with pressure plate on top
tp @a[name=<Username>] <x y z>
If a more complex arrangement with red-stone and more blocks is needed, I'm willing to set up a more complex remote set up using absolute coordinates since I have all that written down but so far I've not found something that can let me specify who can trigger the command. I've found a few youtube videos for stuff like an identity scanner but that was about a year old and I don't seem to be able to get it working in the current version.
Please help a Mom out with the kids social outlet during this time of Quarantine.
Thanks
This is for on a private Server for my Son and a few of his friends. They are young and to head off bickering I decided I needed to create some Private vaults for them to store their stuff. So I set up some spaces surrounded by barrier blocks each one with storage and a command block with button to send them back to base when they are done in the vault. That was easy enough.
The challenge I'm having is the system to send them to their vault. Right now I have set up a command block with pressure plate for each of them that will send the player to their own vault but at this point in time, anyone stepping on the pressure plate will send the player to their vault even if they don't want to go.
How do I make a system that will only respond to the username.
Right now I have set up just a simple single block with pressure plate on top
tp @a[name=<Username>] <x y z>
If a more complex arrangement with red-stone and more blocks is needed, I'm willing to set up a more complex remote set up using absolute coordinates since I have all that written down but so far I've not found something that can let me specify who can trigger the command. I've found a few youtube videos for stuff like an identity scanner but that was about a year old and I don't seem to be able to get it working in the current version.
Please help a Mom out with the kids social outlet during this time of Quarantine.
Thanks
1
What you want is the distance(r/rm on bedrock) or x,y,z selectors as well. That way you can test for player named <name> who is also at X,Y,Z. so if they arent there or they arent that person then it wont activate
https://minecraft.gamepedia.com/Commands#Target_selector_arguments
https://minecraft.gamepedia.com/Commands#Target_selector_arguments
