Stellaris test_achievement Console Command

Documentation and detailed help with working examples.

test_achievement Command

Developer

This command tests achievement conditions to see if they've been met without actually unlocking the achievement.

test_achievement [Achievement ID]

Parameters

Achievement ID
The ID of the achievement you wish to test.

Examples

Here are examples of how to use test_achievement.

test_achievement achievement_colonize
This command tests the 'Colonize a Planet' achievement.
Looking for Stellaris console commands?

Search our complete list!

Quick Overview

The test_achievement command in Stellaris is a debugging command.

It is used to test the trigger of a specific achievement in the game.

This means it simulates the conditions for earning an achievement to see if the game will correctly award it.

In-Depth Description

The test_achievement command in Stellaris is used primarily for debugging purposes by game developers.

It lets you test a specific achievement trigger to see if the correct conditions prompt the achievement to be awarded, ensuring its functionality.

This command will trigger a specific achievement that you specify by its internal ID, without fulfilling the normal requirements.

The command does not directly affect gameplay, but it's quite useful for game developers or mod creators who are testing new achievements or troubleshooting existing ones.

The game has a lot of moving parts and conditions to monitor; something as small as a typo or the wrong condition set in an achievement can prevent it from triggering.

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?