Transfer just yourself
/transfer play.example.comSends you to play.example.com on the default port 25565.

/transfer moves players from this server to another one without sending them back to the menu. Server networks use it to link a lobby to their game servers. It was added in 1.20.5 and needs operator level 3, so it is run from the console or by an operator.
/transfer <hostname> [<port> [<players>]]// Only on a dedicated server: the command does not exist in single player or in a world opened to LAN.
| Argument | Expects | What it does |
|---|---|---|
| hostname | Textquoted text | Address of the destination server, a domain like play.example.com or an IP address. |
| portoptional | Whole number1 to 65,535 | Port of the destination, from 1 to 65535; 25565 is used if you leave it out. |
| playersoptional | Player selectorone or several | Players to send, for example @a or Steve; without it, you transfer yourself. |
/transfer play.example.comSends you to play.example.com on the default port 25565.
/transfer play.example.com 25566 @aMoves all online players to the server listening on port 25566.
Fill in the fields, then copy the command.
Command generatorGive the address and, if needed, the port and the players. Without a port, 25565 is used; without players, you transfer yourself. The destination must accept transfers, otherwise players see This server does not accept transfers. On a vanilla server, this is the accept-transfers setting in server.properties.
Players arrive with the same account, so the destination applies its own /whitelist and bans as usual. Check who will be moved with /list before sending everyone. The players do not need to know the address themselves.
✓ Checked in Java Edition 26.3 · updated 2 November 2026
The destination refuses transfers or cannot be reached. Turn on accept-transfers on that server and check the address and port.
No. Command blocks run at level 2 and /transfer needs level 3. Use the console or an operator account.
On a server, as an operator or from the server console: /transfer <hostname> [<port> [<players>]]. It does not exist in single player.
Server operator, level 3. Only on a dedicated server: the command does not exist in single player or in a world opened to LAN.
It is in the official command tree since Java Edition 1.20.5.