Stellaris war Console Command

Documentation and detailed help with working examples.

war Command


This command initiates a war on the second specified empire with the specified war goal.

war [Declarer Empire ID] [Subject Empire ID] [War Goal ID]


Declarer Empire ID
The ID of the empire you wish to declare war.
Subject Empire ID
The ID of the empire you wish to have war declared upon.
The ID of the war goal you wish to have for this war.


Here are examples of how to use war.

war 9 0 wg_assert_hegemony
This command would make the empire with ID 9 declare war on the empire with ID 0 with the war goal 'Assert Hegemony'. Your starting empire ID is always 0, so this would cause empire with ID 9 to declare war on your empire.
Looking for Stellaris console commands?

Search our complete list!

Quick Overview

The war command in Stellaris is used to simulate a war declaration between two countries involved in the game.

The first mentioned country declares war on the second and sets a specific wargoal, which represents the objective they hope to achieve with the war.

This could be territory control, imposing ideology, volitional subjugation and so on.

This console command allows users to instigate war scenarios for testing or modification purposes.

In-Depth Description

The war command in Stellaris is used to initiate a conflict between two in-game countries or empires. This command requires you to specify two empire IDs and the war goal as arguments.

The war command is useful when you would like to change the balance of power in the game, particularly if a certain empire is growing too powerful, or you want to impose a specific ideology on another empire.

It provides a way to directly influence the game's interstellar politics without having to wait for in-game events to occur.

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?