Try these cheeky codes.

Paradox Interactive

Diplomacy and exploration are a huge part of the Stellaris experience.

Paradox Interactive's real-time strategy sci-fi opus follows the basic tenets of the 4X structure: expand, explore, exploit and exterminate.

However, your first few hours spent nursing your civilisation will focus more on politics and resource-gathering than on all-out skirmishes.

Stellaris Console Commands list and guide

ai – Toggles enemy AI on or off

cash amount – Adds 5,000 cash by default or specified amount

contact – Toggles contact with other empires on or off

control planet ID – Instantly occupy planet if not at war with colony

damage amount – Selected ship takes specified damage amount

democratic election – Start an election

deposits – Toggle deposit visibility on or off

engineering amount - Adds 5,000 engineering by default or specified amount

fast forward value – Jumps forward in-game days by specified value

finish research – Instantly finishes any active research

ftl – enables/disables unlimited FTL travel

human ai – Toggles AI for human empires on and off

influence amount - Adds 5,000 influence by default or specified amount

instant build – Instantly finish building active upgrades, ships, stations and buildings

invincible – God mode

kill country country ID – Instantly kills entire country

minerals amount - Adds 5,000 minerals by default or specified amount

peace on player country ID – Selected country offers peace to player

physics amount – Adds 5,000 physics by default or specified amount

planet happiness amount – Selected planet given happiness buff

populate – Selected planet reaches maximum population

research technologies – Instantly finishes any active technology research

resource resource type amount – Adds 5000 to specified resource by default or specified amount

skills amount – Adds specified amount of skill to all player leaders

society amount – Adds 5000 to society by default or specified amount

survey – Surveys all planets

war on player country ID – Selected country declares war on player

The 'planet resource' code allows players to gather materials quickly for a specific location.

Stellaris Planet Resource Console Commands

The 'planet resource' command fills random tiles on a selected planet with a definable resource.

The text above is a summary, you can read full article here.