How can I move the position of a player who is not connected?

Place to get help with not working mods / modding interface.
Xeon257
Inserter
Inserter
Posts: 39
Joined: Wed Sep 24, 2025 6:25 pm
Contact:

How can I move the position of a player who is not connected?

Post by Xeon257 »

It seems that players who are not connected don’t have a character, so I’m not sure how to control their position and surface for when they later connect.
I am not able to write in English myself, so I am using ChatGPT for help. Please excuse any awkward phrasing.
Rseding91
Factorio Staff
Factorio Staff
Posts: 16232
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: How can I move the position of a player who is not connected?

Post by Rseding91 »

You can teleport the player directly through thr LuaPlayer object.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Modding help”