/chase

This feature is exclusive to Java Edition.
 
This feature is intended for debugging purposes only, and should not be used during normal play. It might cause crashes and corrupt world saves.
/chase
Permission level
required

0

Restrictions

-DMC_DEBUG_CHASE_
COMMAND
debug property

/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 localhost and the default port 10000. If chase follow or chase lead has already been used without chase stop afterwards, 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 localhost and the default port 10000. If chase follow or chase lead has already been used without chase stop afterwards, 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

<bind_address>: string

A hostname or IP address, to be used for transmitting locations. E.g. "localhost" and "127.0.0.1" are equivalent.
Must be a string.

<host>: string

Same as bind_address, except for receiving. Also called "ip" in the /chase lead chat output.
Must be a string.

<port>: integer

Network port, to be used for transmitting or receiving locations.
Must be a [Int]32-bit integer number (from -2147483648 (-231) to 2147483647 (231-1) ). And it must be between 1 (for chase follow), or 1024 (for chase lead) and 65535 (inclusive).

Result

CommandTriggerJava Edition
AnyThe command is incomplete, or any argument is not specified correctly. Unparseable
OtherwiseSuccessful

Output

CommandEditionSituationSuccess Count/execute store success .../execute store result ...
AnyJava EditionOn success110

History

Java Edition
1.21.925w37aAdded debug property -DMC_DEBUG_CHASE_COMMAND, making the command accessible in the vanilla game.

Navigation