This command can be used to swap the characters of players.
The syntax for the swap-players command is as follows:
/swap-players [player name] [player name] Admin Only
This command has the following arguments:
|Player Name||If you are not specifying a second player name, this is the name of the player that your character will be swapped with. If you specify a second player name, this is the name of the player that will have their character swapped with the character of the player with the second specified name.|
|Player Name||Only required if: you are not wanting to swap your own character with the character of the first specified player. This is the name of the player you wish to swap the character of (swaps with the player you first specified).|
Search our database of 39 Factorio commands...Okay!
Find below working examples of the swap-players command.
This command would swap your character with that of the user with the name 'john23' - meaning you would get john23's character, and john23 would get yours.
/swap-players john23 mark22
This command would swap the character of 'john23' with that of the user with the name 'mark22' - meaning mark22 would get john23's character, and john23 would get mark22's character.