CK3 console commands
All 295 console commands registered in Crusader Kings III 1.20.0.3 — 195 of the game itself and the rest of the Paradox engine — read from the game's program file. The help line under each command is the game's own, the one help <command> prints in the console.
Looking for IDs to use with them? See trait IDs, event IDs and every ID list.
How to open the console
- In Steam, open the game's Properties → General and add
-debug_modeto the launch options. - Start a game that is not ironman and not multiplayer. In those the game answers
No Console commands in ironman!
andNo Console commands in multiplayer!
- Press the ` key (on some keyboards §, ~ or ^), type or paste a command and press Enter. Arguments go after the name, separated by spaces:
add_trait brave.
Where the character argument is optional, the game uses the character you play, as its help lines say. Debug mode turns achievements off for that game.
Character (40)
Traits, skills, age, nicknames, perks and relations.
add_lifestyle_xpAdds xp to the given lifestyle
Arguments:<lifestyle_type><amount>(optional)<character>(optional)
add_lifestyle_xp_allAdds xp all lifestyle
Arguments:<amount>(optional)<character>(optional)
add_perkGives a character (currently played character by default) a specific perk
Arguments:<perk><character>(optional)
add_relationadds a scripted relation
Arguments:<relation name><char01><char02>
add_secretGives a character (currently played character by default) a specific secret
Arguments:<type><target>(optional)<character>(optional)
add_traitalsoat,traitadds trait to a character
Arguments:TraitCharacter ID (optional, applies to player character otherwise)
ageAdds age to the current age
Arguments:AgeCharacter ID
change_diplomacyalsodiplomacyChanges the diplomacy of a character
Arguments:valuecharacter (optional)
change_intriguealsointrigueChanges the intrigue of a character
Arguments:valuecharacter (optional)
change_learningalsolearningChanges the learning of a character
Arguments:valuecharacter (optional)
change_martialalsomartialChanges the martial of a character
Arguments:valuecharacter (optional)
change_prowessalsoprowessChanges the prowess of a character
Arguments:valuecharacter (optional)
change_stewardshipalsostewardshipChanges the stewardship of a character
Arguments:valuecharacter (optional)
clear_character_modifiersRemoves all the modifiers of a character
Arguments:character (optional)
clear_traitsRemoves all the traits of a character
Arguments:character (optional)
gain_all_dynasty_perksalsolegacies,dynasty_perks,give_all_legaciesGives a dynasty (currently played character's dynasty by default) all perks
Arguments:character (optional)
gain_all_perksalsoperksGives a character (currently played character by default) all perks
Arguments:character (optional)
helloshow a character
Arguments:Character ID
hello_historyshow a character from history
Arguments:Scripted history character ID
historical_idalsohistshows the historical id of a character
Arguments:Character ID
killalsodiekill a character (currently played character by default)
Arguments:character (optional)
observealsoobstart observing the game
playchange played character
Arguments:Character ID
pregnancyalsochild_birth,impregnatemake a character pregnant
Arguments:mother idfather id (0 or empty for no father)instant birth (yes/no)
remove_nickalsoremove_nicknameRemoves the nickname of a character
Arguments:character (optional)
remove_relationadds a scripted relation
Arguments:<relation name><char01><char02>
remove_traitalsortremoves trait from a character
Arguments:TraitCharacter ID (optional, applies to player character otherwise)
secret_infoalsosiShows all info about all secrets that the character is involved in
Arguments:<character ID> (optional)
set_culturealsocultureSets the culture of a character
Arguments:<culture><character>(optional)
set_diplomacySets the diplomacy of a character
Arguments:valuecharacter (optional)
set_faithalsofaithSets the faith of a character
Arguments:faithcharacter (optional)
set_focusSet a focus for the character
Arguments:focus<character>
set_intrigueSets the intrigue of a character
Arguments:valuecharacter (optional)
set_learningSets the learning of a character
Arguments:valuecharacter (optional)
set_martialSets the martial of a character
Arguments:valuecharacter (optional)
set_nickalsoset_nicknameSets the specified nickname to a character
Arguments:nick_keycharacter (optional)
set_prowessSets the prowess of a character
Arguments:valuecharacter (optional)
set_sexualitysets the sexuality of a character
Arguments:sexualityCharacter ID (optional, applies to player character otherwise)
set_stewardshipSets the stewardship of a character
Arguments:valuecharacter (optional)
simulate_child_skillszeroes all base skills and simulate growth to a specific age of character (will change age)
Arguments:agecharacter id (optional)iterations
Gold, prestige & resources (16)
Currencies and meters.
add_dreadadd the value to existing dread
Arguments:<dread><character id> (optional)>
add_house_unity_valueChange house unity's value
Arguments:<value><character id>(optional)
add_influencealsoinfluenceAdds influence
add_meritalsomeritAdds merit
add_pietyalsopietyadd piety
Arguments:Amount
add_prestigealsoprestigeadd prestige
Arguments:Amount
add_stressadd the value to existing stress
Arguments:<stress><character id> (optional)>
change_barter_goodsalsoadd_barter_goods,barter_goodsadd/remove the value from existing barter goods
Arguments:<barter goods amount>
change_house_unity_stageChange the current house' unity stage
Arguments:<stage><character id>(optional)
change_provisionsadd/remove the value to existing provisions
Arguments:<provisions><character id> (optional)>
change_treasuryalsoadd_treasury,treasury,imperial_treasuryadd/remove the value from existing treasury
Arguments:<treasury amount>
dynasty_prestigealsorenown,add_renownAdds prestige to the given dynasty
Arguments:amount (optional, default: 1000)dynasty ID (optional, default: player dynasty)
goldalsocash,doughadd gold
Arguments:Amount
set_dreadchange dread to the value
Arguments:<dread><character id> (optional)>
set_provisionschange provisions to the value
Arguments:<provisions><character id> (optional)>
set_stresschange stress to the value
Arguments:<stress><character id> (optional)>
Titles, laws & realm (18)
Titles, claims, laws, factions and development.
add_claimalsoacGives the character a claim on the title
Arguments:Character ID (optional, the player by default)Title
add_realm_lawAdds a realm law
Arguments:<law><character>(optional)
add_realm_law_skip_effectsAdds a realm law, skips the cost and the pass effect, and the revoke effects of the current law
Arguments:<law><character>(optional)
add_title_lawAdd law to title
Arguments:titlelaw
change_development_levelChanges the development level of a county, defaults to capital
Arguments:<amount><province_id>(optional)
clear_title_lawsclear all laws from title
Arguments:title
create_contractCreate contract for target character
Arguments:<character id><type><province id><tier>
end_diarchyEnd diarchy for the character
Arguments:<character id>
faction_demandThe first faction of the specified type sends its demand
Arguments:<faction_type>
faction_discontentSets discontent of the first faction of the specified type
Arguments:<faction_type><discontent_value>
faction_spawnSpawns a faction of the specified type
Arguments:<faction_type>
find_titlefind a title
Arguments:Title name
give_titlealsogt,usurpGives the title to the specified character
Arguments:TitleCharacter ID (optional, the player by default)
recalculate_successionrecalculates the succession of a character
Arguments:Character ID
recalculate_vassal_stanceRecalculate the vassal stance of the target character.
Arguments:<character id>
show_titleshow a title
Arguments:Title tag
start_diarchyStart diarchy for the character
Arguments:<liege character id><diarch character id><diarchy type>
tick_developmentTick the spreading of development for X ticks
Arguments:<Number of ticks>
Culture & faith (15)
Cultures, innovations, eras, doctrines, tenets and struggles.
activate_struggle_catalystActivate struggle catalyst
Arguments:<struggle><catalyst><character id>
add_doctrineAdds a given doctrine to a faith
Arguments:<doctrine><faith>(optional)
add_tenetAdds a given tenet to a faith
Arguments:<tenet><faith>(optional)
change_culturechange culture of a county
Arguments:province idculture
change_fervoralsofervorChanges the fervor of a faith
Arguments:<amount>(optional)><faith>(optional)
discover_all_erasDiscover all eras and all innovations
Arguments:character (optional)
discover_eraDiscover all innovations of a certain era (and the era itself)
Arguments:era (optional, default is current era)character (optional)
discover_fascinationalsoadd_fascinationDiscover the innovation that is the current fascination for a character's culture
Arguments:character (optional)
discover_innovationalsoadd_innovationDiscover an innovation for a character's culture
Arguments:innovationcharacter (optional)
join_eraalsounlock_eraJoin a certain era (and all previous ones)
Arguments:eracharacter (optional)
merge_culturemerge all counties of one culture into another culture
Arguments:from cultureto culture
progress_struggle_phaseAdd progress towards a struggle phase
Arguments:<struggle><phase><progress_value>
remove_doctrineRemoves a given doctrine from a faith
Arguments:<doctrine><faith>(optional)
remove_tenetRemoves a given tenet from a faith
Arguments:<tenet><faith>(optional)
start_struggleStart a struggle
Arguments:<struggle><starting phase>(optional)
Map, armies & travel (17)
Instant build and movement, men-at-arms, travel, epidemics, artifacts.
abort_travel_planAbort any ongoing travel.
Arguments:<character id>
add_all_artifact_typesCreate new artifacts, one of each type
add_all_artifact_visual_typesCreate new artifacts, one of each visual type
add_maaAdd an men-at-arms regiment to the character
Arguments:MAA type<character><banner_index>
add_pending_court_eventAdd a pending court event to the local player
fowThe game gives no help text for this one (a console variable: typing it toggles it).
generate_cadet_coaGenerate a CoA for this character as if they were a cadet of their dynasty
Arguments:character (optional)
instabuildalsoquickbuildPlayers build things instantly
instamovealsoquickmoveunits and travels move one province each day
instant_birthToggles if children should be born instantly or as normal
instatravelToggles Instatravel
redraw_coaRedraw coat of arms
select_provinceselect a province
Arguments:Province Id
skip_activity_phaseSkip the current phase in the involved activity of the character
Arguments:<character-id> optional
spawn_epidemicSpawn an epidemic.
Arguments:<epidemic type><province id><intentsity>
start_travel_planStart a travel plan, with one or more destinations. Declare waypoints before your destination, with ';' and no spaces.
Arguments:<destination(s)>
travel_reroute_to_homeReroute an ongoing travel plan to 'home'.
Arguments:<character id>
AI & interactions (17)
What the AI accepts, schemes, decisions and interactions.
AI.declare_warCauses the AI to declare a war (according to normal weighting), bypassing all pacing checks and the like
Arguments:character (optional)
AI.Disabledisables the AI of a character
Arguments:Character ID
AI.Enableenables the AI of a character
Arguments:Character ID
ai.interaction_valuesOutputs the AI-related values for an interaction between two characters
Arguments:<interaction type><actor character id><recipient character id> (optional)
AI.ToggleAllToggle AI on/off for all characters
AI.try_send_decisionThe AI will try to send the given decision for the character you're observing as. Bypasses pacing mechanisms, but will require a positive score
Arguments:<decision_type>
AI.try_send_interactionThe AI will try to send the given interaction for the character you're observing as, or the character ID you specify as a second argument. Bypasses pacing mechanisms, but will require a positive score.
Arguments:<interaction_type><character runtime ID>
bypass_requirementsalsobypassYou get to bypass the requirements of decisions, interactions, schemes, laws, and title creation
complete_schemesAll the character's scheme will be completed, succeeding or not as normal
Arguments:<character id> (optional)
end_schemesEnds all schemes target to the player
instant_responsesAll the players interactions will be responded to *immediately*
know_schemesDiscovers all schemes target to the player
nomenalsonoman,debug_nomen,nmAI will always say no to everything within a day
set_is_aiSet a character to be controlled by an AI
Arguments:Character Id
set_is_playerSet a character to be controlled by a player
Arguments:Character Id
yesmenalsoyesman,debug_yesmen,ymAI will always say yes to everything within a day
yesmen_instantalsoymiAll the players interactions will be accepted, and will be accepted *immediately*
Events, dates & saves (12)
Fire events, change or watch the date, save and load.
debug_eventTrigger an event for a character. It will also print the event trigger, which can however cause some false positive error logs.
Arguments:eventidcharacter
eventTrigger an event for a character
Arguments:eventidcharacter
loadLoad gamestate from savegame on disk
Arguments:file name
pause_and_save_onpauses and saves the game when it reaches the given date or event
Arguments:date (YYYY.MM.DD)/event ID
pause_onpauses the game when it reaches the given date or event
Arguments:date (YYYY.MM.DD)/event ID/<duration> s/m/h eg: 2h 20m
saveSaves current gamestate to disk
Arguments:file name
save_everysaves the game every x years
Arguments:interval in years (number)
save_onsaves the game when it reaches the given date or event
Arguments:date (YYYY.MM.DD)/event ID
save_textSaves current gamestate to disk with save type: Text
Arguments:file name
set_datesets the current date to the given date
Arguments:date (YYYY.MM.DD)
test_eventEvaluate if an event can be triggered for a character. It will also print the event trigger to the console, which can however cause some false positive error logs.
Arguments:eventidcharacter
tick_dayTicks any number of days
Arguments:number of days
Debug & testing (61)
Logs, timers, validation and other developer tools of the game.
ai_war_coordinator_watchEnables AI war coordinator watch window
aiwatchEnables ai watch windows
charinfoToggles the visibility of the character debug info.
clearalsoclrClear console.
count_unique_emblem_colorsCounts the number of colors available per emblem (1-3) in every file in a given directory with an optional file format (defaults to '.dds')
Arguments:directoryfile extension
ctPuts timer info in clipboard
dump_character_creation_statsDump statistics about the pool to 'logs/character_creation_stats.csv'
dump_pool_statsDump statistics about the pool to 'logs/pool_stats.csv'
dump_scripted_relation_statsDump statistics about where scripted relations are being created to 'logs/scripted_relation_stats.csv'
dump_title_hierarchyOutput the title hierarchy to title_hierarchy.csv
effectexecute effect
Arguments:{effect script}
errorShow errors in log
event_countsPrint event debug counts
event_queuePrint event queue debug
fast_tickFaster ticking (lower frame rate)
force_oosForce OoS
force_save_compressionToggle if saves should be compressed
gamelogShow game log
hard_debug_poolsValidate that all pools contain correct characters
helpPrint out all console commands or a specific command description.
Arguments:command name
helphelpDouble Rainbow help.
hostOpens a game for multiplayer
Arguments:<Game Name><Password>
kickKicks a player with the given name
Arguments:<Player name>
loading_screenalsolsStays on the next load screen
log_missing_game_concept_locLogs all game concepts that have not had their loc key defined
Log.SpecialActionFactoriesLogs all registered special action factories to the debug log
Logging.SubjectContractsLog subject contracts
Arguments:government type filter
missing_trigger_localizationDump list of potential list of triggers missing localization. Can include false positives, and miss others.
modifier_docs_fullPrints full script documentation without modifier name overrides
oos_dumpDumps OOS info.
output_terrainOutputs province terrain file.
playersLists all players on server
print_randomlogPrints the current randomlog.
rebuild_gamestate_cacheRebuild the gamestate cache
recalculate_modifiersRecalculates modifiers
Arguments:{if an argument is given, ALL modifiers will be calculated}
runexecute effect file in /run
Arguments:{effect file}
save_zip_binary_gamestateSaves current gamestate to disk with save type: ZipBinaryGameState
Arguments:file name
scripted_testsRun scripted tests
Arguments:pattern (optional)
ScriptOptimizer.CalculateTriggerDynamicOptimizationsOptimize script performance by using evaluation measurement data.
ScriptOptimizer.DumpHeuristicsInfoDump information about script heuristics.
ScriptOptimizer.ReadOptimizationCachesRead trigger evaluation weights from cache file
ScriptOptimizer.WriteOptimizationCachesWrite trigger evaluation weights to cache file
statisticsLogs statistics
suppress_messagesToggle if all messages (toasts/notifications) should be suppressed
test_messageTest sending a message
Arguments:typechar_id/title_key
test_saveCheck save and load persistence
timerPrints out debug timing info
timer_dumpDumps debug timing info
timer_resetResets debug timing
timer_restartRestarts (resets and starts) debug timing
timer_startStarts debug timing
timer_stopStops debug timing
toggle_keys_on_mapToggles the map showing keys instead of localized names
triggertest trigger script
Arguments:{trigger script}
validate_character_invariantsValidate the invariants of the character manager
verify_ai_pathVerify an AI unit's path
verify_title_historyfind gaps in title history
Arguments:Title nameWhether or not to include vassals (optional, default is no)
verify_title_history_allfind gaps in every title's history
versionPrints the version to the console and the game log.
watchalsowwEnables watch windows
Engine & tools (99)
Commands of the shared Paradox engine: editors, graphics, logs. Mostly for developers and modders; shown for completeness.
Adjacencies.RebuildRebuild all adjacencies
animation.testwindowToggles the animation test window
Application.ChangeResolutionChange the resolution through the console
audio.cpu_infoShows current cpu usage
audio.list_eventsList audio event
audio.play_eventPlay audio event
Arguments:Audio event
Checksum.LogLog the game state checksums to the game log.
clearlinesClear lines
compound_nodeeditorCompound Node Editor
crashCause the application to crash
CrashReporter.DeleteCrashDataDelete local crash dumps older than X days.
CrashReporter.SimulateCrashSimulates a crash (resulting in the game exiting).
debug_modeToggles debug mode
Debug.FakeMPThe game gives no help text for this one (a console variable: typing it toggles it).
Debug.TextureModeEnables a texture mode for debugging
Arguments:Name of debug mode
Dockables.CreateCreate dockable
Arguments:Dockable name
Dockables.CreateUserLayoutCreate a new user layout copy of current layout, with new name.
Arguments:Dockable layout name
Dockables.DeleteUserLayoutDelete layout as user layout
Arguments:Dockable layout name
Dockables.HideLayoutHide any shown dockable layout
Dockables.SaveUserLayoutSave current layout to disk as user layout, optionally under a new name.
Arguments:Dockable layout name
Dockables.ShowLayoutShow an existing (user) layout, hide current layout
Arguments:Dockable layout name
Dockables.ShowManagerShow dockable layout manager
drawcmdsviewerDraw Cmds Viewer
dump_bookmark_portrait_forWrites portrait data for a specific character at the current date
Arguments:optional character id list
dump_bookmark_portraitsWrites portrait data for all bookmark characters at current date
dump_data_typesalsoDumpDataTypesdumps the registered data types
dump_tweakablesDumps all available tweakables to the specified file in the user folder.
explorerShows an object explorer window
explorer_resetResets the object explorer position and defaults
FogOfWar.EnableThe game gives no help text for this one (a console variable: typing it toggles it).
FogOfWar.ToggleMaskVisibilityThe game gives no help text for this one (a console variable: typing it toggles it).
FPSStatsToggles 3D Stats
gfx.reloadtextureReload textures
gfx.skinselect active gfx skin
gfx.texture_limitSet texture video memory limit in megabytes
GradientBorders.FullRebuildThe game gives no help text for this one (a console variable: typing it toggles it).
gui_editorSpawns gui editor
GUI.AnimationTimeline.LogStatsDump stats of the GUI Animation Timeline system to the debug log.
GUI.ClearWidgetsClear dummy widget
io_statsalsoiostatsToggles IO Stats
io_stats.Resetalsoiostats.resetResets IO Stats
Localization.ToggleIncludeKeyInLocOutputIncludes the loc key in localization output
Localization.ToggleOnlyKeyInLocOutputShows only the loc key in localization output
Localization.ToggleSkipDataSystemInLocOutputDon't run the data system at all in loc
logVarious, see below
Log.ClearAllClears all logs
Log.ClearErrorLogClears out error.log and resets the error count
Managers.court_positions.ToggleThe game gives no help text for this one (a console variable: typing it toggles it).
Managers.epidemics.ToggleThe game gives no help text for this one (a console variable: typing it toggles it).
Managers.legends.ToggleThe game gives no help text for this one (a console variable: typing it toggles it).
map_editorToggle map editor
MapObjects.Painter.ClampToWaterLevelThe game gives no help text for this one (a console variable: typing it toggles it).
MapObjects.Painter.RandomRotationThe game gives no help text for this one (a console variable: typing it toggles it).
MapObjects.Painter.SaveAfterAddThe game gives no help text for this one (a console variable: typing it toggles it).
MapObjects.Painter.UsePdxMeshThe game gives no help text for this one (a console variable: typing it toggles it).
measure_frame_timeMeasures avg/min/max frame time and prints the result to debug.log once stopped
Arguments:"start" or "stop" measuring
memory_dumpalsomemdumpWrites memory stats to logs/memory_stats_<label>.csv
Arguments:label
memory_snapshotalsomemsnapGenerate a memory snapshot
memory_statsalsomemstatsToggles Memory Stats
memory_stats.Resetalsomemstats.resetResets Memory Stats
Messagealsosocial_addfriendAdd a friend to friends list
Arguments:Context IndexAccount ID
minidumpCreates a minidump
Arguments:file path
net_debuginfoPrint debug info about the networking layer
net_statsalsonetstatsToggles Net Stats
net_stats.Resetalsonetstats.resetResets Net Stats
particleeditorParticle Node Editor
portrait_editoralsopeOpen the portrait editor
print_ai_timingsPrints profiling data about ai
print_event_timingsPrints profiling data about events
pseudoLocEnable/Disable Pseudo Localization on Text Widgets
RandomLogToggles random logging
RandomLog.DumpDump random log data to a file.
Arguments:Frame count to dump, or * to dump all available frames (defaults to *)Target filename (defaults to random.log)
release_modeToggles release mode
reloadReloads assets
Arguments:file name
rendertypeReports what render backend is used
save_game_analyzerOpen the save game analyzer
screenshotTake screenshot
screenshotutils_windowalsoscreenshot,switchlanguageReload localization files and switch language
Arguments:language name
script_docsalsoscript_documentationPrints script documentation
Script.Profiling.RestartStop and then restart capturing script profiling data
Script.Profiling.StartStarts capturing script profiling data
Script.Profiling.StopStop capturing script profiling data
send_player_snapshot_telemetrySends the player_snapshot telemetry event for the played character right now, ignoring the yearly interval
settingsSpawns a settings GUI with an optional argument for an initially selected category
spawnlineSpawns specified line between 2 positions
Arguments:<line name><start position 'x,y,z'> (no spaces)<end position x,y,z> (no spaces)
swapchain.buffersQuery/Set swapchain buffers
texturelistTexture List
textureviewerTexture Viewer
Threading.TaskThreadCountSet or get the number of task threads
Arguments:The number of task threads
timeWhat time is it?
tools.skinsSkin Editor
tutorial.debugwindowShows the tutorial debug window
tutorial.disableDisable the tutorial
Arguments:gamestate/global/all (default: global)
tutorial.enableEnable the tutorial
Arguments:gamestate/global/all (default: global)
tutorial.resetalsotutorial_reset,reset_tutorialReset the tutorial
vsyncToggle main swapchains vsync
Source: binaries/ck3.exe of Crusader Kings III 1.20.0.3 (Steam build 25652598). The game keeps no data file of its commands: names, aliases, help lines and argument names are the strings the program registers its commands with. Grouping is this site's. A few commands set up in other ways may be missing.