
/transfer
Sends players to another server. Its basic form is /transfer <hostname>; it has 3 syntax forms and 3 arguments. Permission: Op level 3.
/transfer syntax
Game dataEvery form the game accepts. Words in <angle brackets> are arguments you fill in; everything else is typed as is.
/transfer <hostname>/transfer <hostname> <port>/transfer <hostname> <port> <players>/transfer examples
Ready-to-paste examples (cheats on). @s is you, @p the nearest player, @a everyone, @e every entity.
/transfer play.example.net 25565 @a- Sends every player to another server at that address and port; the target must accept transfers.
/transfer arguments
What each argument expects, with the limits the game enforces.
| Argument | Expects | Limits |
|---|---|---|
<hostname> | Text | — |
<port> | Whole number | 1 … 65,535 |
<players> | Target selector or player name (@s, @p, @a, @e, @r) | players only · one or more |
Sends players to another server. It has 3 syntax forms and can be run by: Op level 3.
See Also
Help us maintain accuracy! If you notice incorrect stats, missing data, or any issues, your feedback directly improves the quality of our data for the entire community.
/transfer FAQ (Java 26.3)
What does /transfer do in Minecraft?
Sends players to another server.
What is the syntax of /transfer?
The basic form is /transfer <hostname>. All forms are listed above.
What is an example of /transfer?
/transfer play.example.net 25565 @a — Sends every player to another server at that address and port; the target must accept transfers.
Do you need cheats for /transfer?
Yes: Op level 3. In singleplayer turn on Allow Cheats (or open to LAN with cheats).