PlayersJavaBedrock

/transfer

Sends players to a different server by host and port — the multiplayer equivalent of clicking a server in the list. Added in 1.20.5 (Java) and also available on Bedrock, it powers server networks and hub/lobby setups without third-party plugins.

What is /transfer used for?

What /transfer is for

Sends players to a different server by host and port — the in-game equivalent of clicking a server in the multiplayer list.

When to use /transfer

Power a server network: move players from a hub to minigame servers, or bounce them between linked worlds, without third-party proxy plugins. Added in 1.20.5.

Tips for /transfer

If you specify which players to send, you must also give the port. Default ports are 25565 (Java) and 19132 (Bedrock).

Syntax

Parameters

hostname
string
Target server address.
portoptional
integer
Server port (default 25565 Java / 19132 Bedrock).
playersoptional
entity selector
Players to transfer (default executor).

Command builder

Configure the options below to generate a ready-to-paste /transfer command.

Default 25565 (Java) / 19132 (Bedrock).
Who to transfer (defaults to the executor).

Examples

  • Send yourself to play.example.com on the default port.

  • Send all players to the hub server.

Permission level

/transfer requires Cheats (op level 2). In single-player you need the world's "Allow Cheats" toggle on. On a multiplayer server you need to be opped — see /op.