Stardew Valley’s depth is part of what makes it so rewarding, but sometimes you want to skip the grind and just enjoy building your dream farm. That’s where console commands come in. Whether you’re playing on PC, PS5, Xbox, Switch, or mobile, accessing the game’s debug menu unlocks a massive arsenal of cheats that let you manipulate everything from your inventory to time itself. This guide breaks down exactly how to enable and use Stardew Valley console commands across every platform, plus the most useful cheat codes that won’t break your save file.

Key Takeaways

  • Stardew Valley console commands are debug functions available natively only on PC, accessible by pressing the backtick (`) key, while console and mobile platforms lack native support.
  • Essential Stardew Valley console commands like player_setmoney, player_additem, and player_setheartlevel let you manipulate money, spawn items, and bypass relationship requirements without corrupting your save.
  • Using console commands disables achievements on your save file and can cause desyncs in multiplayer sessions, so always document changes and test on separate saves first.
  • Advanced commands for time control (game_advancetime), NPC relationships (player_marry), and farm customization (game_setfarmtype) let you reshape core gameplay mechanics into a creative sandbox.
  • Avoid spawning excessive items, executing commands mid-cutscene, or stacking rapid commands together, as these common mistakes can cause crashes; always verify command syntax carefully.
  • Use console commands selectively to solve specific problems like tedious grinding or aesthetic farm design, rather than reflexively eliminating all challenge to maintain long-term engagement.

What Are Stardew Valley Console Commands?

Stardew Valley console commands are debug functions that let you manipulate game data directly. Unlike simple item codes, these are actual commands you type into a developer console that execute complex actions, spawning items, advancing time, changing NPC relationships, modifying your farm layout, and more.

The key difference between Stardew Valley cheat codes and console commands is scope. Cheat codes are limited predefined inputs (like item codes), while console commands give you full programmatic access to the game engine. This means you can accomplish almost anything you can think of, from duplicating your entire inventory to forcing marriages or resetting NPC hearts from zero.

Console commands work consistently across platforms, though the method to access them varies. PC players have the easiest access, while console versions (PS4, PS5, Xbox, Switch) have more restrictions. Mobile versions of Stardew Valley generally don’t support command consoles without mods.

How To Enable The Debug Menu And Command Console

Getting into the console depends entirely on your platform. The good news: if you’re on PC, it’s a one-step process. The bad news: consoles and mobile require workarounds or aren’t supported at all.

Accessing The Console On Different Platforms

PC (Windows and Mac): This is the only platform with native console support. When you’re in-game, simply press the backtick key (`) or tilde (~) to open the command console. A input field appears at the bottom of your screen. You can now type any console command directly. If the backtick doesn’t work, check your keyboard layout, it might be a different key depending on your region.

PS4 and PS5: Stardew Valley on PlayStation doesn’t have an accessible debug menu without hacking your console, which violates terms of service. But, PS4 and PS5 versions do support some basic cheat codes through menu exploits, though functionality is extremely limited compared to PC.

Xbox (One, Series X/S): Similar to PlayStation, the Xbox version lacks native console command access. The debug menu exists in the code but isn’t accessible through normal gameplay. Your only option is basic item manipulation through workarounds, not full console commands.

Nintendo Switch: Switch owners face the same limitation. While Stardew Valley on Switch runs the same codebase as other versions, the debug console isn’t exposed to players. You’d need to modify your console’s firmware, which is risky and voids your warranty.

Mobile (iOS and Android): Mobile versions of Stardew Valley don’t support console commands natively. Some Android versions might work with third-party mods through APK modification, but this is unreliable and unsupported by the developer.

Essential Player Commands For Beginners

Once you’ve got the console open on PC, here are the foundational commands every player should know. These are safe, won’t corrupt your save, and solve basic problems.

help – Lists all available commands in the console. This is your reference guide. If you forget a command syntax, type “help” followed by the command name for specific details.

player_addskillexp [skillname] [amount] – Instantly level up any skill. Replace [skillname] with “farming,” “fishing,” “foraging,” “mining,” “combat,” or “luck.” Replace [amount] with the experience points you want to add. For example: player_addskillexp farming 5000 adds 5,000 XP to farming.

player_setlevel [skillname] [level] – Jump directly to a specific skill level (0-10). Cleaner than the XP command if you know exactly what level you want.

showmenuitem [itemid] – Opens a shop menu for a specific item, letting you see its description and price without actually buying it. Useful for checking stats before deciding if something’s worth the grind.

exit – Closes the console without affecting gameplay. You can reopen it anytime by pressing the backtick again.

game_restartMineLevel – Resets your current mine level, restoring all resources and monsters. Handy if you’ve mined out a level and want fresh ore spawns without progressing further.

These commands are intentionally safe by design. They don’t risk save corruption because they’re meant for developer testing. Stardew Valley’s creator, ConcernedApe, included them knowing players would experiment.

Money And Resource Manipulation Commands

Once you’re comfortable with basic commands, manipulating your farm’s economy becomes trivial. These commands let you bypass farming’s entire progression curve.

player_setmoney [amount] – Sets your wallet to an exact gold value. This is cleaner than adding money incrementally. For example: player_setmoney 999999 gives you nearly a million gold. The game caps money at 2,147,483,647 (max 32-bit integer), so going higher won’t work.

player_addmoney [amount] – Adds gold without replacing your current total. Useful if you want to supplement your income rather than replace it entirely.

player_additem [itemid] [quantity] – The core spawning command for any item in the game. Every object in Stardew Valley has a numeric ID. For example: player_additem 74 50 adds 50 ancient artifacts, which fetch high prices. We’ll cover specific item IDs in the next section.

player_getname – Returns your current character name. Useful for scripting or verifying your character in multiplayer saves.

One critical note: unlimited money bypasses the entire economic strategy of Stardew Valley. Crop planning, fishing runs, and mining expeditions become pointless. Many players find the early-game grind rewarding. Use these commands only if money feels like a roadblock, not a progression mechanic.

Resources like wood and stone can be farmed from specific locations (forest and mines), but commands let you skip that tedium entirely. A single command nets you thousands of materials instantly.

Item Spawning And Inventory Management Commands

Item spawning is where Stardew Valley console commands shine. Spawn codes function differently than simple item ID lists: they execute through the console with additional parameters.

player_additem [itemid] [quantity] [quality] – The expanded version of the spawn command. Quality ranges from 0 (normal) to 4 (iridium). For example: player_additem 330 99 4 spawns 99 iridium-quality ancient artifacts.

Common high-value item IDs:

  • 388 – Ancient Artifact (high resale value, ~200g each at iridium quality)
  • 74 – Prismatic Shard (rare, valuable for upgrades)
  • 386 – Dwarf Artifact (decent money)
  • 390 – Golden Pumpkin (seasonal, decorative)
  • 163 – Legend Fish (trophy fish, high value)
  • 645 – Stardrop (grants +1 max energy permanently)

player_removeitem [itemid] [quantity] – Deletes items from your inventory without selling them. Useful for clearing space or removing progression items you want to reset.

player_getitemsbyname [itemname] – Returns the ID of any item by its in-game name. Type a partial name and it suggests matches. For example: player_getitemsbyname ancient returns all ancient-related item IDs.

player_addring [ringid] – Directly adds rings to your inventory without fishing or crafting. Rings are stored separately from regular items. For example: player_addring 523 adds a ring of yoba.

Several websites catalog complete Stardew Valley item ID databases. Resources like Twinfinite’s item guides have comprehensive lists of every spawnable object with its ID, quality modifiers, and resale value. Having a reference sheet open while you console command is the professional approach.

Important: Some items can’t be spawned (like quest items or certain progression-locked objects). Trying to spawn invalid items returns an error message but doesn’t crash the game.

Advanced Gameplay Modification Commands

These commands reshape Stardew Valley’s core mechanics. Use them when you want to fundamentally change how your game plays.

Time And Season Control Commands

game_settime [time] – Sets the current in-game time. Format as a 24-hour integer (e.g., 1800 = 6 PM). For example: game_settime 600 sets the time to 6:00 AM. This doesn’t advance any in-game systems: it just changes the clock.

game_advancetime [milliseconds] – Fast-forwards the clock by a specified duration. This actually advances game time, triggering crop growth, NPC schedules, and fatigue. For example: game_advancetime 10000 advances 10 seconds in real-time, which equals several in-game hours.

game_setseason [seasonname] – Switches to a different season (spring, summer, fall, or winter) instantly. Crops don’t auto-convert: you’ll need to replant for the new season. For example: game_setseason summer jumps to summer 1st.

game_setdate [day] – Sets the current day of the month (1-28). Useful for rolling back mistakes or testing seasonal events without waiting.

Relationship And NPC Interaction Commands

player_setheartlevel [NPC] [heartlevel] – Sets a specific NPC’s heart level for your character (0-12, where 10 is marriage-eligible). For example: player_setheartlevel abigail 10 maxes out Abigail’s relationship. This bypasses gift-giving and dating entirely.

player_addhearts [NPC] [heartamount] – Adds hearts incrementally instead of replacing the total. Gentler than the set command if you want to preserve existing progress.

player_marry [NPC] – Instantly marries you to any NPC without a bouquet, wedding ceremony, or heart requirements. For example: player_marry sebastian marries Sebastian on the spot. This modifies your save permanently.

player_divorce – Undoes a marriage and resets the NPC’s heart level to 0. Useful if you want to test different spouses or undo a hasty decision.

game_getcharacterdata [NPC] – Returns detailed data about an NPC’s current state: friendship hearts, gift history, schedules, and more. Use this to verify relationship changes or debug NPC behavior.

These commands transform Stardew Valley from a relationship-building experience into a sandbox where NPCs have no agency. Romance becomes irrelevant when you can force marriages with a keystroke.

Building And Farm Customization Commands

Farm customization commands let you architect your perfect layout without grinding resources.

player_removebuilding [buildingtype] – Demolishes a building from your farm. For example: player_removebuilding silo removes a silo. The building disappears instantly without refunding materials.

player_addbuilding [buildingtype] – Constructs a building on your farm instantly. Common building types: “barn,” “coop,” “silo,” “stable,” “shed,” “greenhouse,” “farmhand cabin.” For example: player_addbuilding greenhouse adds a greenhouse without waiting for construction.

game_setfarmtype [farmtype] – Changes your farm layout. Farm types include “standard,” “riverland,” “forest,” “hillside,” “wilderness,” “four_corners,” and “beach.” This is one of the few commands that actually modifies your save’s geography. For example: game_setfarmtype forest converts your farm to the forest layout.

game_addWarpPoint [x] [y] – Creates a fast-travel warp point at coordinates (x, y). Useful for linking remote farm areas. You’ll need to coordinate coordinates, which requires either trial-and-error or finding a coordinate database.

player_additem [164] [quantity] – While technically an item spawn, painting (item 164) is essential for farm decoration. Spawn stacks of paintings to customize your buildings. Quality modifiers don’t affect paintings, so quality is irrelevant.

These commands are game-changers for players who prioritize aesthetics over progression. You can build your dream farm within minutes instead of grinding through dozens of in-game seasons. Resources like Game Rant’s farming guides showcase optimized farm layouts, and console commands let you replicate them instantly.

Common Mistakes And Troubleshooting Tips

Console commands are powerful, which means mistakes can be catastrophic. Here’s what commonly goes wrong and how to fix it.

Typos crash the console. The command parser is strict about syntax. player_setmoney 50000 works. player_set_money 50000 doesn’t. If you see a red error message, re-read the command letter-by-letter. Capitalization matters, spaces matter, underscores matter.

Invalid item IDs cause silent failures. If you spawn a nonexistent item ID, the console returns an error but your inventory remains unchanged. Double-check item IDs before executing mass spawns. Having a reference guide open is mandatory.

Time advancement commands trigger NPC schedules unexpectedly. Using game_advancetime actually runs game logic: NPCs move around, crops grow, fatigue accumulates, and events trigger. If you just want to change the clock display without side effects, use game_settime instead.

Spawning too many items crashes the game. There’s a practical inventory limit (thousands of items, but not millions). Spawning more items than your inventory can hold causes the game to hang or crash. Test with small quantities first.

Console commands don’t work mid-cutscene. If an NPC is talking or an event is running, the console won’t respond. Wait for dialogue to finish or skip cutscenes before trying commands.

Commands in multiplayer desync other players. If you’re playing co-op, console commands only affect your character locally. They don’t sync to farmhands. This can cause strange behavior or desyncs. Avoid console commands in active multiplayer sessions.

Relationship commands bypass marriage requirements but not housing. Marrying an NPC without a house upgrade fails. Upgrade your house first, then use player_marry.

Seasonal items don’t exist outside their season. Spawning a summer seed in winter works, but planting it fails. The game checks seasonal validity at plant-time, not spawn-time.

When in doubt, save your game before executing unfamiliar commands. Stardew Valley saves automatically, but manual saves let you revert if something goes wrong. Use the Save option in the pause menu before experimenting.

Best Practices For Using Console Commands Without Breaking Your Game

Console commands are safe by design, but playstyle changes can ruin your experience. Here’s how to use them responsibly.

Decide your cheating philosophy upfront. Are you using commands to skip tedious grinding, or to fundamentally reshape progression? The difference matters. Spawning a few iridium bars to finish a building is low-impact. Spawning millions of gold eliminates challenge entirely. Know where your line is.

Document what you’ve changed. Keep notes of major commands you’ve executed. If something breaks later, you’ll know what caused it. For example, note if you’ve modified NPC relationships, removed buildings, or changed farm layouts.

Use commands selectively, not reflexively. Every time you spawn items or skip time, you’re reducing something Stardew Valley did well: making you earn progress. Use commands to solve specific problems (stuck on a quest, frustrating grind, aesthetic ideas), not as a blanket solution.

Avoid game-breaking exploits. Some command combinations break core systems. Spawning negative quantities of items, setting time to invalid values, or stacking commands in quick succession can cause unexpected behavior. Single, well-formed commands are safest.

Test commands on a separate save. If you’re unsure how a command works, create a new save file and experiment there. Once you understand it, apply it to your main save if desired. This prevents catastrophic mistakes.

Remember that console commands disable achievements. Stardew Valley tracks which saves have used console commands. Using any command marks your save as “debug-enabled,” which prevents earning achievements on that file. Plan accordingly.

Cross-platform expectations matter. Console players (PS5, Xbox, Switch) can’t access native console commands, so strategies requiring them don’t apply. If you’re planning to play Stardew Valley across platforms, design your farm around what each platform supports.

Gamers on Shacknews’ Stardew Valley coverage frequently discuss console command ethics. The community consensus: use what makes your experience enjoyable, but acknowledge that exploits reduce long-term engagement for some players. ConcernedApe included the debug menu knowing players would experiment. It’s a feature, not a bug.

Conclusion

Stardew Valley console commands transform the game from a rigid progression system into a creative sandbox. Whether you’re skipping the early-game grind, building your dream farm instantly, or testing relationship outcomes, the command console gives you control.

PC remains the only platform with native console support, which is a significant limitation for console and mobile players. If you’re on PS4, PS5, Xbox, Switch, or mobile, you’re stuck with workarounds or mod-based solutions that vary in reliability.

The key to using commands responsibly is intentionality. Use them to solve problems you actually have, not to avoid all challenge. Stardew Valley’s strength lies in its pacing and progression, skip too much, and the game becomes hollow. But used sparingly and strategically, console commands let you customize your farm exactly how you want it.

Start with simple commands like player_setmoney or player_additem, test on a secondary save if you’re nervous, and always check command syntax before hitting enter. The rest is just creative farm-building with a safety net.