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 and a character ID, the specified character will become the holder of the title.
The syntax for the titleowner command is as follows:
titleowner [title id] [character id]
This command has the following arguments:
|Title ID||The ID of the title you wish to find out the holder of (or, if you are specifying a character ID after, the ID of the title you wish to change the holder of). Find a list of all title IDs at: commands.gg/ck2/titles.|
|Character ID||Optional - if you don't specify a character ID here, the command will tell you who holds the specified title. Specify the ID of the character you wish to set as the title holder here. How to find character IDs: commands.gg/ck2/blog/console-help#charids.|
Find below working examples of the titleowner command.
c_tyrconnell is the title ID for Tyrconnell in Ireland. This console command would make your character the owner of that title.
titleowner c_rosello 388
This console command would make the character with ID 388 the title owner of the c_rosello title, which is for the province of Rosello in Aragon.