1
Command Block Help Needed
I am working on a map but I have no idea of how to make a command block to teleport someone! If you could help me or even give me the command with all the stuff filled out that would be great! Here are the coordinates I want to teleport to with the command block:
x: -309
y: 2000
z: -413.45
f: 3
I would really appreciate some help!
Such a command block noob
x: -309
y: 2000
z: -413.45
f: 3
I would really appreciate some help!
Such a command block noob
7
Does anyone know how to make the command block teleport anyone EXCEPT you? so you could safely press the button without being teleported but anyone else that pushes it will be tp'd?
Make your own forum and ask that...
Wiki........
Already checked wiki...didn't make much sense to me.
if you cant place it, be in creative
Well first of all you need to type in 'tp' then you need to tell the command block who to teleport. There are a few parameters you can use. They are:
@a= all players
@p= closest player
@r= random player
You can also add more options after that like all players within 3 blocks etc.
So if you are going to make a player stand on a pressure plate or press a button your command would look like:
tp @p -309 2000 -413
But if your command block is not right where the player is then somebody else might get teleported. In that case you would need to specify where you want the command block to detect players. That can be done this way:
[x=5,y=10,z=15,r=3]
Putting that with no spaces after the @p/a/r will mean the command block will only look at players within 3 blocks of those cooridinates.
In case you didn't know 'f' is the direction the player is facing. I'm pretty sure that can't be changed in a command and that a player will always face the same way they were before.
@a= all players
@p= closest player
@r= random player
You can also add more options after that like all players within 3 blocks etc.
So if you are going to make a player stand on a pressure plate or press a button your command would look like:
tp @p -309 2000 -413
But if your command block is not right where the player is then somebody else might get teleported. In that case you would need to specify where you want the command block to detect players. That can be done this way:
[x=5,y=10,z=15,r=3]
Putting that with no spaces after the @p/a/r will mean the command block will only look at players within 3 blocks of those cooridinates.
In case you didn't know 'f' is the direction the player is facing. I'm pretty sure that can't be changed in a command and that a player will always face the same way they were before.
Thanks!
