Kingdom Come: Deliverance 2 does not have a built-in console command menu on PC, but you can enable one by adding a single line to a config file. This guide explains exactly which file to edit, what to type, and which commands actually work in the current version of the game.
What Console Commands Are in KCD2?
Console commands are developer tools that let you change the game state while it is running. In KCD2, they are not available from the start. The game uses a custom version of the CryEngine, and the console is hidden unless you explicitly turn it on. Once enabled, you can open a text input bar with the tilde key (~) and type commands that give you items, teleport you, change the time of day, or adjust internal variables.
The most useful commands include wh_cheat_addItem to spawn any item by its internal ID, wh_teleport to jump to a named location, and wh_time_set to change the in-game clock. There are also commands for unlocking all skills, making yourself invincible, and spawning NPCs or horses. The full list is long, but the commands below cover the ones most players search for.
How to Enable the Console
On PC, you need to edit the user.cfg file in the game’s root folder. The file is usually located in the same directory as the executable, for example C:\Program Files (x86)\Steam\steamapps\common\KingdomComeDeliverance2. If the file does not exist, create it with a plain text editor.
- Navigate to the game’s installation folder.
- Look for a file named
user.cfg. If it is missing, create a new text file and rename it touser.cfg. - Open the file with Notepad or any text editor.
- Add the line
wh_cheat 1on its own line. - Save the file and close it.
- Launch the game. Press
~(tilde) to open the console.
If the tilde key does not work, check your keyboard layout. On some non-US layouts, the key is ö or ^. You can also try F1 or F2 as alternates, though these are less reliable. The console will not open during cutscenes or while the game is paused.
Essential Commands List
Once the console is open, type a command and press Enter. Most commands take parameters separated by spaces. Here are the commands that players actually use:
wh_cheat_addItem [itemID] [amount]– adds a specific item to your inventory. For example,wh_cheat_addItem groschen 1000gives you 1000 coins.wh_teleport [locationID]– teleports you to a named location. Trywh_teleport Rattayorwh_teleport Trosky.wh_time_set [hour]– sets the in-game hour (0–23). For example,wh_time_set 12makes it noon.wh_cheat_unlock_all– unlocks all skills and perks.wh_cheat_invincible– makes you take no damage.wh_cheat_money [amount]– adds groschen directly.wh_cheat_repair_all– repairs all your equipment.wh_cheat_save– creates a save game without using a savior schnapps.
Item IDs are not shown in the game. You need to look them up in community databases or data files. A common example is wh_cheat_addItem sword_tier1 1 to get a basic sword, but IDs change between patches.
Common Problems and Fixes
The most frequent issue is that the console does not open after adding wh_cheat 1. This usually means the user.cfg file is in the wrong location or is not being read. Verify that the file is in the same folder as the .exe file, not in your Documents folder. Also check that the file is named exactly user.cfg – Windows sometimes hides the extension, so you might have user.cfg.txt by mistake.
Another common problem is that commands do nothing when typed. This happens if the command name is slightly different or if the game version changed. The console is case-sensitive, so type everything in lowercase. If a command fails, try pressing Tab to see a list of available commands – this autocomplete feature works in the console.
Some commands, like wh_cheat_invincible, may only work in certain game modes or may be disabled during quests. If a command does not work, try using it outside of a cutscene or after loading a save.
Comparing Console Commands to Mods
Console commands are built into the game engine, so they work without any external tools. Mods, on the other hand, are user-created files that change game behavior. Mods can add new items, change gameplay mechanics, or fix bugs, but they require installation and may break after updates. Console commands are temporary – they reset when you close the game, unless you use a save. Mods are persistent.
For most players, console commands are simpler because they do not require downloading files or managing load order. However, mods can do things that commands cannot, like changing the UI or adding new quests. If you only want to give yourself money or items, console commands are the fastest route.
Are Console Commands Safe?
Using console commands is safe for your save file in the sense that it does not corrupt data. However, it can break quests if you spawn items or teleport at the wrong time. For example, teleporting away from a scripted event might cause the quest to fail to progress. The game does not mark your save as “cheated” – there is no flag that disables achievements, unlike some other games.
That said, using commands online (in any multiplayer mode) is not relevant here because KCD2 is a single-player game. The only risk is that the game might crash if you enter an invalid item ID or teleport to a non-existent location. If that happens, reload your last save.
Do not expect console commands to give you access to hidden content. The game’s code is not fully documented, and many commands are leftover from development and may do nothing or crash the game.
Frequently Asked Questions
Does KCD2 have a console on PlayStation or Xbox?
No. Console commands are only available on the PC version. The PlayStation and Xbox versions do not have a developer console, and there is no way to enable one without modifying the console itself, which is not recommended.
Will using console commands disable achievements?
No. KCD2 does not track whether you used console commands. You can still earn achievements after using commands. However, some commands may cause quest bugs that prevent you from completing certain achievements.
How do I find item IDs?
Item IDs are not listed in the game. You need to extract them from the game files or look at community databases. A common way is to use the console command wh_cheat_list_items if it exists in your version, but this is not guaranteed. Many players share lists online, but they may be outdated after patches.
Can I use console commands in Hardcore mode?
Yes, the console works in all game modes, including Hardcore. However, Hardcore mode disables fast travel and some UI elements, but the console still opens and accepts commands. Be aware that using commands in Hardcore may make the game easier, which defeats the purpose of the mode.
Do console commands work with the Steam Deck?
Yes, but you need to access the game’s installation folder through Desktop Mode. The process is the same as on PC – edit user.cfg and add wh_cheat 1. The console key may be different on the Deck’s virtual keyboard, so you might need to map a key or use an external keyboard.
What is the difference between wh_cheat_money and wh_cheat_addItem groschen?
Both add currency, but wh_cheat_money is a direct command that adds a specified amount of groschen. wh_cheat_addItem groschen [amount] adds coins as an item, which may behave differently if you have a mod that changes inventory weight. In most cases, they are equivalent.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Incremental Piece Codes: What They Are
- Lagging Issue Mac: Causes & Fixes
- AI Infrastructure Controls for Residency and Isolation
- Slide to Unlock Doormat: Does It Work?
- Crash N the Boys Street Challenge Controls & Tips
- Robot Horses vs Motorcycles: Future of Riding