Minecraft:Commands/chase: Difference between revisions
From SAS Gaming Wiki
More actions
imported>Nethonos de-interwiki |
Remove broken links to missing pages |
||
| Line 4: | Line 4: | ||
|name=chase | |name=chase | ||
|oplevel=0 | |oplevel=0 | ||
|others=<code>-DMC_DEBUG_CHASE_<br />COMMAND</code> | |others=<code>-DMC_DEBUG_CHASE_<br />COMMAND</code> debug property | ||
}} | }} | ||
'''/chase''' is a command that can be enabled with the | '''/chase''' is a command that can be enabled with the debug property <code>-DMC_DEBUG_CHASE_COMMAND</code>. It teleports a following player to the same position and rotation angle as a leading player whenever that leading player moves. This works even between different worlds and when the following player's Singleplayer game is paused. | ||
== Syntax == | == Syntax == | ||
| Line 44: | Line 44: | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|java}} | |{{HistoryLine|java}} | ||
|{{HistoryLine||1.21.9|dev=25w37a|Added | |{{HistoryLine||1.21.9|dev=25w37a|Added debug property <code>-DMC_DEBUG_CHASE_COMMAND</code>, making the command accessible in the vanilla game.}} | ||
}} | }} | ||
| Line 50: | Line 50: | ||
{{Navbox commands}} | {{Navbox commands}} | ||
de:Befehl/chase | |||
zh:命令/chase | |||
Revision as of 15:43, 9 April 2026
Template:Exclusive Template:Debug warning Template:Infobox command
/chase is a command that can be enabled with the debug property -DMC_DEBUG_CHASE_COMMAND. It teleports a following player to the same position and rotation angle as a leading player whenever that leading player moves. This works even between different worlds and when the following player's Singleplayer game is paused.
Syntax
chase lead [<bind_address>] [<port>]
- Starts a server that can be accessed on this IP address and port. It transmits the player's position whenever that player's position or facing angle changes.
- By default, prints "Chase server is now running on port <port>. Clients can follow you using /chase follow <ip> <port>.". The default host is
localhostand the default port 10000. Ifchase followorchase leadhas already been used withoutchase stopafterwards, prints the error "Chase server is already running. Stop it using /chase stop."
chase follow [<host>] [<port>]
- Starts following the movements transmitted by the server and printing the coordinates to chat. The following player can still move independently, but gets teleported back whenever position information is received.
- By default, prints "You are now chasing <host>:<port>". If that server does '/chase lead', then you will automatically go to the same position. Use `/chase stop` to stop chasing.". The default host is
localhostand the default port 10000. Ifchase followorchase leadhas already been used withoutchase stopafterwards, prints the error "You are already chasing someone. Stop it using /chase stop.".
chase stop
- Stops transmitting or receiving positions, depending on which sub-command was used before. Prints "You have now stopped chasing" or "You are no longer being chased" respectively. If no chase is active, does nothing and prints nothing.
Arguments
- A hostname or IP address, to be used for transmitting locations. E.g. "
localhost" and "127.0.0.1" are equivalent. - Template:Arg desc
- Same as
bind_address, except for receiving. Also called "ip" in the/chase leadchat output. - Template:Arg desc
- Network port, to be used for transmitting or receiving locations.
- Template:Arg desc
Result
Template:Result table Template:Result table Template:Result table Template:Result table
Output
Template:Output table Template:Output table Template:Output table
History
de:Befehl/chase zh:命令/chase