← Back to Command Directory ← Back to Home

/transfer

Triggers a transfer of one or more players to another Minecraft server. The client will disconnect from the current server and attempt to connect to the specified destination.

Syntax

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

Parameters

NameRequiredDescription
hostnameYesThe hostname or IP address of the destination server.
portNoThe port of the destination server (defaults to 25565).
playersNoThe player(s) to transfer. Defaults to the executing player.

Examples

/transfer play.example.com
/transfer play.example.com 25565 @a
/transfer 192.168.1.50 25566 @p

Notes

Command Block Use

This command is not usable from command blocks. It is a server-operator-only command.

Related Commands