0% found this document useful (0 votes)
346 views

Commands GG ck2

This document provides a summary of 144 console commands for the game Crusader Kings 2. The commands allow players to modify characters, titles, technology, and other game elements for cheating or testing purposes. Commands are entered into the game's console using the grave key. Character and province IDs must be specified for many commands to target the correct game element.

Uploaded by

Kris
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
346 views

Commands GG ck2

This document provides a summary of 144 console commands for the game Crusader Kings 2. The commands allow players to modify characters, titles, technology, and other game elements for cheating or testing purposes. Commands are entered into the game's console using the grave key. Character and province IDs must be specified for many commands to target the correct game element.

Uploaded by

Kris
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Witcher 3 AoE 2 M2TW DS3 XCOM 2 Imperator: Rome Spore AoM AoE 3 Starbound The Forest AoE L4D2

Starbound The Forest AoE L4D2 Victoria 2 KOTOR I & II Factorio SCUM 7DTD CK2

Commands.gg / CK2 Console Commands

CK2 Cheats
Find below a searchable list of all 144 Crusader Kings 2 console commands, these are commonly referred to as cheat codes. The below table contains all commands from all DLCs, and is up-to-date for the latest
version of the game on Steam (PC / Mac).

To open the console in Crusader Kings 2, press the ` (grave) key on your keyboard. Send commands by typing them into the console and hitting ENTER on your keyboard. If you can't open the console, or need help
using it, see our CK2 console help page.

To find character IDs, type the charinfo command into the console. After using this command, character IDs will be shown in the tooltips of characters when you hover over their portraits. Use the links below to find
lists of other ID codes for CK2.

CK2 PROVINCE IDS CK2 EVENT IDS OTHER CK2 IDS AND CODES CK2 BLOG

To change how commands are displayed, click the "Table View" and "Card View" buttons. To swiftly search our database of 144 Crusader Kings II commands, type the name of a command into the search box below.

TABLE VIEW CARD VIEW Type to search...

Name Syntax Description

This command adds the specified amount of score to your character. If you don't specify a number after the command, 5,000 score will be added
score score [amount]
by default. Specify a negative amount to reduce your score.

This command adds the specified amount of prestige to your character. If no amount is specified, 5,000 prestige will be added. Specify a negative
prestige prestige [amount]
amount to remove prestige.

This command adds the specified amount of piety to your character. If you do not specify an amount, 5,000 piety will be added. Specify a negative
piety piety [amount]
amount to remove piety.

This command adds the specifiy amount of infamy to your character's infamy level (max. 100%). Infamy is also known and displayed as 'Threat' in
infamy infamy [amount]
the game. Specify a negative number to reduce infamy.

This command advances all technology to its maximum level in the province with the specified ID. If you do not specify a province ID, technology
max_tech max_tech [province id]
will be maxed out in all provinces.

kill kill [character id] This command kills the character with the specified ID.

religion [character id] [religion This command changes the religion of the specified character. If you don't specify a character ID, the religion of your own character will be
religion
id] changed. Note that if you change your religion to one from a DLC that you do not own, your game will end.

add_artifact [artifact id] This command adds the artifact with the specified artifact ID to the specified character. If you do not specify a character ID (just the artifact), the
add_artifact
[character id] artifact will be added to your character.

This command adds every artifact in the game to the character with the specified ID. If you do not specify a character ID, the artifacts will be
get_all_artifacts get_all_artifacts [character id]
added to your own character.

destroy_artifact [artifact id] This command removes the artifact with the specified artifact ID from the specified character. If you do not specify a character ID, the artifact
destroy_artifact
[character id] will be removed from your own character.

add_diplomacy [character id] This command adds the specified amount of diplomacy to the character with the specified ID. Specify a negative amount to remove diplomacy.
add_diplomacy
[amount] Specify your own character's ID to add or remove diplomacy from the character you are playing as.

add_intrigue [character id] This command adds the specified amount of intrigue to the character with the specified ID. Specify a negative amount to remove intrigue. Specify
add_intrigue
[amount] your own character's ID to add or remove intrigue from the character you are playing as.

add_learning [character id] This command adds the specified amount of learning to the character with the specified ID. Specify a negative amount to remove learning.
add_learning
[amount] Specify your own character's ID to add or remove learning from the character you are playing as.

add_martial [character id] This command adds the specified amount of martial to the character with the specified ID. Specify a negative amount to remove martial. Specify
add_martial
[amount] your own character's ID to add or remove martial from the character you are playing as.

add_stewardship [character id] This command adds the specified amount of stewardship to the character with the specified ID. Specify a negative amount to remove
add_stewardship
[amount] stewardship. Specify your own character's ID to add or remove stewardship from the character you are playing as.

This command adds the trait with the specified ID to the character with the specified ID. If you do not specify a character ID, the trait will be
add_trait add_trait [trait id] [character id]
added to the character you are playing as.
remove_trait [trait id] This command removes the specified trait from the character with the specified ID. The trait will be removed from the character you are playing
remove_trait
[character id] as if you do not specify a character ID.

add_modifier [modifier id]


add_modifier This command adds the specified modifier to a character for a specified amount of time (in days).
[character id] [duration]

remove_modifier [modifier id]


remove_modifier This command removes the specified modifier from a character.
[character id]

This command changes a character's age by the specified amount - i.e. you can make a character older or younger with this command. If you
age age [character id] [years]
want to change the age of your own character, you need to specify your character's ID. Specify a negative number to reduce a character's age.

banish banish [character id] This command banishes the character with the specified ID.

capital capital [province id] This command changes the capital of your kingdom to the province with the specified ID.

clr_moved_capital [character This command clears the 'moved capital flag' that your character receives after moving your capital. Clearing the flag allows you to move your
clr_moved_capital
id] capital again (as you can't move your capital twice). The character ID argument may not work.

cash cash [amount] This command adds the specified amount of cash (gold/wealth) to your chracter.

claim claim [title id] [character id] This command adds a claim to the title with the specified ID for a character, or for your own character (if you do not specify a character ID).

coalition coalition [character id] This command will make the first specified character start a coalition against the second specified character. If there is already a coalition
[character id] between the two characters, the coalition will be ended.

council_positions [character id
council_positions This command shows the AI score of each council position for the specified character or title.
/ title id]

This command clears the focus of the character with the specified ID. If you do not specify a character ID, the focus of the character you are
clr_focus clr_focus [character id]
playing as will be cleared.

culture [character id] [culture


culture This command sets a character's culture to the culture specified.
id]

decadence decadence [level] This command sets your kingdom's decadence to the specified number (0-100%).

decision [decision id] This command makes the specified character execute the decision with the specified ID. If you do not specify a character ID, the character you
decision
[character id] are playing as will execute the decision.

die die This command will make your current character die of a natural death, making you play as a new character.

This command enables the enforce peace mechanic in your realm, note that you may need to restart your game to disable the effect of this
enforce_peace enforce_peace
command.

This command enables the enforce peace mechanic in your liege's realm, note that you may need to restart your game to disable the effect of this
liege_enforce_peace liege_enforce_peace
command.

enable_ambition enable_ambition [character id] This command allows the character with the specified ID to cancel their existing ambition and set a new one.

event [event id] [character id / This command runs the event with the specified event ID. You can optionally specify a character ID, or a province ID, that you wish to run the
event
province id] event in or on.

testevent [event id] [character


testevent This is a test command, use the event command to run events. This command will test an event without actually triggering it.
id / province id]

favor_get favor_get [character id] This command grants a favor to your character from the character with the specified ID (i.e. they owe you a favor).

favor_grant favor_grant [character id] This command granits a favor from your character to the character with the specified ID (i.e. you own them a favor).

gfx_culture [character id]


gfx_culture This command sets the ethnicity (i.e. GFX culture) of the specified character, this changes how they look in their portrait.
[culture id]

This command forces the character with the specified ID to give birth. Note that the character must already be pregnant (it doesn't matter what
give_birth give_birth [character id]
stage they are at, however).

This command gives the title with the specified ID to the character with the specified character ID. You need to specify your own character's ID if
give_title give_title [title id] [character id]
you wish to change the title of your own character.

imprison [character id] This command jails the first specified character, and makes the second specified character the one who puts them in jail (i.e. character 1 is
imprison
[character id] jailed, character 2 is the jailor). If you do not specify a second character ID, your character will be the jailor.

join_society join_society [society id] This command makes your character join the society with the specified ID.

leave_society leave_society [society id] This command makes your character leave the society with the specified ID.

move [character id] [character NOTE: This command has been reported as broken or incorrectly functioning - it may not work as intended. This command moves the first
move
id] specified character to the court of the second specified character.

neg_opinion [character id] This command adds a negative opinion from the first specified character towards the second specified character (i.e. character 1 hates
neg_opinion
[character id] character 2). Note that there is no command to add opinion so the effects of this command are not easily undoable.

nickname [nickname id] This command gives the nickname with the specified ID to the specified character. If you do not specify a character, the nickname will be given
nickname
[character id] to your character.
This command will make you play as the character with the specified ID. NOTE: This command resets the chronicle of your character when you
play play [character id]
use it.

This command runs the script/commands in the specified text file. The file should be placed in your game's main directory (where CK2game.exe
run run [file name]
is located), which is usually found in your Steam Library.

techpoints techpoints This command adds 1,000 technology points for each type to your character (Military, Economy and Culture).

This command recalcuates succession for the character with the specified character ID. If you don't specify a character ID, succession will be
recalc_succ recalc_succ [character id]
recalculated for your own character.

secret_religion [character id]


secret_religion This command sets the secret religion of the specified character to the specified religion.
[religion id]

set_government [government This command changes the government type of the character with the specified ID. Note that if you change your government type to one from a
set_government
type id] [character id] DLC that isn't installed, the game will end.

titleowner [title id] [character This command has two uses. If you specify just a title ID, the command will print to console the current holder of that title. If you specify a title ID
titleowner
id] and a character ID, the specified character will become the holder of the title.

validate_government This command validates the government of the character with the specified character ID. If you do not specify a character ID, your own
validate_government
[character id] government will be validated.

validate_laws validate_laws [character id] This command validates the laws of the specified character's primary holding. You need to specify your own character's ID if you wish to validate

your own laws.

validate_lieges validate_lieges [title id] This command validates the lieges of the title with the specified ID.

set_society_grandmaster This command sets the grandmaster of your current society to the character with the specified ID. If you do not specify a character ID, you will
set_society_grandmaster
[character id] become the grandmaster of your society. You need to be in a society for this command to work.

show_all_societies show_all_societies This command enables and disables (toggles) the showing of all societies in the society view.

society_rank_up society_rank_up [amount] This command ranks your character up in his/her society by the specified amount of ranks.

society_rank_down society_rank_down [amount] This command ranks your character down in his/her society by the specified amount of ranks.

This command gives your character the specified amount of currency for the society they're currently in. If you do not specify an amount, the
society_currency society_currency [amount]
default amount of 5,000 currency will be added to your character.

This command is also known as the 'instant construction' cheat, it enables and disables (toggles) quick build. When quick build is enabled, all of
quickbuild quickbuild
your constructions will be completed within one day (regardless of how long they usually take).

usurp usurp [title id] [character id] This command makes the specified character usurp (take by force) the specified title for themselves.

yesman yesman This command toggles (enables and disables) yesman mode. In yesman mode, the AI will accept all diplomatic offers you make.

allow_laws allow_laws This command enables and disables (toggles) the ability for you to change laws freely.

real_fathers real_fathers This command enables and disables (toggles) true fathers being shown in the family tree.

This command enables and disables (toggles) the display of debug information being shown in the tooltips of characters, titles and events.
charinfo charinfo
Debug information includes character IDs, ethnicities, AI stages, and more.

This command enables and disables (toggles) the display of debug information being shown in the tooltips of characters, titles and events.
debug_mode debug_mode
Debug information includes character IDs, ethnicities, AI stages, and more.

de_jure_counties de_jure_counties This command switches the map mode to the de jure counties map mode.

discover_plots discover_plots This command enable and disables (toggles) automatic plot discovery.

This command enables and disables (toggles) fog of war (FOW) in the province with the specified ID. If you do not specify a province ID, fog of
fow fow [province id]
war will be toggled across the entire map.

game_speed game_speed [speed] This command sets the speed that time goes by at in the game (a number between 0 and 4, 0 being the slowest).

This command sets the game's pause state - true being paused and false being unpaused. If you don't specify true or false as an argument, the
game_paused game_paused [true / false]
pause state will be toggled.

get_offmap_holder [offmap
get_offmap_holder This command prints to console the name and character ID of the character in control of the specified offmap holder.
power id]

set_offmap_status [offmap
set_offmap_status This command sets the status of the specified offmap power to the specified status. See argument information for status IDs.
power id] [status id]

set_offmap_policy [offmap
set_offmap_policy This command sets the policy of the specified offmap power to the specified policy. See argument information for policy IDs.
power id] [policy id]

kill_offmap_ruler [offmap
kill_offmap_ruler This command kills the ruler of the specified offmap power.
power id]

kill_offmap_dynasty [offmap
kill_offmap_dynasty This command kills the ruler and dynasty of the specified offmap power, and then generates a dynasty and ruler.
power id]
add_offmap_currency [offmap
add_offmap_currency This command gives you the specified amount of currency for the specified offmap power. Specify a negative amount to remove currency.
power id] [amount]

This command adds the specified amount of nomadic manpower to your kingdom (provided you are a nomad character). If you do not specify an
manpower manpower [amount]
amount, 5,000 manpower will be added. Specify a negative amount to remove manpower.

This command adds the specified amount of nomadic population to your kingdom (provided you are a nomad character). If you do not specify an
population population [amount]
amount, 5,000 population will be added. Specify a negative number to remove population.

marry_anyone marry_anyone This command enables and disables (toggles) the ability for you to marry anyone in the game (restrictions no longer apply).

morehumans morehumans [amount] This command adds the specified amount of humans to your kingdom.

neg_diplo neg_diplo This command enables and disables (toggles) your ability to send diplomatic messages to other kingdoms, even if they will be refused.

nextsong nextsong This command skips to the next song in the game's soundtrack.

outbreak outbreak [disease id] This command starts an outbreak of the disease with the specified ID in a random province. See argument information for disease IDs.

plots_known plots_known This command enables and disables (toggles) the knowledge of all plots in the game (i.e. with this enabled, all plots are known).

This command will make the game recalculate the positions of each member of the council. Usually council positions are calculated periodically,
recalc_council recalc_council
so this command is useful for making things update sooner.

set_flag set_flag [flag name] This command sets the specified flag (to true).

clr_flag clr_flag [flag name] This command clears the specified flag.

set_prov_flag [flag name]


set_prov_flag This command sets the specified province flag (to true).
[province id]

clr_prov_flag [flag name]


clr_prov_flag This command clears the specified province flag.
[province id]

set_char_flag [flag name]


set_char_flag This command sets the specified character flag (to true).
[character id]

clr_char_flag [flag name]


clr_char_flag This command clears the specified character flag.
[character id]

validate_cultural_names validate_cultural_names This command makes the game validate cultural title names.

spawn_disease [disease id] This command starts an outbreak of the disease with the specified ID in a specified provice (specified by its province ID). See argument
spawn_disease
[province id] information for disease IDs.

character_stats character_stats This command prints to console a collection of statistics about characters in the game.

dynasty_stats dynasty_stats This command prints to console a collection of statistics about dynasties in the game.

destroy_settlement
destroy_settlement This command destroys the settlement with the specified ID.
[settlement id]

murder [character id] This command will murder a specified character. The first character ID you specify is the character you wish to be the murderer, the second
murder
[character id] character ID is the ID of the character you wish to be murdered.

pollinate [character id] This command will make a character impregnate another character. The first character ID you specify is the character you wish to be the mother,
pollinate
[character id] the second character ID you specify is the character you wish to be the father.

cuckoo [character id] This command will make a character impregnate another character, but the father will be unknown. The first character ID you specify is the
cuckoo
[character id] character ID of the mother, the second character ID is the ID of the father.

revolt revolt [province id] This command initiates a revolt in the province with the specified ID.

This command changes the succession type of your kingdom - i.e. who is heir to the throne when your character dies. See argument information
succ succ [succession type id]
for succession type IDs.

add_lover [character id]


add_lover This command makes the two specified characters lovers of each other.
[character id]

add_friend [character id] This command makes the two specified characters friends of each other. If you do not specify a second character ID, your own character will
add_friend
[character id] become friends with the specified character ID.

remove_friend [character id] This command makes the two specified characters stop being friends with each other. If you do not specify a second character ID, your own
remove_friend
[character id] character will stop being friends with the specified character.

add_rival [character id] This command will make the two specified characters become rivals. If you do not specify a second character ID, the character you are playing
add_rival
[character id] as will become a rival of the specified character.

remove_rival [character id] This command ends the rivalry between the two specified characters. If you do not specify a second character ID, your own character's rivalry
remove_rival
[character id] with the specified character will be terminated.

This command enables and disables (toggles) the flipping of map modes. With this setting on, at the start of each new day, the map mode will be
flip_mapmodes flip_mapmodes
cycled to the next.
province_religion [province id]
province_religion This command changes the religion of the province with the specified ID.
[religion id]

clear clear This command clears all of the messages in the console (so the console is empty, as if it were just opened).

debug_crash debug_crash This command will crash your client (quite literally). It is not recommended you run this command.

debug_dumpevents debug_dumpevents This command prints a list of all events to a file named dump_events.csv (located in your main game directory).

debug_events debug_events This command enables event debuging (the counting of events). It is not known if there is a way to turn this off without restarting your game.

This command enables and disables (toggles) nomen mode. When nomen mode is enabled, the AI will automatically decline any diplomatic
debug_nomen debug_nomen
offers you send them (regardless of circumstance).

debug_triggerassert debug_triggerassert This command makes the game throw an assert.

This command enables and disables (toggles) yesmen mode. When yesmen mode is enabled, the AI will automatically accept any diplomatic
debug_yesmen debug_yesmen
offers you send them (regardless of circumstance).

eventinfo eventinfo This command may crash your game - it should print to console the number of event currently running.

guibounds guibounds This command enables and disables (toggles) the GUI bounds debug menu.

fullscreen fullscreen This command enables and disables (toggles) full screen mode for your game (i.e. it will switch from windowed to fullscreen or fullscreen to
windowed).

hello [character id / title This command opens the character screen for the character with the specified ID. You can open a title screen with this command by specifying a
hello
screen id] title screen ID instead.

This command prints a list of all console commands in the game to the console, or if you specify a command as an argument (e.g. 'help
help help [command name]
max_tech'), help for that specific command will be printed to the console.

helplog helplog This command prints a list of all console commands to the game.log file.

This command enables and disables (toggles) all AI. With AI disabled, all characters, mechanics, etc that are usually controlled by AI will stop
noai noai
running.

numcoas numcoas This command prints to console the amount of coats of arms that have been used.

This command enables observer mode, in which you do not play a character at all, and the AI will control the game. You can take partial control of
observe observe
a character by holding CTRL and clicking them. Use the play command to resume play again.

print_player_events print_player_events This command saves a list of all player events to a file named player_events.csv, which is located in the main game folder.

print_ai_events print_ai_events This command saves a list of all AI events to a file named ai_events.csv, which is located in the main game folder.

refresh_portraits refresh_portraits This command makes all character portraits refresh (i.e. they are reloaded from the file, meaning any changes you have made will be applied).

reload reload [file name] This command reloads the specified file.

This command reloads all events in the event database - useful for applying changes that you have made to events without having to restart the
reloadevents reloadevents
game.

reloadfx [map / postfx / fx file


reloadfx This command reloads the specified graphics shader.
name]

reloadgovernmentflavor reloadgovernmentflavor This command reloads the government flavor database.

reloadinterface reloadinterface This command reloads the game's interface (i.e. all GUI elements).

This command reloads the game's language (localisation) files that are located in the localisation directory, applying any changes you've made to
reloadloc reloadloc
them without having to restart the game.

reloadpositions reloadpositions This command reloads the council position database.

reloadtexture [texture file


reloadtexture This command reloads the specified texture.
name]

spawnactor [actor name]


spawnactor [province id] [animation] [title This command spawns an actor in a specified province. You can optionally specify an animation and title for the actor to spawn with.
id]

version version This command prints to the console the version of your game.

window window [open / close] [gui] This command opens or closes the specified GUI.

This command clears and resets all of your current CK2 Steam achievements. You cannot undo the effect of this command. It is only
wipe_achievements wipe_achievements
recommended if you wish to collect Steam achievements again from scratch.

Commands.gg is not affiliated with any game(s) on this page. PRIVACY CONTACT COOKIE & PRIVACY SETTINGS

You might also like