Minecraft-what command can i use to teleport a certain player only within a certain radius?How do I test for a player at specific coordinates?What command can I use to detect when any player is in a certain area?How to make a rain of arrows in vanilla Minecraft using command blocks?Minecraft - teleport a player when stepping on specific coordinatesIs it possible to use an item to activate a command in Minecraft?How do you teleport players at specific coordinates?How to program a command block to teleport if there is exactly one player nearby?How to use target selectors in /teleport command in Minecraft 1.13?Using execute command to teleport a player under a certain height
Scam? Phone call from "Department of Social Security" asking me to call back
What should I do if actually I found a serious flaw in someone's PhD thesis and an article derived from that PhD thesis?
If a person claims to know anything could it be disproven by saying 'prove that we are not in a simulation'?
What modifiers are added to the attack and damage rolls of this unique longbow from Waterdeep: Dragon Heist?
How do I pass a "list of lists" as the argument to a function of the form F[x,y]?
What if a restaurant suddenly cannot accept credit cards, and the customer has no cash?
Is there any official ruling on how characters go from 0th to 1st level in a class?
Have there ever been other TV shows or Films that told a similiar story to the new 90210 show?
What should I do with the stock I own if I anticipate there will be a recession?
What should we do with manuals from the 80s?
How can I find an old paper when the usual methods fail?
How to train a replacement without them knowing?
Is there a way, other than having a Diviner friend, for a player to avoid rolling Initiative at the start of a combat?
When does The Truman Show take place?
The space of cusp forms for GL_2 over F_q(T)
What is the opposite of "hunger level"?
Doesn't the speed of light limit imply the same electron can be annihilated twice?
100 Years of GCHQ - A quick afternoon puzzle!
If Marbury v Madison was overturned, would this eliminate Judicial Review in the United States?
Will some rockets really collapse under their own weight?
A+ rating still unsecure by Google Chrome's opinion
Why do we use low resistance cables to minimize power losses?
Knights and Knaves on a (Not So) Deserted Island
What does 〇〇〇〇 mean when combined with おじさん?
Minecraft-what command can i use to teleport a certain player only within a certain radius?
How do I test for a player at specific coordinates?What command can I use to detect when any player is in a certain area?How to make a rain of arrows in vanilla Minecraft using command blocks?Minecraft - teleport a player when stepping on specific coordinatesIs it possible to use an item to activate a command in Minecraft?How do you teleport players at specific coordinates?How to program a command block to teleport if there is exactly one player nearby?How to use target selectors in /teleport command in Minecraft 1.13?Using execute command to teleport a player under a certain height
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I am not testing for a player.Ive already tried looking online for hours and tried several different versions of the teleport command. i looked up target by volume under commands but it seems i cant use it to teleport a specific player, only @a and @e, and so on...
im specifically looking for a command that will teleport a player away to different coordinates once they step within a certain range of other coordinates.
minecraft minecraft-commands
New contributor
sour is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I am not testing for a player.Ive already tried looking online for hours and tried several different versions of the teleport command. i looked up target by volume under commands but it seems i cant use it to teleport a specific player, only @a and @e, and so on...
im specifically looking for a command that will teleport a player away to different coordinates once they step within a certain range of other coordinates.
minecraft minecraft-commands
New contributor
sour is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
Possible duplicate of How do I test for a player at specific coordinates?
– Fabian Röling
1 hour ago
add a comment |
I am not testing for a player.Ive already tried looking online for hours and tried several different versions of the teleport command. i looked up target by volume under commands but it seems i cant use it to teleport a specific player, only @a and @e, and so on...
im specifically looking for a command that will teleport a player away to different coordinates once they step within a certain range of other coordinates.
minecraft minecraft-commands
New contributor
sour is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I am not testing for a player.Ive already tried looking online for hours and tried several different versions of the teleport command. i looked up target by volume under commands but it seems i cant use it to teleport a specific player, only @a and @e, and so on...
im specifically looking for a command that will teleport a player away to different coordinates once they step within a certain range of other coordinates.
minecraft minecraft-commands
minecraft minecraft-commands
New contributor
sour is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
sour is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited 37 mins ago
sour
New contributor
sour is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 1 hour ago
soursour
11 bronze badge
11 bronze badge
New contributor
sour is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
sour is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
Possible duplicate of How do I test for a player at specific coordinates?
– Fabian Röling
1 hour ago
add a comment |
1
Possible duplicate of How do I test for a player at specific coordinates?
– Fabian Röling
1 hour ago
1
1
Possible duplicate of How do I test for a player at specific coordinates?
– Fabian Röling
1 hour ago
Possible duplicate of How do I test for a player at specific coordinates?
– Fabian Röling
1 hour ago
add a comment |
1 Answer
1
active
oldest
votes
You can execute a command as a certain player by using /execute as
:
/execute as <player>
You can then use if
and a target selector to define your area, or other things that you may want to define:
/execute as <player> if entity @s[<definition for the area>]
Now you only need to run
your /tp
command:
/execute as <player> if entity @s[<definition for the area>] run tp <target coordinates>
You can also just add the name to the target selector for an easier solution:
/tp @a[name=<name of the player>,<definition for the area>] <target coordinates>
This also works with @p
if you specifically try to avoid @a
and @e
.
I didn't see your edit before posting this, if this answer doesn't help, then I recommend you check out this answer on this question.
– bearb001
14 mins ago
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "41"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
sour is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgaming.stackexchange.com%2fquestions%2f356244%2fminecraft-what-command-can-i-use-to-teleport-a-certain-player-only-within-a-cert%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can execute a command as a certain player by using /execute as
:
/execute as <player>
You can then use if
and a target selector to define your area, or other things that you may want to define:
/execute as <player> if entity @s[<definition for the area>]
Now you only need to run
your /tp
command:
/execute as <player> if entity @s[<definition for the area>] run tp <target coordinates>
You can also just add the name to the target selector for an easier solution:
/tp @a[name=<name of the player>,<definition for the area>] <target coordinates>
This also works with @p
if you specifically try to avoid @a
and @e
.
I didn't see your edit before posting this, if this answer doesn't help, then I recommend you check out this answer on this question.
– bearb001
14 mins ago
add a comment |
You can execute a command as a certain player by using /execute as
:
/execute as <player>
You can then use if
and a target selector to define your area, or other things that you may want to define:
/execute as <player> if entity @s[<definition for the area>]
Now you only need to run
your /tp
command:
/execute as <player> if entity @s[<definition for the area>] run tp <target coordinates>
You can also just add the name to the target selector for an easier solution:
/tp @a[name=<name of the player>,<definition for the area>] <target coordinates>
This also works with @p
if you specifically try to avoid @a
and @e
.
I didn't see your edit before posting this, if this answer doesn't help, then I recommend you check out this answer on this question.
– bearb001
14 mins ago
add a comment |
You can execute a command as a certain player by using /execute as
:
/execute as <player>
You can then use if
and a target selector to define your area, or other things that you may want to define:
/execute as <player> if entity @s[<definition for the area>]
Now you only need to run
your /tp
command:
/execute as <player> if entity @s[<definition for the area>] run tp <target coordinates>
You can also just add the name to the target selector for an easier solution:
/tp @a[name=<name of the player>,<definition for the area>] <target coordinates>
This also works with @p
if you specifically try to avoid @a
and @e
.
You can execute a command as a certain player by using /execute as
:
/execute as <player>
You can then use if
and a target selector to define your area, or other things that you may want to define:
/execute as <player> if entity @s[<definition for the area>]
Now you only need to run
your /tp
command:
/execute as <player> if entity @s[<definition for the area>] run tp <target coordinates>
You can also just add the name to the target selector for an easier solution:
/tp @a[name=<name of the player>,<definition for the area>] <target coordinates>
This also works with @p
if you specifically try to avoid @a
and @e
.
answered 24 mins ago
bearb001bearb001
3,9161 gold badge5 silver badges30 bronze badges
3,9161 gold badge5 silver badges30 bronze badges
I didn't see your edit before posting this, if this answer doesn't help, then I recommend you check out this answer on this question.
– bearb001
14 mins ago
add a comment |
I didn't see your edit before posting this, if this answer doesn't help, then I recommend you check out this answer on this question.
– bearb001
14 mins ago
I didn't see your edit before posting this, if this answer doesn't help, then I recommend you check out this answer on this question.
– bearb001
14 mins ago
I didn't see your edit before posting this, if this answer doesn't help, then I recommend you check out this answer on this question.
– bearb001
14 mins ago
add a comment |
sour is a new contributor. Be nice, and check out our Code of Conduct.
sour is a new contributor. Be nice, and check out our Code of Conduct.
sour is a new contributor. Be nice, and check out our Code of Conduct.
sour is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Arqade!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgaming.stackexchange.com%2fquestions%2f356244%2fminecraft-what-command-can-i-use-to-teleport-a-certain-player-only-within-a-cert%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Possible duplicate of How do I test for a player at specific coordinates?
– Fabian Röling
1 hour ago