Console commands
This page lists the codes which may be input into the Console Window, a special debugging window which may be accessed on non-ironman games by pressing ⇧Shift+2, Alt+2+1, ⇧Shift+3,§, ~, ^, °, ², or ` (key varies based on keyboard layout). Press the up or down arrow keys to traverse through previously executed commands. Press ⇆Tab after entering the beginning of a command to autocomplete it or display which commands start with the entered sequence. Many codes can be turned off by repeating the command, but sometimes reloading the save or exiting the game is necessary. Adding a | and a filename to the end of a console command, writes the output of the command to the specified file in the game installation folder.
Commonly used[edit | edit source]
![]() |
Please help with verifying or updating this section. It was last verified for version 1.30. |
Command | Effect |
---|---|
cash (Insert Number) [<Country tag> OPTIONAL] | Extra Money (if not specified, gives 5000) |
manpower (Insert Number) [<Country tag> OPTIONAL] | Extra manpower (in thousands) |
sailors (Insert Number) [<Country tag> OPTIONAL] | Extra sailors |
prestige [<AMOUNT> OPTIONAL] [<Country tag> OPTIONAL] | Adds prestige. Gives 5 prestige if no amount is given. |
legitimacy [<AMOUNT>] [<Country tag> OPTIONAL] | Sets the legitimacy of the current ruler |
adm [<AMOUNT> OPTIONAL] [<Country tag> OPTIONAL] | Get administrative power points (if not specified, gives 999) |
dip [<AMOUNT> OPTIONAL] [<Country tag> OPTIONAL] | Get diplomatic power points (if not specified, gives 999) |
mil [<AMOUNT> OPTIONAL] [<Country tag> OPTIONAL] | Get military power points (if not specified, gives 999) |
powerpoints [<AMOUNT> OPTIONAL] [<Country tag> OPTIONAL] | Get power in all powers. Maximizes monarch points if no number specified. |
yesman | Toggle AI diplomatic responses (on: always accept; off: normal response) |
fow | Toggles fog of war on/off |
ti | Toggles terra incognita on/off |
debug_mode | Displays province ID, country tag, and border distance when mousing over provinces. |
splendor | ability can be gained. |
assimilate [<Province>] [<Tag> OPTIONAL] | Change ownership, core, set culture and religion. |
List of commands[edit | edit source]
![]() |
Please help with verifying or updating this section. It was last verified for version 1.30. |
DLC | Command | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
absolutism [<Amount>] [<Target Country tag> OPTIONAL] | Adds Absolutism to the player | |||||||||||||||||||||||||
![]() |
add_backer [<prov id>] | The province becomes a backer of the current issue in the parliament. | ||||||||||||||||||||||||
add_baseunrest [<Province ID>] [<Base Unrest>] | Adds base unrest to a province | |||||||||||||||||||||||||
add_cardinal | Adds 1 new cardinal to a Catholic nation. | |||||||||||||||||||||||||
add_cb [<casus belli tag>] [<target country tag>] [<Actor Country tag> OPTIONAL] | Add casus belli against target country | |||||||||||||||||||||||||
add_claim [<Province ID>] [<Country tag> OPTIONAL] | Add claim | |||||||||||||||||||||||||
add_colonist [<Country tag>] | Adds a colonist to a country. | |||||||||||||||||||||||||
![]() |
add_consort [<Target Country Tag> OPTIONAL] [<Origin Country Tag> OPTIONAL] | Adds a consort from a tag | ||||||||||||||||||||||||
add_core [<Province ID>] [<Country tag> OPTIONAL] | Add core | |||||||||||||||||||||||||
add_devastation [<Province ID>] [<Devastation>] | Adds devastation to a province | |||||||||||||||||||||||||
add_diplo [<Country tag> OPTIONAL] | Adds diplomatic enroute | |||||||||||||||||||||||||
add_faction [<factionname>] | Adds a Faction to your country
| |||||||||||||||||||||||||
add_heir [<Target Country Tag> OPTIONAL] | Adds an heir (The current heir is immediately killed.) | |||||||||||||||||||||||||
add_idea_group [<Idea group key>] [<Country tag> OPTIONAL] | Adds the specified idea group | |||||||||||||||||||||||||
add_interest [<Country tag>] | Add specified country tag to your interest | |||||||||||||||||||||||||
![]() |
add_issue [<issue tag>] | Adds issue to a parliament. | ||||||||||||||||||||||||
add_liberty_desire [<Amount>] [<Target Country tag> OPTIONAL] | Add liberty desire to the player | |||||||||||||||||||||||||
add_local_autonomy [<Province ID>] [<Amount>] | Adds local autonomy to a province | |||||||||||||||||||||||||
add_loyalty [<Target Estate>] [<Amount>] | Adds loyalty to target estate The estates have the following identifier:
| |||||||||||||||||||||||||
add_missionary [<Country tag>] | Sets missionary count to 1 | |||||||||||||||||||||||||
add_natives [<ProvinceID>] [<Amount>] | Add natives to given province (100× [<Amount>]) | |||||||||||||||||||||||||
add_opinion [<Actor Country tag>] [<Target Country tag> OPTIONAL] | Add opinion to/from tag | |||||||||||||||||||||||||
add_pa [<Country tag>] | Add patriarch authority to tag | |||||||||||||||||||||||||
add_permanent_claim [<Province ID>] [<Country tag> OPTIONAL] | Add permanent claim | |||||||||||||||||||||||||
add_pi [<Country tag>] | Add papal influence to tag | |||||||||||||||||||||||||
add_prosperity [<Province ID>] [<Prosperity>] | Adds prosperity to a province's state. | |||||||||||||||||||||||||
add_republican_tradition [<AMOUNT> OPTIONAL] [<Country tag> OPTIONAL] | Get republican tradition | |||||||||||||||||||||||||
![]() |
add_to_curia_treasury [<money>] | Add money to the Curia Treasury | ||||||||||||||||||||||||
![]() |
add_trait [<personality tag>, <heir> OPTIONAL, <consort> OPTIONAL] | Add ruler personality | ||||||||||||||||||||||||
add_unrest [<CID Type>] [<CID Index>] [<Unrest>] | Adds unrest to a faction | |||||||||||||||||||||||||
adm [<AMOUNT> OPTIONAL] [<Country tag> OPTIONAL] | Get administrative power (default value: 999) | |||||||||||||||||||||||||
admiral [<fire>] [<shock>] [<maneuver>] [<siege>] [<Country tag> OPTIONAL] | Create an admiral | |||||||||||||||||||||||||
![]() |
age [X] | Sets the age of the game: 0 is Age of Discovery,1 is Age of Reformation,2 is Age of Absolutism and 3 is Age of Revolution. | ||||||||||||||||||||||||
![]() |
age_consort [<age> <Country tag> OPTIONAL] | Set consorts age | ||||||||||||||||||||||||
age_heir [<age> <Country tag> OPTIONAL] | Set heirs age | |||||||||||||||||||||||||
age_ruler [<age> <Country tag> OPTIONAL] | Set rulers age | |||||||||||||||||||||||||
ai(ai) [<Target Country Tag>] | Enables/Disables AI for all nations or a specific tag | |||||||||||||||||||||||||
ai_army_tick [<Country tag> OPTIONAL] [<File name for logging> OPTIONAL] | Makes ai reevaluate all army movements | |||||||||||||||||||||||||
ai_budget [<tag> OPTIONAL] | prints AI budgeting information. Note: the commands always prints the information for the current country. The optional tag argument doesn't work | |||||||||||||||||||||||||
ai_minister [<0 = army, 1 = diplomacy, 2 = trade>] | Enables/Disables specific AI ministers | |||||||||||||||||||||||||
ai_plan_regions [<Country tag> OPTIONAL] | Makes ai reevaluate all region assignments | |||||||||||||||||||||||||
aiinvalid | Print invalid AI command counts to ai.log | |||||||||||||||||||||||||
aiview | Toggles additional AI info | |||||||||||||||||||||||||
annex [<Target Country Tag>] [<Actor Country tag> OPTIONAL] | Annexes the specified tag without adding cores | |||||||||||||||||||||||||
![]() |
army_drill [<AMOUNT [0.0, 100.0]>] [<Country tag> OPTIONAL] | Sets drill for all your subunits | ||||||||||||||||||||||||
![]() |
army_professionalism [<Amount>] [<Target Country tag> OPTIONAL] | Sets army professionalism for the target country (default value: 100) | ||||||||||||||||||||||||
army_tradition [<Amount>] [<Target Country tag> OPTIONAL] | Adds army tradition to the target country (default value: 50) | |||||||||||||||||||||||||
assert [] | Asserts trigger (otherwise causes test failure) | |||||||||||||||||||||||||
assimilate [<Province>] [<Tag> OPTIONAL] | Change ownership, core, set culture and religion | |||||||||||||||||||||||||
![]() |
authority [<AMOUNT>] [<Country tag> OPTIONAL] | Add to a country's authority (Inti religion) | ||||||||||||||||||||||||
autosave | Triggers an autosave. | |||||||||||||||||||||||||
balance | Balance data dumped to game.log, with regions (development,number of provinces) and countries (tax, manpower, development, number of forts). | |||||||||||||||||||||||||
bearhaslanded [<Province ID> OPTIONAL] | An unwise command to use Spawns Jan Mayen. | |||||||||||||||||||||||||
bird_mana [<AMOUNT> OPTIONAL] [<Country tag> OPTIONAL] | Get diplomatic power (default value: 999) | |||||||||||||||||||||||||
![]() |
canals | Debug canals on map | ||||||||||||||||||||||||
cash [<Amount> OPTIONAL] [<Target Country tag> OPTIONAL] | Adds ducats to the treasury. Default is 5000 ducats. | |||||||||||||||||||||||||
center_of_trade(cot) [CoT Level] [<Province ID>] | Create or upgrade/downgrade a center of trade. | |||||||||||||||||||||||||
change_culture_court [<ruler/heir/consort/admadv/dipadv/miladv>] [<Culture>] | Changes the culture of a court member. | |||||||||||||||||||||||||
change_religion [<province ID>/<Target Country tag>] [<religion>] | Change religion of a province or country. If no province id or tag is specified, the state religion of the current country is changed. If only a province id is specified the religion of the province is changed to the state religion of the current country The religions have the following identifier:
Additional religions in converted CK2 games:
| |||||||||||||||||||||||||
change_religion_court [<ruler/heir/consort/admadv/dipadv/miladv>] [<Religion>] | Changes the religion of a court member. | |||||||||||||||||||||||||
check_save | Check save and load persistence | |||||||||||||||||||||||||
![]() ![]() ![]() |
church_power [<Amount>] [<Target Country tag> OPTIONAL] | Adds church power to the player (Protestant, Anglican, Hussite and Jewish religion) | ||||||||||||||||||||||||
clear | Clears the console | |||||||||||||||||||||||||
clearae [<Against Country Tag>, <By Country Tag (empty for all)>] | Clears Aggressive Expansion | |||||||||||||||||||||||||
clearreforms [Target tag <optional>] | Removes all government reforms | |||||||||||||||||||||||||
![]() |
clr_consort_flag [<Tag>] [<Flag>] | Clears a flag from a consort | ||||||||||||||||||||||||
clr_flag [<Flag>] | Clears a global flag | |||||||||||||||||||||||||
clr_prov_flag [<Flag>] [<Province>] | Clears a flag from a province | |||||||||||||||||||||||||
collision(debug_collision) | Toggles debug display of normals/bounding boxes/collision | |||||||||||||||||||||||||
colonize [<province ID/colonial region>] | Colonizes and cores an unsettled province (and gets some prestige). The province retains its original culture and religion. Note: Works also for settled provinces and keeps any previous owner's core. Also works for entire colonial regions at once, as listed in 00_colonial_regions.txt:
| |||||||||||||||||||||||||
combat_dice [number] | Fixes combat dice to a number you specify. -1 gives random dicerolls like normal. | |||||||||||||||||||||||||
combatsound | How often does the combat view give a random sound? 0-50 | |||||||||||||||||||||||||
control(controll) [<Province ID>] [<Country tag> OPTIONAL] | Change controller | |||||||||||||||||||||||||
corrupt [<AMOUNT>] [<Country tag> OPTIONAL] | Sets the corruption of the country to the given amount. | |||||||||||||||||||||||||
country_modifier [<country tag>] [<Modifier type>] | Show country modifier values. | |||||||||||||||||||||||||
CrashReporter.DeleteCrashData [<days>] | Delete local crash dumps older than X days. | |||||||||||||||||||||||||
CrashReporter.SimulateCrash | Simulates a crash (resulting in the game exiting). | |||||||||||||||||||||||||
CrashReporter.UploadCrash | Upload the latest crash dump. | |||||||||||||||||||||||||
create_march [<Target Country Tag>] [<Actor Country tag> OPTIONAL] | The specified tag becomes a march (of the actor country). | |||||||||||||||||||||||||
ct | Puts timer info in clipboard | |||||||||||||||||||||||||
culture [<Province ID>] | Changes culture on a province to your primary culture | |||||||||||||||||||||||||
cv | Prints the game version, and copies to clipboard. | |||||||||||||||||||||||||
date [date in format yyyy.mm.dd] | Changes current date | |||||||||||||||||||||||||
debug_achievements | Enables popups for achievements to debug them. When this command is used, it activates the ingame achievement list and makes its icon look like an ironman game. The list will show all achievements for which the starting conditions were fulfilled at the moment when the command was used(this differs from the behavior in an ironman game which only checks the conditions at the start of the campaign). | |||||||||||||||||||||||||
debug_achievements_clear | Clear all achievements and user stats. Warning: Do not use this command, because it removes all the earned achievements from steam account (and other stores) | |||||||||||||||||||||||||
debug_budgetall [<tag>] | Will log income and expenditure for all countries. This will result in large files and a slower game! | |||||||||||||||||||||||||
debug_budgettag [<tag>] | Will log income and expenditure for a tag | |||||||||||||||||||||||||
debug_crownland [<tag>] | Will log the change in crownland for a tag | |||||||||||||||||||||||||
debug_info | Toggles Debug info | |||||||||||||||||||||||||
debug_mode | Makes some debug features available. Displays province ID, country tag, and border distance when mousing over provinces. Also shows event ids and AI weight in the tooltip for event options. | |||||||||||||||||||||||||
debug_nogui | Toggles GUI on/off | |||||||||||||||||||||||||
debug_reload_areas | Reload map areas | |||||||||||||||||||||||||
debug_reload_regions | Reload map regions | |||||||||||||||||||||||||
declare_war [<attacker tag>] [<defender tag>] [<call willing allies>] | Declares war between two nations (no CB) | |||||||||||||||||||||||||
delete_wars [<Country tag> OPTIONAL] | Delete wars without removing truces | |||||||||||||||||||||||||
devotion [<AMOUNT>] [<Country tag> OPTIONAL] | Set the devotion of a theocracy | |||||||||||||||||||||||||
die(kill) [<Target Country Tag> OPTIONAL] | The ruler (of the specified country) is killed. | |||||||||||||||||||||||||
dip [<AMOUNT> OPTIONAL] [<Country tag> OPTIONAL] | Get diplomatic power (default value: 999) | |||||||||||||||||||||||||
diplocount | Prints out global diploaction statistics to game.log | |||||||||||||||||||||||||
diplomacy_info | Print summary information about currently active diplomatic relations. to console | |||||||||||||||||||||||||
disaster [disaster_key] | Adds 100 progress to a disaster | |||||||||||||||||||||||||
discover [<Province ID>] or [<Target Country Tag>] [<Actor Country tag> OPTIONAL] | Discover province or capital of target tag | |||||||||||||||||||||||||
![]() |
doom [<AMOUNT>] [<Country tag> OPTIONAL] | Add to a country's doom (Nahuatl religion) | ||||||||||||||||||||||||
echo [Echo] | Echoes the arguments in the console (also useful for commenting script files) | |||||||||||||||||||||||||
economy [] | Prints out global economy statistics to game.log | |||||||||||||||||||||||||
embrace [<Province ID>] [<institution name> optional] | Embraces an institutions in a province. If left blank, all institutions will be embraced. The institution has the following identifier:
| |||||||||||||||||||||||||
enable_all_commands [] | Seems to have no effect in the release version of the game. It just prints Not Successful | |||||||||||||||||||||||||
enable_game_controller | Enables/disables support for game controller | |||||||||||||||||||||||||
epicfail [<Target Country Tag> OPTIONAL] | Makes all spies of target country fail | |||||||||||||||||||||||||
estate_agenda [<name>] | Start a estate agenda | |||||||||||||||||||||||||
event [event id] [<Target Country Tag> OPTIONAL] [<Option id> OPTIONAL] | Executes an event | |||||||||||||||||||||||||
exhaust [<Amount>] [<Country tag> OPTIONAL] | Alter your war exhaustion | |||||||||||||||||||||||||
fast_colonize | Toggles the fast colonize cheat.(affects AI as well) | |||||||||||||||||||||||||
fast_diplo | Ignore the date check for enroute diplomats | |||||||||||||||||||||||||
![]() |
favors [<Target Country tag>] [<Amount>] | Adds favors with target country | ||||||||||||||||||||||||
![]() |
fervor [<Amount>] [<Target Country tag> OPTIONAL] | Adds fervor to the player (Reformed religion) | ||||||||||||||||||||||||
![]() |
federation_cohesion [<Amount>] | Will change federation cohesion by given value (Native Council federations) | ||||||||||||||||||||||||
findcommands [<Search string>] | Finds console commands | |||||||||||||||||||||||||
flagship_galley [<Ship Name>] [<Ability 1>] [<Ability 2>] [<Ability 3>] | Creates a galley as flagship. Abilities are:
| |||||||||||||||||||||||||
flagship_heavy [<Ship Name>] [<Ability 1>] [<Ability 2>] [<Ability 3>] | Creates a heavy ship as flagship. See flagship_galley for a list of abilities. | |||||||||||||||||||||||||
flagship_light [<Ship Name>] [<Ability 1>] [<Ability 2>] [<Ability 3>] | Creates a light ship as flagship. See flagship_galley for a list of abilities. | |||||||||||||||||||||||||
form_union [<Country tag>] [<Country tag> OPTIONAL] | Forms Union with target | |||||||||||||||||||||||||
fow (debug_fow) [<Province ID> OPTIONAL] | Turns off fog of war in a province or in general | |||||||||||||||||||||||||
frenzy | Force enable Great Power frenzy!!! | |||||||||||||||||||||||||
frenzy_off | Force disable Great Power frenzy!!! | |||||||||||||||||||||||||
fullscreen | Toggles fullscreen | |||||||||||||||||||||||||
gamespeed(speed) [(0-5)] | Set the current game speed, pausing the game at speed 0. | |||||||||||||||||||||||||
![]() |
great_project [<great project tag>] | Create or destroy a great project | ||||||||||||||||||||||||
god | godmode on/off. One effect is that a battle is automatically won after the first day. | |||||||||||||||||||||||||
![]() |
golden_age [<Country tag>] | Starts a golden age in that country. | ||||||||||||||||||||||||
![]() ![]() |
government_power(russian) [<Amount> OPTIONAL] | 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) | ||||||||||||||||||||||||
![]() |
harmonization [<AMOUNT [0, 100]>] [<Country tag> OPTIONAL] | Sets to country's Harmonization progress (Confucian religion) | ||||||||||||||||||||||||
![]() |
harmony [<AMOUNT>] [<Country tag> OPTIONAL] | Add to a country's Harmony (Confucian religion) | ||||||||||||||||||||||||
heir_history [] | Prints out heir history | |||||||||||||||||||||||||
help [command name] | Print out all console commands or a specific command description. | |||||||||||||||||||||||||
helphelp | Displays “No help for you!” in the command box | |||||||||||||||||||||||||
helplog | Print out all console commands to game.log file. | |||||||||||||||||||||||||
highlight_islands [<threshold>] | Highlights provinces that would trigger the Province is on an island condition if SIZE_LIMIT_FOR_ISLANDS in defines.lua would be set to the specified threshold | |||||||||||||||||||||||||
![]() |
horde_unity [<AMOUNT>] [<Country tag> OPTIONAL] | Set the unity of a horde | ||||||||||||||||||||||||
ideadump | Dump all countries that have generic national ideas to game.log | |||||||||||||||||||||||||
imperial_authority [<Amount>] [<Country tag> OPTIONAL] | Increases the imperial authority of the emperor. | |||||||||||||||||||||||||
![]() |
imperial_incident [<name>] | Start an imperial incident | ||||||||||||||||||||||||
![]() |
incident [<IncidentTag>, <CountryTag> OPTIONAL] | Trigger an incident for a country. (Shinto religion) | ||||||||||||||||||||||||
infinite_combat | Combat doesn't cause damage anymore. | |||||||||||||||||||||||||
inflation [<Amount>] [<Country tag> OPTIONAL] | Changes inflation of the country | |||||||||||||||||||||||||
![]() |
innovativeness [<Amount> OPTIONAL] [<Country tag> OPTIONAL] | Add Innovativeness (Default is 100) | ||||||||||||||||||||||||
![]() |
insult [Sender Country tag] [Receiver Country tag] [Insult Index/Key] | Sends a scornful insult from sender to receiver. | ||||||||||||||||||||||||
integrate [<Target Country Tag>] [<Actor Country tag> OPTIONAL] | Integrates the specified tag into actor's country (adds cores) | |||||||||||||||||||||||||
invasion_target [<Province ID>] | Force sets AI invasion target to province | |||||||||||||||||||||||||
![]() |
invest [Investment Key] [Province ID] | Toggles a Trade Company Investment defined by investment key in Trade Company defined by Province ID | ||||||||||||||||||||||||
![]() |
isolationism [level] | Set your isolation level (Shinto religion) | ||||||||||||||||||||||||
![]() |
karma [<Amount>] [<Target Country tag> OPTIONAL] | Adds karma to the player (Buddhist religions) | ||||||||||||||||||||||||
kill_advisors [<Country tag>] | Kills all advisors in the court and from the pool | |||||||||||||||||||||||||
kill_cardinal [<Countrytag> OPTIONAL] | Kills first cardinal in the list | |||||||||||||||||||||||||
![]() |
kill_consort [<Target Country Tag> OPTIONAL] | Kills your consort | ||||||||||||||||||||||||
kill_heir [<Target Country Tag> OPTIONAL] | Kills the heir of a tag | |||||||||||||||||||||||||
kill_leader | Kill a random leader with given death cause | |||||||||||||||||||||||||
landing_page [<dlc_key>] | Show Red Queen dlc landing page. The DLC keys can be found in the file name section of the DLC page | |||||||||||||||||||||||||
leader [<fire>] [<shock>] [<maneuver>] [<siege>] [<Country tag> OPTIONAL] | Creates a general with the given values. | |||||||||||||||||||||||||
leak | Leaks memory | |||||||||||||||||||||||||
leak_gpu [Chunk size (bytes)] [Number of Chunks] | Leaks GPU memory | |||||||||||||||||||||||||
legitimacy [<AMOUNT>] [<Country tag> OPTIONAL] | Set the legitimacy of the ruler | |||||||||||||||||||||||||
low_memory | Simulates a low memory alert and tries to reduce memory usage | |||||||||||||||||||||||||
lucky [<Country tag> OPTIONAL] | Toggles lucky nation status. | |||||||||||||||||||||||||
make_subject [<Tag>] [<Overlord tag> OPTIONAL] [<Subject type>] | Make country a subject | |||||||||||||||||||||||||
![]() |
mandate [<Amount>] | Changes mandate of the Emperor of China (to maximum without value). | ||||||||||||||||||||||||
manpower [<Amount>] [<Target Country tag> OPTIONAL] | Adds manpower to pool (1000× [<Amount>]) (default 50) | |||||||||||||||||||||||||
map_random [<seed=-1>] [<restore>] [<nosmooth>] [<nosmoothcoasts>] [<topology>] [<terrain>] [<colormap>] [<minimap>] [<rivers>] [<trees>] | Randomize new world part of map (heightmap, terrain, ...) | |||||||||||||||||||||||||
map_vertextextures | Toggle map rendering with vertex textures | |||||||||||||||||||||||||
mapmode [Mapmode type] | Change map mode. Some special mapmodes are:
| |||||||||||||||||||||||||
memory | Prints out the used memory | |||||||||||||||||||||||||
![]() |
meritocracy [<AMOUNT>] [<Country tag> OPTIONAL] | Set the meritocracy of the Chinese Emperor | ||||||||||||||||||||||||
mil [<AMOUNT> OPTIONAL] [<Country tag> OPTIONAL] | Get military power (default value: 999) | |||||||||||||||||||||||||
mission [Mission identifier] | Toggles mission completion | |||||||||||||||||||||||||
morehumans(humans) [num] | Adds more humans | |||||||||||||||||||||||||
msg | Toggles all messages popup | |||||||||||||||||||||||||
native_uprising [<ProvinceID>] | Create native uprising in given province | |||||||||||||||||||||||||
navy_tradition [<Amount>] [<Target Country tag> OPTIONAL] | Adds navy tradition to the specified country | |||||||||||||||||||||||||
nextsong | Changes the currently playing soundtrack. | |||||||||||||||||||||||||
nopausetext | Toggles the pausebanner for nicer screenshots. | |||||||||||||||||||||||||
norevolts | Toggles revolts | |||||||||||||||||||||||||
nowar | Toggles AI war declarations | |||||||||||||||||||||||||
observe(spectator) | Switches to play no country at all, and no longer shows messages or pauses the game | |||||||||||||||||||||||||
observe_mode [] | Changes to the observe mode | |||||||||||||||||||||||||
on_action [<Identifier>] | Will run the giver on_action | |||||||||||||||||||||||||
oos | Make the client go oos | |||||||||||||||||||||||||
own [<Province ID>] [<Country tag> OPTIONAL] | Change ownership | |||||||||||||||||||||||||
own_core [<Province ID>] [<Country tag> OPTIONAL] | Change ownership + add core | |||||||||||||||||||||||||
paper_mana [<AMOUNT> OPTIONAL] [<Country tag> OPTIONAL] | Get administrative power (default value: 999) | |||||||||||||||||||||||||
pass_next_reform [<reform key> OPTIONAL] | Add reforms to empire. The reform keys are:
| |||||||||||||||||||||||||
![]() |
pick_golden_bull [<name>] | Pick a golden bull | ||||||||||||||||||||||||
piety [<AMOUNT> OPTIONAL] [<Country tag> OPTIONAL] | Adds piety. (Muslim religions) (default: +10) | |||||||||||||||||||||||||
pirate [<Province ID>] | Starts a Pirate in a province | |||||||||||||||||||||||||
poll | Polls valid Events | |||||||||||||||||||||||||
population [<ProvinceID>] [<Amount>] | Adds population to a province. (Only for colonies.) | |||||||||||||||||||||||||
popup_pause_all | Sets all messages to popup and pause | |||||||||||||||||||||||||
power [<stability/tech_table_key/idea_key>] [<Country tag> OPTIONAL] | Adds the specified idea group | |||||||||||||||||||||||||
powerpoints [<AMOUNT> OPTIONAL] [<Country tag> OPTIONAL] | Get power in all powers. Maximizes monarch points if no number specified. | |||||||||||||||||||||||||
powerspend [] | Prints out global powerspend statistics to game.log | |||||||||||||||||||||||||
powerspend_count [] | Prints out number of times powerspend was executed to game.log | |||||||||||||||||||||||||
prestige [<Amount>] [<Country tag> OPTIONAL] | Changes prestige of the specified country. (default value: +6) | |||||||||||||||||||||||||
prices | Price Info to game.log | |||||||||||||||||||||||||
print_estate_land_share [<estate_type> [ <|> percent]] | Prints estates (or crown) land shares | |||||||||||||||||||||||||
print_flags | Prints global flags | |||||||||||||||||||||||||
print_modifiers(file) | Print gamestate modifiers to a file The file will be in \Documents\Paradox Interactive\Europa Universalis IV\ .
| |||||||||||||||||||||||||
print_prov_flags [<Prov ID>] | Prints province flags | |||||||||||||||||||||||||
PrintSynchStuff | Prints random count and seed | |||||||||||||||||||||||||
province_modifier | Show province modifier values. | |||||||||||||||||||||||||
reform [<Target Province ID>] | Begin reformation in the specified province ID | |||||||||||||||||||||||||
reform_desire [[<value>]] | Will add reform desire (don't you dare) | |||||||||||||||||||||||||
reformprogress [Points to add] [Target tag <optional>] | Adds Government reform progress (Default is 500.) | |||||||||||||||||||||||||
refresh_knowledge [] | Will recalc bunch of stuff like neighbours, idea rules, etc. | |||||||||||||||||||||||||
refreshknowledgecount [] | Refresh knowledge perf couner | |||||||||||||||||||||||||
reinitchat [] | Posts a CChatSyncAllCommand | |||||||||||||||||||||||||
![]() |
religious_school [School] [<Target Country tag> OPTIONAL] | Sets religious school for target country The religious schools have the following identifier:
| ||||||||||||||||||||||||
reload [file name] | Reloads the gui or lua file | |||||||||||||||||||||||||
reload_canals | Reload the canal bitmaps | |||||||||||||||||||||||||
reload_heightmap | Reloads the heightmap | |||||||||||||||||||||||||
reload_lakes | Reloads the lakes | |||||||||||||||||||||||||
reload_map | Reloads the map | |||||||||||||||||||||||||
reload_provincemap | Reloads the provincemap | |||||||||||||||||||||||||
reload_straits | Update strait vertex buffers | |||||||||||||||||||||||||
reload_treemap | Reloads the treemap | |||||||||||||||||||||||||
reloadfx [Arguments: map/mapname/postfx or *.fx filename] | Reloads the shader | |||||||||||||||||||||||||
reloadinterface | Reloads the entire interface | |||||||||||||||||||||||||
reloadloc | Reloads the localisation | |||||||||||||||||||||||||
reloadtexture [texture file name] | Reloads the specified texture | |||||||||||||||||||||||||
reloadtradewinds | Reloads trade winds | |||||||||||||||||||||||||
remove_cb [<casus belli tag>] [<target country tag>] [<Actor Country tag> OPTIONAL] | Remove casus belli from target country | |||||||||||||||||||||||||
remove_claim [<Province ID>] [<Country tag> OPTIONAL] | Remove claim | |||||||||||||||||||||||||
remove_core [<Province ID>] [<Country tag> OPTIONAL] | Remove core | |||||||||||||||||||||||||
remove_country [<Target Country Tag>] | Obliterate a country from the map. All its provinces become uncolonized. | |||||||||||||||||||||||||
remove_defender_faith | Removes the defender of the Faith for the players religion | |||||||||||||||||||||||||
remove_interest [<Country tag>] | Removes specified country tag from your interest | |||||||||||||||||||||||||
remove_march [<Target Country Tag>] [<Actor Country tag> OPTIONAL] | Revokes march status of the specified country (with its normal effects). | |||||||||||||||||||||||||
remove_rival [<Country tag>] | Removes a rival. | |||||||||||||||||||||||||
![]() |
remove_trait [<personality tag>] | Remove ruler personality. | ||||||||||||||||||||||||
rendertype | Reports what render backend is used | |||||||||||||||||||||||||
repair [<Country tag>] | Repairs all ships of country | |||||||||||||||||||||||||
reset_economy [] | Resets global economy statistics | |||||||||||||||||||||||||
![]() |
reset_god | Resets personal deity | ||||||||||||||||||||||||
![]() |
reset_migrate | Resets the time you'll have to wait until migration is allowed again. | ||||||||||||||||||||||||
reset_powerspend [] | Resets global powerspend statistics | |||||||||||||||||||||||||
![]() |
reshuffle_seat_bribes | Will reshuffle all the seat bribes | ||||||||||||||||||||||||
revolt [<Province ID>] | Starts a Revolt in a province | |||||||||||||||||||||||||
revolution_target [<CountryTag>] | Sets the revolution target. | |||||||||||||||||||||||||
rgb(rgb) [<Amount>] | Prints desired amount of random color values to game.log | |||||||||||||||||||||||||
run [] | 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\ .
| |||||||||||||||||||||||||
run_commands | Runs the specified file with list of console commands. | |||||||||||||||||||||||||
runyear [<year>] [<command filename>] | Runs command once we reach year. | |||||||||||||||||||||||||
sailors [<Amount>] [<Target Country tag> OPTIONAL] | Adds sailors (default value: 5000) | |||||||||||||||||||||||||
savegame | Creates an savefile. | |||||||||||||||||||||||||
score | Score data dumped to game.log | |||||||||||||||||||||||||
selflearningai | Enables/Disables Self-Learning AI | |||||||||||||||||||||||||
set_base_manpower [<province id>, <value>] | Sets base manpower of province to value. | |||||||||||||||||||||||||
set_base_production [<province id>, <value>] | Sets base production of province to value. | |||||||||||||||||||||||||
set_base_tax [<province id>, <value>] | Sets base tax of province to value. | |||||||||||||||||||||||||
![]() |
set_consort_flag [<Tag>] [<Flag>] | Sets a flag for a consort | ||||||||||||||||||||||||
set_flag [<Flag>] | Sets a global flag | |||||||||||||||||||||||||
set_leader_trait [<personality>] | Set selected leader's personality trait | |||||||||||||||||||||||||
set_prov_flag [<Flag>] [<Province>] | Sets a flag for a province | |||||||||||||||||||||||||
setmissionaryprogress [<ProvinceID>] [<Amount>] | Sets the missionary progress for a province. | |||||||||||||||||||||||||
SetRandomCount | Sets the randomcount to 0 or arg | |||||||||||||||||||||||||
show_ideas [<Country tag>] | National ideas of the specified country dumped to game.log | |||||||||||||||||||||||||
siege [<Province ID>] | Wins the siege in the specified province | |||||||||||||||||||||||||
smoothframelog | Toggles smooth frame logging | |||||||||||||||||||||||||
spawn [<Province ID>] [<SubUnit Type>] | Spawns an unit in a province. For example, "spawn 1 western_medieval_infantry" spawns a Latin Medieval Infantry in Stockholm. See the file names in the common/units folder for a complete list of <SubUnit Type>. | |||||||||||||||||||||||||
spawn_all_units [<Animation state>] | Spawns all units in capital for all existing countries. Requires unit_tester mod under Art/Test Resources enabled. | |||||||||||||||||||||||||
spawnactor [<Actorname>] [<Province ID>] [<Animation> OPTIONAL] | Spawns an actor with an optional animation | |||||||||||||||||||||||||
spectate(spectate) | Goes into Spectator mode | |||||||||||||||||||||||||
splendor [<Amount>] [<Target Country tag> OPTIONAL] | Adds splendor to the player (Default: 1000) | |||||||||||||||||||||||||
![]() |
spread_revolution [<province ID or tag>] | Spread the Revolution | ||||||||||||||||||||||||
spritelevel [<Sprite level>] | Sets a forced sprite level. Specify no argument to reset. | |||||||||||||||||||||||||
spynetwork [<Target Country tag>] [<Amount>] | Adds spy network with target country | |||||||||||||||||||||||||
stability [<AMOUNT> OPTIONAL] [<Country tag> OPTIONAL] | Changes the stability of the specified country (to maximum without value) | |||||||||||||||||||||||||
startup_screen | Creates a new startup screen. | |||||||||||||||||||||||||
state [<Province ID>] | Toggles State for owner of region of province. | |||||||||||||||||||||||||
stats | Stats dumped to game.log | |||||||||||||||||||||||||
stop [<YYYY.MM.DD>] | Pauses the game at a specified date | |||||||||||||||||||||||||
surrender | Surrender | |||||||||||||||||||||||||
sword_mana [<AMOUNT> OPTIONAL] [<Country tag> OPTIONAL] | Get military power (default value: 999) | |||||||||||||||||||||||||
syntheticdawn [<Target Tag> OPTIONAL] | Specified country changes to Synthetics. This country needs to have more than 10 provinces- | |||||||||||||||||||||||||
tag [<Country tag>] | Switch tag to another country | |||||||||||||||||||||||||
tech [<AMOUNT>] | Gets levels in all technology types | |||||||||||||||||||||||||
test [<test ID>] | Runs a code test | |||||||||||||||||||||||||
test_achievement [<achievement>] | tests a specific achievement | |||||||||||||||||||||||||
test_neighbour [<Tag>] | Will tell you if target Tag counts as neighbour to your country | |||||||||||||||||||||||||
testevent [<Event ID>] [<Character ID>] | Tests an event without triggering it | |||||||||||||||||||||||||
texture_usage | Prints texture usage to memory.log | |||||||||||||||||||||||||
ti(debug_ti) | Toggles Terra Incognita on/off | |||||||||||||||||||||||||
time | Displays the current time in the command box. | |||||||||||||||||||||||||
timer | Prints out debug timing info | |||||||||||||||||||||||||
timer_dump | Dumps debug timing info to logs | |||||||||||||||||||||||||
timer_reset | Resets debug timing | |||||||||||||||||||||||||
timer_restart | Restarts (resets and starts) debug timing | |||||||||||||||||||||||||
timer_show | Shows live timing data | |||||||||||||||||||||||||
timer_start | Starts debug timing | |||||||||||||||||||||||||
timer_stop | Stops debug timing | |||||||||||||||||||||||||
touch_test | Testing touch | |||||||||||||||||||||||||
![]() |
tribal_development [<province id>, <value>] | adds tribal development to the federation Note: the command always adds 1 adm/dip/mil tribal development to the current country if in a Native Council, province id and value arguments don't work | ||||||||||||||||||||||||
![]() |
tributary [<Tag>] | Make country a Tributary State | ||||||||||||||||||||||||
trust [<Target Country tag>] [<Amount>] | Adds trust with target country | |||||||||||||||||||||||||
update_loc [localization tag] | Updates the localization tag file | |||||||||||||||||||||||||
validateevents | Validates all events without triggering it | |||||||||||||||||||||||||
vassalize [<Target Country Tag>] [<Actor Country tag> OPTIONAL] | Vassalize the specified tag | |||||||||||||||||||||||||
verify_loc | Verifies the localization keys Unlocalized keys are written to error.log. | |||||||||||||||||||||||||
version | Prints the game version | |||||||||||||||||||||||||
victorycard | Force enables victory cards in singleplayer | |||||||||||||||||||||||||
window(wnd) [Arguments: open/close] [window gui name] | Opens or closes the specified window | |||||||||||||||||||||||||
winwars | Gives max war score in all wars for the country | |||||||||||||||||||||||||
writetestentities | Writes test entities for all countries to local_temp.log. | |||||||||||||||||||||||||
yesman | Toggles AI positive responses (on: always accept; off: normal response) | |||||||||||||||||||||||||
![]() |
zeal [<Amount>] [<Target Country Tag>] | Adds revolutionary zeal to a country | ||||||||||||||||||||||||
zombie | Zombie army debug on/off On by default, when turned off, armies will be immediately stackwiped on losing a battle instead of doing a shattered retreat. |
Casus belli IDs[edit | edit source]
![]() |
Please help with verifying or updating this section. It was last verified for version 1.28. |
For use with add_cb and remove_cb.
- cb_restore_personal_union – Restoration of Union
- cb_defection – Defected Province
- cb_loan_cancelled – Canceled Loan
- cb_spy_discovered – Discovered Spy
- cb_disloyal_vassal – Disloyal Vassal
- cb_hre_attacked – Imperial Liberation
- cb_insult – Diplomatic Insult
- cb_dishonored_call – Dishonored Call
- cb_vassalize_mission – Subjugation
- cb_fabricated_claims – Obscure Documents
- cb_religious_conformance – Religious Unity
- cb_border_war – Border Friction
- cb_trade_war_triggered – Trade War
- cb_trade_conflict – Trade Conflict
- cb_trade_league_conflict - Trade Conflict
- cb_annex – Annexation War
- cb_change_government – Government Form War
- cb_humiliate – Humiliate
- cb_conquest – Conquest
- cb_core – Reconquest
- cb_independence_war – Independence
- cb_colonial_independance_war – Colonial Independence
- cb_nationalist – Nationalism
- cb_imperial – Imperialism
- cb_war_against_the_world - War Against the World
- cb_daimyo_annex – War for the Emperor
- cb_independent_daimyo_annex – War for the Emperor
- cb_shogun_annex – Annex Daimyo
- cb_sengoku – Sengoku
- cb_revolutionary – Revolutionary War
- cb_colonial – Colonialism
- cb_liberation – Liberation
- cb_crusade – Holy War
- cb_defender_of_the_faith – Defender of the Faith
- cb_heretic – Cleansing of Heresy
- cb_excommunication – Excommunicated Ruler
- cb_trade_war – Trade Dispute
- cb_trade_league_dispute – Trade League Dispute
- cb_imperial_ban – Imperial Ban
- cb_liberate_elector – Liberate Elector
- cb_super_badboy – Coalition
- cb_claim_throne – Claim on Throne
- cb_horde_vs_civ – Tribal Conquest
- cb_tribal_feud – Tribal Feud
- cb_revoke_electorate – Revoke Electorate
- cb_privateers – Trade Protection
- cb_support_rebels – Support Rebels
- cb_crush_the_revolution – Crush the Revolution
- cb_spread_the_revolution – Spread the Revolution
- cb_religious_league – Religious League
- cb_flower_wars – Flower Wars
- cb_maya_expansion – Maya Confederation
- cb_humiliate_rotw – Humiliate Rival
- cb_chinese_unification – Unify China
- cb_take_mandate - Take Mandate of Heaven
- cb_force_migration – Force Migration
- cb_forced_break_alliance – Forced ally to break alliance
- cb_force_tributary - Force Tributary State
- cb_hundred_years_union - Force Union
- cb_force_join_hre - Imperial Realm War Superiority
List of events[edit | edit source]
![]() |
Please help with verifying or updating this section. It was last verified for version 1.30. |
Event ID | Name of event | Event's effect |
---|---|---|
700 | Election! | Allows player to gain 1![]() ![]() ![]() |
862 | The New World Beckons! | Pick between a ![]() |
881 | Merchant arranges an expedition. | Gain ![]() |
2001 | The Protestant Reformation | Starts the ![]() ![]() |
5056 | Diplomatic Insult | Get Diplomatic Insult CB on neighbor / +60 opinion to neighbors |
9469 | Lux Stella | gives choice between heir with at least a 6 in ![]() ![]() ![]() |
flavor_pol.1 | The Commonwealth Navy | |
flavor_sco.8 | The Glasgow Chamber of Commerce | ![]() |
colonial.1 [<Province ID>] | The [empty_neighbor_target.GetAreaName] Company | A new colony with 200 settlers will appear in a random neighbor province and that province gets ![]() |
colonial.12 [<Province ID>] | The Call of the Hunt | Sets trade good to ![]() |
colonial.13 [<Province ID>] | Fur Trade Dwindles | Sets trade good to ![]() ![]() |
colonial.18 [<Province ID>] | New World Coffee | Sets trade good to ![]() |
ideagroups.1 | New Traditions & Ambitions | Changes your national ideas to match your current country tag. |
ideagroups.606 | Improved Reputation | Increase diplomatic reputation by 1 for 10 years. |
ideagroups.608 | Justify my War! | "Justified Demands" modifier for 10 years, reducing AE by 5% and Unjustified Demands by 20% |
ideagroups.1801 | Our Cause is Just | Gives the "Just Causes" modifier for 10 years, reducing Aggressive Expansion by 20% |
culture_religion_events.21 | A Question of Faith | Changes the state religion of the country to that of the ruler. |
culture_religion_events.22 | The Court of [Root.Monarch.GetName] | Changes the primary culture of country to that of the ruler. |
See also[edit | edit source]
- List of provinces - Province IDs are used in many commands
- Country tags - Country tags are used in many commands
- Event ids - Event IDs used for event and testevent commands