Page 1 of 1

Console commands for instant traveling from planet to another

Posted: Sun Mar 22, 2026 1:47 pm
by CrazyDron
Good day. How can I put character to any planet (or platform) by console command? Not matter with cheat mode or not.

Thanks.

Re: Console commands for instant traveling from planet to another

Posted: Sun Mar 22, 2026 3:09 pm
by quyxkh

Code: Select all

/c game.player.teleport({0,0},'gleba')
To check the docs I opened doc-html/index.html in my install, picked runtime, searched for "teleport". The planet has to already exist in the game, which it hasn't yet at the start.

There's also lua-api.factorio.com that has the docs for all the game versions.

Re: Console commands for instant traveling from planet to another

Posted: Sun Mar 22, 2026 4:10 pm
by CrazyDron
quyxkh, thanks.

I've seen command 'teleport' in wiki, but there is no parameters after X, Y, so I cannot find other way to do it.

Re: Console commands for instant traveling from planet to another

Posted: Sun Mar 22, 2026 4:12 pm
by Silari

Code: Select all

/cheat <planet or platform name>

works to teleport you to any planet or platform, IIRC. Doesn't have to exist already.