Victoria3DB1.15.2 · unofficial

Vic3 / Console commands

Victoria 3 console commands

All 146 commands the console of Victoria 3 knows, from the game's own code. Pick one in the builder, choose the country, state or law from lists, and copy the line.

From the game files: Victoria 3 1.15.2 (Ivan-Chai), the 1 January 1836 start. Commands read from binaries/victoria3.exe.

Build a command

Pick a command, then the country, state, law or technology from the game's own lists, and copy the line.

Money and research
Country
Laws
Journal
Game

Changes a law at once. Name another country to change it there. The game's help: Changes a Law to the specified key

change_law law_monarchy

Commands that take the ID of a character, formation or fleet from the running game are not in the builder: the game files do not hold those numbers.

How do you use the console?

The Steam launcher offers "Open game in Debug Mode" next to the normal start, which runs the game with -debug_mode. Type help in the console to list the commands, or help and a command name for one command. The key that opens the console is not in the game files, so we do not name one here.

Commands take their arguments after the name, separated by spaces. A country is its tag, such as GBR for Great Britain. A state is its key, such as STATE_LOMBARDY, which you find on the state pages. A law is its key, such as law_monarchy (Monarchy), and a technology is its key too (Railways is railways). Each key is on the page of the thing itself.

Which commands do people look for?

money, research, change_law, annex, tag, add_journal_entry are all in the list below. The game has no command named play or infamy among the 146 we could read. To switch country you use tag. Changes to infamy and similar numbers are done through the game's script effects (change_infamy, for one), which the console commands here do not cover.

Money and research

The commands people ask for first.

CommandWhat you type after itHelp text in the gameLine to copy
moneyamountAdds specified amount of money
Invalid arguments count | Added | money.
money 1000
investment_poolamountAdds specified amount of money to the investment pool
Invalid arguments count | Added | money to investment pool.
investment_pool 1000
researchSpecify a tech key OR an era numberAcquire technologies
Please specify either technology type key or technology era number | All techs up to and including era %d granted to player country | Expected era number between %d and %d | Invalid technology type key %s | Cannot acquire research if Observer | Technology %s acquired by player country
research railways
add_supply_shipscountAdds specified amount of supply ships to the player countryadd_supply_ships

Countries, land and diplomacy

CommandWhat you type after itHelp text in the gameLine to copy
observenothingstart observing the game Also works as ob.
Cannot leave observe mode without a country selected | Going to observe mode | Ending observe mode
observe
add_war_supportcountry_TAG amountAlters wars support of country in ALL of their wars by amount
Wrong number of args | Added War Support | That country does not exist
add_war_support
add_radicalsculture amountAdds radicals to culture in country by fraction of population
Wrong number of args | Invalid culture instance | Culture not present in country | Added Radicals | Invalid culture
add_radicals
add_loyalistsculture amountAdds loyalists to culture in country by fraction of population
Wrong number of args | Invalid culture instance | Culture not present in country | Added Loyalists | Invalid culture
add_loyalists
tagcountry_TAGSwitch control to another country
Please specify the country tag | Now Playing - | Such country does not exist. | empty tag. check your spaces
tag GBR
ownprovince id/state region tag country tagChange the owner of specified province or state region
Please specify province hex or state region key | _ProvinceColors.IsEmpty() && "Provinces have not been loaded yet!" | State now belongs to | province now belongs to
own STATE_LOMBARDY GBR
check_pollution_levelstate region tagPrint out pollution for specified state region
Please specify state region key | Unknown state region key | Current Pollution level is: | Target Pollution level is:
check_pollution_level
set_pollution_levelstate region tag amountSet pollution level in specified state region
Please specify state region key and pollution level | Unknown state region key | State region pollution level set
set_pollution_level
set_devastation_levelstate region tag amountSet devastation level in specified state region
Please specify state region key and devastation level | Unknown state region key | State region devastation level set
set_devastation_level
conquerallcountry tagSet all enemy provinces under our control.
Please specify enemy country tag. | invalid player | invalid enemy id | 0 more provinces are under our control
conquerall FRA
create_political_movement<movement type key>Creates a political movement
Not enough arguments. | Invalid player country. | Invalid movement type! | Created political movement for
create_political_movement
treatyport<state region tag>Takes treaty port in state region
Not enough arguments. | Invalid state region key | Invalid player country. | Seized treaty port in
treatyport STATE_LOMBARDY
annex<country tag/id>Annexes a country
Not enough arguments. | Invalid player country. | Can't annex yourself! | Invalid country tag/id.
annex FRA
annex_allnothingAnnexes all other countries
Invalid player country.
annex_all
create_countrycountry definition country type culture state IDCreates a country
Invalid amount of arguments provided. | Bad country definition. | Invalid State. | Bad culture. | Bad country type.
create_country
annex_province<province ID>Annex province with specified ID or the hovered province
IsWithinBounds( ProvinceIndex ) | Invalid province to annex | Province is already owned by player | Cannot annex the province - it's not in a state | Country | Province {} is now owned by '{}'
annex_province
decolonizenothingPasses an already colonized province belonging to a centralized country's colony over to a neighboring decentralized country's statedecolonize
add_relationsnothingChanges relations with country by a given value
Invalid player country | Wrong number of args, expected: 'country tag', 'relations delta' - optional (default=1) | Invalid value for 'relations value', should be an integer. | Could not find country ' | Success! Relations with | are changed from
add_relations
add_liberty_desireCountry tag Liberty Desire Value optional (default=10)Changes liberty desire of subject country by a given value
Invalid player country | Wrong number of args, expected 2: 'country tag' 'Liberty Desire Value(optional default=10)' | Invalid value for 'liberty desire', should be an integer. | Could not find country ' | Subject Pact not found for country. | Success! Liberty desire of subject | increased by
add_liberty_desire
kill_charactercharacter namekills the named character
Must specify character name or ID | killed | Multiple matches for character name | No match for character name/ID
kill_character
native_uprisingColonizer country tagNative country tagnative_uprising
add_involvementregion_id value (can be negative)add_involvement <region_id> <value>: Adjust current involvement in a strategic region for the player country (does NOT change target involvement).
Usage: add_involvement <region_id> <value> | Invalid player country | Strategic region with that id not found | No existing interest; delta is zero, nothing to do | Cannot reduce involvement; no existing interest in region | Failed to create interest | Adjusted involvement in region id %d from %s to %s (delta %s) | Created interest and set involvement in region id %d to %s (delta %s)
add_involvement
set_hostility<country tag/id> <hostility type: naval/war/limited_war> <1=add (default), 0=remove>Adds or removes hostility between player and target countryset_hostility

Laws, interest groups and power blocs

CommandWhat you type after itHelp text in the gameLine to copy
add_approvalnothingAdds an approval timed modifier to a given IG
Invalid player country | Wrong number of args, expected: 'interest group name', 'approval' - optional (default=1), 'duration in months' - optional (default=1) | Invalid value for 'approval', should be an integer. | Invalid value for 'duration in months', should be numeric. | Interest group not found: | Success! | will add | approval for
add_approval
add_cloutnothingAdds or removes clout of the IG by changing their political strength with timed modifier
Invalid player country | Wrong number of args, expected: 'interest group name', 'political strength' - optional (default=1), 'duration in months' - optional (default=1) | Invalid value for 'political strength', should be numeric. | Invalid value for 'duration in months', should be numeric. | Interest group not found: | Success! | gets | political strength for
add_clout
add_ideologyTarget interest group. Ideology to add.Add an ideology to a given IGadd_ideology
queue_company_owned_building<country ID> <company type key> <state ID> <building type key>Queue a company-owned building to the private construction queue
Missing argument: country ID | Invalid country ID: {} | Missing argument: company type key | Invalid company type key: {} | Company {} doesn't exist in country {} | Missing argument: state ID | Invalid state ID: {} | Missing argument: building type key
queue_company_owned_building
change_lawlaw key, country tag (optional)Changes a Law to the specified key
Must specify at least the new law to activate! | Max 2 arguments | Invalid law key %s specified | Invalid country tag %s specified | Activated %s for %s
change_law law_monarchy
add_mandatesNumber of mandate pointsAdd mandate points to the current player's power bloc.add_mandates
add_cohesionAmount of cohesionAdd cohesion to the current player's power bloc.add_cohesion
set_cohesionCohesion valueSet the cohesion value for the current player's power bloc.set_cohesion

Journal entries and events

CommandWhat you type after itHelp text in the gameLine to copy
add_journal_entry<journal entry type>Add a specific journal entry to the player country
Missing journal entry type as argument | Invalid journal entry type | Invalid CJournalEntryCommand - JE already exists? | Added journal entry
add_journal_entry je_abolish_monarchy
activate_journal_entry<journal entry type>Activate a specific journal entry for the player country
Missing journal entry type as argument | Invalid journal entry type | Invalid CJournalEntryCommand - JE doesn't exist or is already active? | Activated journal entry
activate_journal_entry je_abolish_monarchy
conclude_journal_entry<journal entry type> <outcome index>Concludes a specific journal entry for the player country with the given outcome index, invalid and timeout outcomes not allowed
Missing journal entry type or outcome index as arguments | Invalid journal entry type | Invalid CJournalEntryCommand - JE doesn't exist or is not active? | Concluded journal entry | with conclusion description | Invalid outcome index
conclude_journal_entry
timeout_journal_entry<journal entry type>Timeouts a specific journal entry for the player country
Missing journal entry type as argument | Invalid journal entry type | Invalid CJournalEntryCommand - JE doesn't exist or is not active? | Timeouted journal entry
timeout_journal_entry je_abolish_monarchy
invalidate_journal_entry<journal entry type>Invalidates specific journal entry for the player country
Missing journal entry type as argument | Invalid journal entry type | Invalid CJournalEntryCommand -JE doesn't exist or is not active? | Invalidated journal entry
invalidate_journal_entry je_abolish_monarchy
eventevent name <country_TAG/province_ID>Executes an eventevent
testeventevent name <country_TAG/province_ID>Tests an eventtestevent
testobjective<subgoal key (optional)>Tests objective triggered effects
No objective to test | Testing subgoal | Blocking/unlocking subgoal check: PASS | Blocking/unlocking subgoal check: FAIL | Did not find specified objective subgoal
testobjective
select_event_optionoption index, or list <event id, default oldest pending>Selects an option of one of your pending events as if clicked, or lists pending eventsselect_event_option

Time, the console and AI switches

CommandWhat you type after itHelp text in the gameLine to copy
disable_aiall/tagDisables AI
Bad number of arguments | Disabled player AI | Disabled ALL AI | Could not find country | Disabled AI
disable_ai all
enable_aiall/tagEnables AI
Bad number of arguments | Enabled player AI | Enabled ALL AI | Could not find country | Enabled AI
enable_ai all
yesmennothingAI will agree to all diplomatic proposals & sway offers from players Also works as yesmen.
AI will no longer agree to all player diplomatic proposals and sway offers | AI will now agree to all player diplomatic proposals and sway offers
yesmen
datedate in format yyyy.mm.dd.hhChanges current date
Date changed. | Please specify the date in format yyyy.mm.dd.hh
date 1850.1.1.12
debugArguments: lines/alwaysupgradecolony/ai/influence/market/alwaysreform/allmoney/alwaysdiplo/artisanchange/focusai/info/profile/pops/tooltips/assert/promotiondesc/demotiondesc/cb_use/eco/textures/fow/yesmen/wireframe/minzoom/render/colorVarious debugging actions
assert | Asserts are now turned OFF. | Asserts are now turned ON. | Please specify some arguments.
debug
version<0/1>Shows current build information, put 1 as second parameter for long version Also works as cv.
No game setup?
version
mapmodemapmodeSwitches to a given mapmode
Not enough arguments. | Failed to find mapmode | Mapmode unset. | Mapmode set. | No interface state!
mapmode
helpcommand namePrint out all console commands or a specific command description.
Invalid arguments count.
help
assertAsserts are now turned ON. Please specify some arguments.Asserts are now turned OFF.assert
sleepnothingSleep for specified amount of millisecondssleep
deironnothingDisables Ironman modedeiron
callstacknothingPrint the callstackcallstack

Reports, logs and testing

Most of these write a file or a log. They are for the people who make the game and for modders.

CommandWhat you type after itHelp text in the gameLine to copy
recalc_cached_datanothingRecalculate cached gamestate data.
No gamestate | Recalculated cached gamestate data
recalc_cached_data
spawnnotificationnotificationtype <scopeindex>Spawns notification of specified type.
Please specify notification type. | Unknown notification type. | Unhandled scope | Invalid index for the scope. | Spawned new notification of scope '
spawnnotification
popstatnothingPrints out amount of active pops.
We have | pops active.
popstat
Logging.PopStatsnothingCreates a semi-colon delimited logfile of the current status of all pops. Also works as debugpopstats.
pop_stats | country | state | workplace | poptype | culture | religion | workforce
Logging.PopStats
ai_print_strategy_valuesnothingPrints AI debug data for certain AI strategy values such as desired military sizes.
Printing strategy data for | Wanted construction output: | Wanted ship construction output: | Wanted army size: | Wanted navy size: | Wanted | Wanted supply ships: | Wanted marines:
ai_print_strategy_values
ai_evaluate_production_method<building key> <pm key> <state region key>Prints AI debug data for selected production method in state for building type.
Please specify building type and production method keys (state region optional) | Invalid building type | Invalid production method | Invalid state region | Invalid state | No such building in state | Building does not use the selected production method | AI score for
ai_evaluate_production_method
validate_popsnothingEnsures all pops have valid params and prints them to the error log otherwise. Also works as validate_pops.
This command takes no arguments | %i pops validated %i errors found
validate_pops
create_building_historynothingCreates a game-history compliant .txt file of all buildings in the world / state ID as well as their PM / subsidy configurations. Also works as create_building_history.
false | Expected "true" or "false" | Please specify only true/false to include only buildable buildings (default: true) | history_scripts/buildings/ | region_state: | create_building | add_ownership | country
create_building_history
create_state_region_datanothingCreates a game-database compliant .txt file of all state regions in the world and their provinces/resources Also works as create_state_region_data.
State Regions NOT written, do you have a valid gamestate yet? | history_scripts/state_regions/verified_hubs.txt | history_scripts/state_regions/ | _ProvinceColors.IsEmpty() && "Provinces have not been loaded yet!" | Map has not been created yet! | IsWithinBounds( ProvinceIndex ) | Province index out of bounds! | Locator for hub %s in state region %s is in province %s which is not land!
create_state_region_data
debugmassmigrationsculturePrints all possible mass migration targets for a culture along with their score
Wrong number of args | Invalid culture instance | No potential migration sources or targets | Potential migration sources: | Potential migration targets: | Invalid culture
debugmassmigrations
Logging.CharactersnothingCreates a semi-colon delimited logfile with debug info regarding all characters. Also works as debugcharacters.
characters | Log created at:
Logging.Characters
Logging.MarketsnothingCreates a semi-colon delimited logfile with debug info regarding all goods and markets. Also works as debugmarkets.
markets | market_owner | colonizable | false | market_name | market_gdp | goods | category
Logging.Markets
Logging.PopConsumptionnothingCreates a semi-colon delimited logfile with debug info regarding all pops' consumption Also works as debugpopconsumption.
popconsumption | country | state | unemployed | workplace | profession | culture | religion
Logging.PopConsumption
debugterrainweightsnothingPrints out the number of
debug/terrain_weights.txt | %s: %i | Log created at:
debugterrainweights
testaipactsnothingTest whether AI would dissolve current pacts
Testing pact | with
testaipacts
invalidate_charactercharacter IDInvalidate the modifier on the character with the specified ID
Please specify object ID | Modifier of object ID | invalidated
invalidate_character
invalidate_statestate IDInvalidate the modifier on the state with the specified ID
Please specify object ID | Modifier of object ID | invalidated
invalidate_state
invalidate_countrycountry IDInvalidate the modifier on the country with the specified ID
Please specify object ID | Modifier of object ID | invalidated
invalidate_country
invalidate_iginterest group IDInvalidate the modifier on the interest group with the specified ID
Please specify object ID | Modifier of object ID | invalidated
invalidate_ig
create_pop_historynothingCreates a dump in debug.log with a complete pop history
s:{} = {{ | region_state:{} = {{ | create_pop = {{ | culture = {} | religion = {} | size = {} | Printed complete pop history to debug.log
create_pop_history
check_savenothingChecks that saving and loading is consistentcheck_save
Terrain.Regeneratedefault terrain nameRegenerates terrain bitmap Also works as regenerateterrain, regenerate_terrain.
specified default terrain not found | detail_index.tga | detail_intensity.tga | generated/province_terrains.txt | Could not load index texture | Could not load intensity texture | #This is a generated file, do not modify unless you know what you are doing! | x%06X
Terrain.Regenerate
list_containerstype filterList all script containers, optionally filtered by type taglist_containers
print_containercontainer name or idPrint the variables of a script container, by name or idprint_container
remove_containercontainer name or idRemove a script container, by name or idremove_container
print_gamestate_modifiersnothingPrints Gamestate Modifiers
IsWithinBounds( ProvinceIndex ) | Invalid province to annex | Province is already owned by player | Cannot annex the province - it's not in a state | Country | Province {} is now owned by '{}'
print_gamestate_modifiers
Logging.MilitaryFormationsnothingPrints all military formations and their relevant propertiesLogging.MilitaryFormations
Logging.LandProvincesnothingPrints the terrain of all land provincesLogging.LandProvinces
Logging.LowSolRadicalsCountry tag, defaults to the played countryLogs every pop below its expected standard of living and the radicals it generatesLogging.LowSolRadicals
ai.debugtagdumps debug info for country
Command works only in game state | Could not find ai goal ' | execute | Could not find country ' | No AI has been created for country ' | Debug info for goal ' | ' for country ' | Wanted Commands:
ai.debug
ai.goaltag goal type execute (optional)Checks ai goal and executes it if 'execute' is set
Command works only in game state | Could not find ai goal ' | execute | Could not find country ' | No AI has been created for country ' | Debug info for goal ' | ' for country ' | Wanted Commands:
ai.goal
wagerate<building ID> <new wage rate> (optional)Get or Set a building's wage rate
Please specify either technology type key or technology era number | All techs up to and including era %d granted to player country | Expected era number between %d and %d | Invalid technology type key %s | Cannot acquire research if Observer | Technology %s acquired by player country
wagerate
Logging.ColonyGrowthnothingPrints a comma-delimited list of all colonies in the world, how much they're growing, and whyLogging.ColonyGrowth
force_oosnothingMake this client go out of sync in multiplayer
forced OOS
force_oos
find_unemployedunemployment ratio cutoffFind and report all unemployed pops with an optional cutoff
Missing argument: country ID | Invalid country ID: {} | Missing argument: company type key | Invalid company type key: {} | Company {} doesn't exist in country {} | Missing argument: state ID | Invalid state ID: {} | Missing argument: building type key
find_unemployed
generate_province_center_objectsnothinggenerates a file with meshes in the center of each provincegenerate_province_center_objects
debugstatesnothingWrite a semi-colon delimited logfile with debug info regarding all states.debugstates
Logging.debugcountriesnothingWrite a semi-colon delimited logfile with debug info regarding all countries. Also works as debugcountries.Logging.debugcountries
debugtheatersnothingWrite a semi-colon delimited logfile with debug info regarding all theaters.
Must specify character name or ID | killed | Multiple matches for character name | No match for character name/ID
debugtheaters
Logging.CulturalAcceptancenothingWrite a semi-colon delimited logfile with a list of all cultures present in each country, the country's laws, and the resulting acceptanceLogging.CulturalAcceptance
SplineNetwork.SetAssetGenerationModenothingSets mode for spline strips and anchors generation <naval/default>SplineNetwork.SetAssetGenerationMode
Print.EventDebugnothingPrint event debug statistics, needs to set Debug.Events to collect statisticsPrint.EventDebug
SplineNetwork.ValidateSplinesnothingValidate the integrity of in-game spline systemSplineNetwork.ValidateSplines
Logging.PopGrowthnothingLogs the base pop growth birthrate/mortality table. If provided with a certain standard of living value it prints only that. Also works as standard_of_living.Logging.PopGrowth
Logging.MarketGoodsShortagesnothingLogs the goods shortages in all markets Also works as market_goods_shortages.Logging.MarketGoodsShortages
Logging.UnprofitableBuildingsnothingLogs all the buildings with 0 productivity. If provided with a value, it logs all buildings at or below that. Also works as unprofitable_buildings.Logging.UnprofitableBuildings
ai_evaluate_companycompany type keyai_evaluate_company
ai_print_company_targetcountry tag (optional, defaults to player)Prints the company the AI wants to form next and where its construction scores are boostedai_print_company_target
ai_evaluate_tradegoods key state region keyPrints AI score for trading a good in a particular stateai_evaluate_trade
ai_evaluate_treaty_tradegoods keyPrints AI score for trading a good via treatiesai_evaluate_treaty_trade
ai_evaluate_statestate region key country tagPrints AI score of how much they want to own a particular stateai_evaluate_state
ai_evaluate_colonizationstrategic region key country tagPrints AI score of how much they want to colonize a regionai_evaluate_colonization
ai_evaluate_intereststrategic region key country tagPrints AI score & strategic focus for interest in a strategic regionai_evaluate_interest
ai_evaluate_fleet_missionfleet id strategic region key or sea province index (optional) mission key (optional, e.g. intercept, project_power)Prints AI fleet mission scores. With only fleet ID: all relevant nodes. With sea node: all missions at that node. With sea node + mission: detailed breakdown.ai_evaluate_fleet_mission
ai_evaluate_treaty_portstate region key country tagPrints AI score of how much they want to have a treaty_port in a particular stateai_evaluate_treaty_port
ai_evaluate_subjectcountry tagPrints AI score of how much they want a particular country to be their subjectai_evaluate_subject
ai_evaluate_wargoalwar goal type, country tag, state region keyPrints AI score of how much they want a particular war goal, ignoring infamyai_evaluate_wargoal
merge_formationsSource Formation ID Target Formation IDmerge_formations
track_formationSource Formation ID Target Formation ID Rendezvous Behaviortrack_formation
customs_unionsnothingPrint the list of all customs unionscustoms_unions
goods_pool_performance_testnothingRuns a number of tests involving CGoodsPool to evaluate performance in a profilergoods_pool_performance_test
ai_evaluate_mobilizationnothingPrint AI debug information for mobilization targetsai_evaluate_mobilization
Logging.GameStateGeneratorsnothingPrints a list of the gamestate generators in dependency sequence to the consoleLogging.GameStateGenerators
print_piracy_valuesnothingPrints piracy heat, hunt pirates scores, fleet assignments, and active piracy missions for the player country.print_piracy_values
ai_print_region_stancescountry tag (optional, defaults to player)Lists AI strategic region stances for all regions with >0 score, in descending score orderai_print_region_stances
ai_print_region_objectivescountry tag (optional, defaults to player)Lists the AI regional objectives a country currently holds, with the region and stance each was rolled underai_print_region_objectives
scripted_tests<(Optional) Failed Test Save: before/none/after>Run scripted testsscripted_tests
pop_size_statsnothingDump some stats about size of popspop_size_stats
count_countries_with_hierarchysocial hierarchy keycount_countries_with_hierarchy
Logging.NormalDistnothingGenerates and logs normally distributed random numbers in the interest of diagnosing the generator. If not specified, the command logs 1000 variables with mean 0 and standard deviation 1.
Usage: Logging.NormalDist [Number of Samples] [Mean] [Standard Deviation] | [Number of Samples] value provided must be greater than 0. [Standard Deviation] value provided must be greater than or equal to 0. | normal_distribution_sample_table | Log created at: %s
Logging.NormalDist
Debug.ReseedEventsnothingRerolls the global random seed and the stored random seeds of every journal entry and pending event. Optional argument: seed.
Not available in multiplayer | Usage: Debug.ReseedEvents [seed] | ReseedEventScopes | Reseeded with {}: {} journal entries, {} events
Debug.ReseedEvents
Debug.GlobalRandomnothingPrints the the global random count and seed as well as a series or randomly generated values. If not specified, the command generates 10 values.
Usage: Debug.GlobalRandom [Number of Samples] | [Number of Samples] value provided must be greater than 0. | debug_global_random_table | RandomCount | Sample | Random Log with Seed (%d) created at: %s
Debug.GlobalRandom
savegames.delete_allnothingDeletes all save games (local and cloud).savegames.delete_all
savegames.delete_cloudnothingDeletes all cloud save games.savegames.delete_cloud
print_states_with_most_small_popsnothingPrints states with the most pops of size below 1000, in descending order. Also works as states_with_most_small_pops.print_states_with_most_small_pops
savegames.delete_localnothingDeletes all local save games.
Usage: add_involvement <region_id> <value> | Invalid player country | Strategic region with that id not found | No existing interest; delta is zero, nothing to do | Cannot reduce involvement; no existing interest in region | Failed to create interest | Adjusted involvement in region id %d from %s to %s (delta %s) | Created interest and set involvement in region id %d to %s (delta %s)
savegames.delete_local
inspect_countrycountry_tag (optional)inspect_country <country_tag>: Opens the inspector with the defined country or player country if emptyinspect_country
create_naval_missionfleet_id (optional): the ID of the fleet to create the order forcreate_naval_mission <fleet_id>: Creates an intercept naval mission for the given fleet or all fleets in the player country if no fleet is givencreate_naval_mission
debug_supply_for_formationformation IDDebug supply path from logistics center to a military formationdebug_supply_for_formation
debug_supply_runsnothingList the drawn runs of the supply route arrows, with their lengths and sharingdebug_supply_runs
debug_ai_fleet_transfers<country>Prints the current transfers between fleets the AI is performingdebug_ai_fleet_transfers
debug_ai_fleet_assignments<country>Prints the current fleet composition assignments and pending/active fleet creation requests for the AIdebug_ai_fleet_assignments
optick_capture<start|stop> <samples per second when starting, file name when stopping>Starts an Optick capture, or stops it and saves the resultoptick_capture
dump_ticktask_timings<file name>Writes the tick task timings the game already records to a filedump_ticktask_timings
clear_ticktask_timingsnothingDiscards the tick task timings recorded so far, so the next dump covers only what followsclear_ticktask_timings
Logging.BuildingEmploymentCountry tag, defaults to the played countryLogs every built building with its employment, hiring status and wage decisionLogging.BuildingEmployment
print_world_gdpnothingPrints the combined yearly GDP of every country in the worldprint_world_gdp
ai_evaluate_straitstrait keyPrint how much the player's country depends on a strait and the grievances it holds there, as the AI measures them, plus the fallout of restricting it further when the player controls itai_evaluate_strait
loadingscreen_sampleSample countSamples the loading screen picker N times with a fixed seed and logs the count per screen, optionally for a Y.M.D dateloadingscreen_sample
TravelNetworkTools.CheckHubAnchorProvincesnothingLog every city, farm, mine, port and wood hub whose spline anchor lies outside the province its state region names for that hub.TravelNetworkTools.CheckHubAnchorProvinces

Cheat modes

These are the cheat modes in the game's list. Type the name to switch one on, and type it again to switch it off. A mode with a number, such as the speed ones, takes it after the name.

ModeLine to copy
fastresearchfastresearch
fastbuildfastbuild
fastenactfastenact
fastinvolvementfastinvolvement
fastrevolutionfastrevolution
fastsecessionfastsecession
fasthirefasthire
fastinstitutionsfastinstitutions
fasttravelsfasttravels
fastmobilizefastmobilize
norevolutionnorevolution
nosecessionnosecession
disable_retoolingdisable_retooling
skip_historyskip_history
permitmarginalizedingovernmentpermitmarginalizedingovernment
ignore_government_supportignore_government_support
skip_migrationskip_migration
disable_pop_growthdisable_pop_growth

Macros

The game ships a file of console macros, a name that runs several commands. The ones it has are below, and you can add your own to that file.

MacroArgumentsWhat it says it doesCommands it runs
debug_macro0turn on fastresearch and fastbuild and tag switch to Francefastresearch
fastbuild
tag FRA
debug_money1give us X moneymoney $1
debug_args2run debug_macro and give us $1 and $2 debug_moneydebug_macro
debug_money $1
debug_money $2

Where this list comes from

The game ships no list of its console commands. The code registers each one with its name, help text and argument hints, and we read those from victoria3.exe 1.15.2: 55 from the main table and 91 that the game registers one by one, mostly for debugging and the AI. The cheat modes are the game's own name list. The help text is the game's, typos included.

We found no hint of an argument for some commands, so their rows show the name only. Commands for developers write logs or files and do nothing you would see.

Spotted a mistake on this page, or have an idea for the site?