State of Decay 2 does not have a traditional built-in developer console or text-based console commands like those found in Bethesda or Valve games. To modify the game, players typically rely on community-made mods or save editors. How to Use "Cheats" and Commands
spawnitem <item_name> [count]
Instantly claim outposts without spending Influence.
However, you can still achieve the exact same results as console commands. PC players can use community-developed save editors and mod menus to enable god mode, spawn items, change traits, and teleport. Xbox players can use cross-progression to apply these changes via a PC.
Add exact weapons, facility mods, and rucksacks to your inventory or supply locker.
Change morale penalties and facility build times. Radio Commands
Regardless of which tool you use—whether it is the Developer Menu or Cheat Engine—. Spawned items can corrupt inventory stacks. Using the teleport menu might drop you out of the map. It is highly recommended that you copy your AppData\Local\StateOfDecay2\Saved\SaveGames folder before opening any debug menu options.