Stellaris planet_class Console Command

Documentation and detailed help with working examples.

planet_class Command

Console command

This command changes the planet class of the selected celestial body to the specified planet_class_id.

planet_class [Planet Class ID]


The name of the class you wish to change your selected planet's to.


Here are examples of how to use planet_class.

planet_class pc_alpine
This command will change the class of the planet you have current selected to 'Alpine.'
planet_class pc_ocean
This command will change the class of the planet you have current selected to 'Ocean.'
Looking for Stellaris console commands?

Search our complete list!

Quick Overview

The planet_class command in Stellaris is used to change the class, or type, of a selected planet or celestial body.

The type of celestial body is determined by the [planet_class_id] that you provide as a parameter in the command.

This can range from habitable planet types like continental, oceanic, or arctic, to uninhabitable types like gas giants or asteroids.

In-Depth Description

The planet_class command in Stellaris allows you to change the class of a selected celestial body to the specified class.

To use this command, you need to specify the ID of the celestial body class you want to change the selected celestial body to.

With this command you could, for example, change a toxic planet to a more habitable one like a continental or ocean planet, allowing for colonization.

The different planet classes in Stellaris have different habitability potentials for different species, so you can use this command to accommodate your species' habitability needs.

Aside from changing planets for colonization desires, this command can also be used creatively. For instance, you could change a planet to a Hive World, Gaia World or Machine World for roleplaying or narrative reasons.

How to Open the Command Console

In Stellaris, cheats are executed from the command console, a text box that you type commands into.

To open the command console press the ~(tilde) key, which is typically located under ESC (escape).

If your keyboard does not have that key, or pressing ~ does not work, try the following keys:

  • ~
  • SHIFT + 2
  • SHIFT + 3
  • ALT + 2 + 1

Type your command into the console, and then press ENTER .

Was this helpful?