Contents
Search

Console Command & Cheat: run []

EU4 Console Command
Command run []
Description Runs effects in specified file. Example: run my_script.txt. By default looks in \Documents\Paradox Interactive\Europa Universalis IV\ for files. For mods, the game will look in \Documents\Paradox Interactive\Europa Universalis IV\mod\name_of_mod\.
Command Category
Commonly Used Commands
DLC Required
How to Use
Commands in EU4 Most commands have three parameters. Some commands have fewer or none. When multiple parameters are required, enter each parameter, separated by a space. The common parameters are the country tag, province ID (please see our list of country and province IDs), and value (the amount that you want when you enter the command).
How to Open the Command Console To open the command console, press Shift 2, or Alt 2 1, or Shift 3, or ~ (this is usually located below the Esc ui tiny basic label and to the left of the 1 key. Most cheat codes can be turned off by repeating the command in the command console.
update_loc [localization tag]
Description
Updates the localization tag file
DLC Required
None
Read More
add_idea_group [(Idea group key)] [(Country tag) OPTIONAL]
Description
Adds the specified idea group
DLC Required
None
Read More
declare_war [(attacker tag)] [(defender tag)] [(call willing allies)]
Description
Declares war between two nations (no CB)
DLC Required
None
Read More
helplog
Description
Print out all console commands to game.log file.
DLC Required
None
Read More
reset_powerspend []
Description
Resets global powerspend statistics
DLC Required
None
Read More
window(wnd) [Arguments: open/close] [window gui name]
Description
Opens or closes the specified window
DLC Required
None
Read More
nolimit_missions
Description
Removes the limit of number of major missions to choose from
DLC Required
None
Read More
surrender
Description
Surrender
DLC Required
None
Read More
reload_treemap
Description
Reloads the treemap
DLC Required
None
Read More
leak
Description
Leaks memory
DLC Required
None
Read More
SetRandomCount
Description
Sets the randomcount to 0 or arg
DLC Required
None
Read More
add_faction [(factionname)]
Description
Adds a Faction to your country
DLC Required
None
Read More
exhaust [(Amount)] [(Country tag) OPTIONAL]
Description
Alter your war exhaustion
DLC Required
None
Read More
reload_straits
Description
Update strait vertex buffers
DLC Required
None
Read More
clr_prov_flag [(Flag)] [(Province)]
Description
Clears a flag from a province
DLC Required
None
Read More
russian [(Amount)]
Description
Grants full government ability points or specified amount. 
Works for Russian government types added in Third Rome (e.g. Principality/Tsardom) as well as governments added/updated in Cradle of Civilization (e.g. Mamluk)
DLC Required
Third Rome Cradle of Civilization
Read More
score
Description
Score data dumped to game.log
DLC Required
None
Read More
add_unrest [(CID Type)] [(CID Index)] [(Unrest)]
Description
Adds unrest to a faction
DLC Required
None
Read More
remove_trait [(personality tag)]
Description
Removes a ruler personality.
DLC Required
Rights of Man
Read More
add_cb [(casus belli tag)] [(target country tag)] [(Actor Country tag) OPTIONAL]
Description
Add casus belli against target country. See Casus Belli IDs.
DLC Required
None
Read More