OGTOOLS

Minecraft /transfer command

Connects a player's game to another server without making them log out.

🛡️ Server management Server admin (level 3) Needs cheats enabled Java Edition 26.3

Syntax

/transfer <hostname> [<port>] [<players>]

Parts in square brackets are optional, parts in angle brackets are required. You do not type the brackets: Put your own value in their place.

Arguments

ArgumentWhat it does
<hostname> The address of the target server.
[<port>] The target port; the default is 25565.

Examples

/transfer play.example.com 25565 @a

Sends everyone to the other server.

Good to know

  • Added in 1.20.5. Used for lobby switching on server networks.
  • If the player's client cannot reach the target server, the connection drops.

How do I run this command?

Press T in game to open chat (or press / directly), type the command and press Enter. While typing, Tab completes the options. This command counts as a cheat: It needs cheats enabled in a singleplayer world, and operator permission on a server (server admin (level 3)).

Related commands

🛡️ More Server management

Another tool Minecraft crafting recipes Would rather make the item than give it with a command? See the recipe on the 3x3 grid.

Minecraft is a product of Mojang Studios. This tool is an independent helper made for players and is not affiliated with Mojang or Microsoft.