EU4 run Console Command

Documentation and detailed help with working examples.
run Command
DeveloperDLC: None

This command runs effects in the specified file.

run [Filename]

Parameters

Filename

The name of the file, placed in the game's Documents folder (Documents/Paradox Interactive/Europa Universalis IV), that you wish to run all commands within (with extension). For example, example.txt.

Examples

Here are examples of how to use run.

run my_script.txt

This command will run the file my_script.txt.

Looking for EU4 console commands?

Search our complete list!

Quick Overview

The run command in Europa Universalis IV is used to execute a series of pre-defined commands in a specific file.

The game will run any effects or commands that are included in the file you specify.

This is particularly useful for mods, as the game can execute a series of commands from a file within the mod's directory.

For example, if you use the command run my_script.txt, the game will read and execute all the commands that are contained in the my_script.txt file.

In-Depth Description

The run command in Europa Universalis IV is a console command used to run scripts in a particular file.

This is helpful in automating certain actions, especially repetitive ones, or enacting a large number of commands all at once.

This is particularly useful in customizing your game and creating unique scenarios or challenges.

When you use the run command, the game looks for the specified file in the default game folder (located in the Documents folder on your computer: \Documents\Paradox Interactive\Europa Universalis IV\).

However, if you're using mods and want to run a script related to a mod, the game will search for the file in the mod's specific folder within the Europa Universalis IV folder: \Documents\Paradox Interactive\Europa Universalis IV\mod\name_of_mod\.

To use the run command, you would type it into the console in the format 'run filename.txt.' For instance, run my_script.txt would tell the game to start running the script located in my_script.txt.

This command should be used when you want the game to enact a series of actions or commands encapsulated in a script. This can be particularly helpful if you want to enact a large-scale change to the world, implement a particular scenario, or automate a string of commands you find yourself using often.

How to Open the Command Console

In EU4, 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 .