EU4Commands.com

ai_minister Console Command

Documentation and examples for the ai_minister command in Europa Universalis IV.

ai_minister

Debug

Toggles a specific AI minister

ParameterDescription
0=Army, 1=Diplomacy, 2=TradeTextrequired

Command builder

Fill in the parameters to build a ready-to-paste ai_minister command.

0=Army, 1=Diplomacy, 2=Trade

Overview

Toggles one of the AI's internal "ministers" — the subsystems that handle army, diplomacy, or trade decisions — selected by the type argument. A debugging tool for isolating one part of the AI.

Frequently asked questions

How do you use the ai_minister command in EU4?

Open the console with the grave (`) key while in-game, type ai_minister followed by its parameters, then press Enter. The console can't be opened in Ironman games.

What does the ai_minister command do?

Toggles a specific AI minister.

What are the parameters for the ai_minister command?

The syntax is ai_minister [0=army, 1=diplomacy, 2=trade]. It takes one argument: 0=army, 1=diplomacy, 2=trade.

Does the ai_minister command require any DLC?

No. ai_minister is part of the base game and works without any DLC.

Can you use ai_minister in Ironman mode?

No. The console is disabled in Ironman games, so ai_minister can't be entered. Because achievements are only earned in Ironman, console commands like ai_minister can't be used to unlock them.