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 jailed, character 2 is the jailor). If you do not specify a second character ID, your character will be the jailor.
The syntax for the imprison command is as follows:
imprison [character id] [character id]
This command has the following arguments:
|Character ID||The character ID of the character you wish to imprison. How to find character IDs: commands.gg/ck2/blog/console-help#charids.|
|Character ID||Optional - the character ID of the character you wish to imprison the first character. If you do not specify a character ID here, your own character will be the jailor. How to find character IDs: commands.gg/ck2/blog/console-help#charids.|
Find below working examples of the imprison command.
This command would make your character imprison the character with ID 4456.
imprison 140 4533
This command would make the character with ID 4533 jail the character with ID 140 - i.e. character ID 140 would be put in jail.