Press "'" to enter the console and then type any of the following cheat codes.
mapmode fort & mapmode tax
Two mapmodes for showing fort and tax levels, both are handy if you're scripting a start setup.
Gives the player X honor.
Gives the player X money.
Gives the player X arquebus
Makes the players' current character X years older
The player gets ownership of the province.
Spawns rebels in the province, as if it failed a revolt risk check.
Any siege in the province is won the next day.
The character dies.
Switch to play the character instead of your current character.
If you're a clan leader and the character is a clan leader, his clan becomes a vassal of your.
If your clan is a vassal of another clan, your clan becomes independent.
event eventId CharacterId/ProvinceId
Spawns the event with the character or province as target, depending on the type of event.
Reloads the event database. Does not clear flags or such. Not guaranteed to work in all cases.
debug events & debug dumpevents
debug events starts to count all events being triggered for the rest of the session, debug dumpevents writes the number of times each event has been triggered to the game.log Useful for making sure that events fire as much as you want them to over the course of a longer game.
All autosaves are saved with their date instead of as autosave and oldautosave. Beware that this quickly can use up your disc space.
The ai takes control of your current character and you stop playing as a character. Useful for playing hands off games. Note that it is not possible to use the play command to start playing as a character from spectator mode, if you want to start playing you have to resign and load a save.
The ai accepts a diplomatic offers.
The player will get all ninja clans as they become available.
All plots get visible in the character browser.
The camera stops scrolling from having the mouse near the edge of the screen.
The gui stops rendering (great for taking screenshots). Note that this includes the console, to get back you have to use debug nogui again (the console will still take input in nogui). Up arrow brings up the last command used.
Province and character id:s are shown in their respective tool tips. This is crucial when trying to use the commands that require province and character id.
Just entering 'cash' in the console = 5000 gold.
(supplied by: imvarda)