Mojira Archive
BDS-17611

typing in BDS console :tp <PlayerName> ~ ~ ~ send the player to 0 0 0

Steps to Reproduce:
1. start BDS server
2. join the server
3. in BDS console :/tp <PlayerName> ~ ~ ~

Observed Results:
The player teleport to 0 0 0

Expected Results:
The player should teleport to his own location.

Attachments1

mstsc_07F0oZ3rCd.png
mstsc_07F0oZ3rCd.png

limlom1

Comments6

Looks like you are in the console. ~ is always relative to the player executing the command, in this case the console, which apparently is 0|0|0. Try /execute Bsayss ~~~ (your command)

example: 

/execute Bsayss ~~~ tp @s ~ ~10 ~

 

will teleport the player 10 blocks up

 

hope this helps

@DAMcraft I know, but in Bedrock Edition, players use /tp @s to know their location.

So typing that in the console must return the player's location to me (server owner).

Hi

Does this issue occur only on bedrock dedicated server or it can be reproduced on local worlds/Realms?

This ticket will automatically reopen when you reply.

@Maciej Piornik

This bug only occurs on Bedrock dedicated servers
Because you need to put the command on the BDS console, and local worlds/Realms do not have a console.

DAMcraft was correct and this works as expected. ~ ~ ~ doesn't return the coordinates of whatever player you name, it returns the coordinates of the actor executing the command. The /tp @s ~ ~ ~ only works because the actor is the same person as the <victim> @s, and the command output in chat shows the destination they were teleported to, which is the same position they're at. It's just a tricky way to find out where you are.

The /execute command lets you specify the actor for the command that follows it. That's what it's for, in fact. So you can use /execute <PlayerName> ~ ~ ~ tp ~ ~ ~ to find out where the player is, if that's what you wanted to do.

Console Command Origin still is Actor that has position on 0, 0, 0

For example Block Command Origin has "pos" on block position where command was executed. This works as expected.

History7

limlom1

Changed description:

Steps to Reproduce:
01. start BDS server
02. join the server
03. in console :/tp <PlayerName> ~ ~ ~

0

Observed Results:
0The player teleport to 0 0 0

0

Expected Results:
0The player should teleport to his own location.

limlom1

Changed description:

Steps to Reproduce:
01. start BDS server
02. join the server
03. in BDS console :/tp <PlayerName> ~ ~ ~

0

Observed Results:
0The player teleport to 0 0 0

0

Expected Results:
0The player should teleport to his own location.

limlom1

Changed summary:

typing in BDS cmd: tp <PlayerName> ~ ~ ~ send the player to 0 0 0 typing in BDS console :tp <PlayerName> ~ ~ ~ send the player to 0 0 0

Maciej Piornik
[Bot] Arisa
Maciej Piornik

Confirmation Status: UnconfirmedConfirmed

[Mod] Greymagic27
Works As Intended
limlom1
1
3
Confirmed
888717
1.19.21 Hotfix 1.19.22 Hotfix