People search for Stardew Valley console commands expecting a built-in console. The commands come from SMAPI, the modding tool, which includes a Console Commands mod by default.
This guide covers how to open the console, the commands confirmed in the wiki and a second guide, chat cheats, and what to expect in multiplayer and on consoles.
How to open console commands in Stardew Valley
- Install SMAPI by following the Stardew Valley Wiki's modding guide.
- Start the game through SMAPI. A black console window opens next to the game.
- Click the console window, type a command and press Enter.
- Type help to see the list of commands, or help <command> to see one command's syntax.
- Back up your save before using commands.
The sources I read describe the SMAPI console and the mods for PC. I found no source for opening this console on PlayStation, Xbox or Switch, so do not expect it there.
How Stardew Valley commands work
- Commands use underscores, for example player_setmoney.
- Item IDs in the current format look like (O)128. The (O) means an object.
- Quality values: 0 normal, 1 silver, 2 gold, 4 iridium.
- Time uses a 26-hour clock: 0600 is 6am and 2600 is 2am.
Stardew Valley commands list
Items and money
| Command | What it does |
|---|---|
list_items pufferfish |
Searches for item names and IDs. |
player_add (O)128 10 4 |
Adds 10 iridium-quality pufferfish by item ID. |
player_add name "Pufferfish" 10 4 |
Adds an item by name, with count and quality. |
player_setmoney 5000 |
Sets your money to 5000g. |
Player stats
| Command | What it does |
|---|---|
player_setstamina 270 |
Sets your current stamina. |
player_setmaxstamina 400 |
Sets your maximum stamina. |
player_sethealth 100 |
Sets your current health. |
player_setmaxhealth 200 |
Sets your maximum health. |
World and time
| Command | What it does |
|---|---|
world_settime 1200 |
Sets the time. Range is 0600 to 2600. |
world_freezetime 1 |
Freezes the time. Use 0 to unfreeze. |
world_setday 15 |
Sets the day of the month. |
world_setseason summer |
Sets the season. |
world_setyear 2 |
Sets the year. |
world_setminelevel 121 |
Sets the mine level. 121 and above is the Skull Cavern. |
hurry_all |
Speeds up pending NPC moves and tasks. |
Debug commands
| Command | What it does |
|---|---|
debug where Robin |
Runs the game's debug command, here to locate Robin. |
debug toggleCheats |
Turns on chat cheats. |
Stardew Valley console commands to add items
Use list_items with a search word to find an item ID, then player_add with the ID, a count and a quality. Example: player_add (O)128 10 4 adds 10 iridium pufferfish.
You can also add by name: player_add name "Pufferfish" 10 4. One guide says the name method works on PC and mobile.
Chat cheats without extra mods
You can type cheats in the in-game chat. Turn them on by setting allowChatCheats to true in the save file, or by typing debug toggleCheats in the SMAPI console.
Then type /money 5000 or /debug followed by a debug command in chat.
How to use console commands in multiplayer
On a dedicated host, the server console belongs to the hidden host player. World commands such as world_settime, world_setseason and world_freezetime affect everyone. player_add gives items to the host, not to you. To change your own player, use the SMAPI console on your own PC.
Stardew Valley console commands on PS4, Xbox One and Switch
The vanilla game has no console. The SMAPI console described in the sources is for PC. I did not find a source that shows a way to run these commands on PS4, Xbox One or Switch, so treat the answer as no unless you find an official source.
Why Stardew Valley console commands are not working
- No console window appears: start the game through SMAPI, not the normal launcher.
- Item not found: use list_items to find the exact name or ID.
- Command not recognised: type help to see what is available and check the underscores.
- Time or date changes cause problems on a server: avoid them, back up the save and restore it.
- Commands only affect the host in multiplayer: run commands from your own SMAPI console for your own character.
Stardew Valley console commands FAQ
Does Stardew Valley have console commands?
Not in the vanilla game. Installing SMAPI gives you a console window with commands such as player_add and player_setmoney.
How do I open console commands in Stardew Valley?
Install SMAPI, start the game through it, then type commands in the black SMAPI window that opens beside the game.
How do I use console commands in Stardew Valley?
Type a command like player_setmoney 5000 in the SMAPI window and press Enter. Type help to see all commands.
How do I add an item with Stardew Valley console commands?
Use player_add with an item ID, count and quality, for example player_add (O)128 10 4. Use list_items to find IDs.
Can I use Stardew Valley console commands on PS4 or Xbox One?
I found no source showing the SMAPI console on PS4, Xbox One or Switch. The documented console is for PC.
Is there a Stardew Valley console commands mod?
SMAPI includes a Console Commands mod by default. Install SMAPI and you have it.
How do I set my money in Stardew Valley?
Type player_setmoney followed by the amount, for example player_setmoney 5000.
Can I change the time of day with a command?
Yes. world_settime takes a time from 0600 to 2600. world_freezetime 1 stops the clock.
More cheat guides
- Factorio Console Commands: Full List, Cheats and Admin
- House Party Console Commands List (Steam, PC)
- Schedule 1 Console Commands: Cash, XP, Teleport (2026)
- All Simulation and Sandbox cheat codes
- All game cheat codes
Sources
- Stardew Valley Wiki: Modding console commands
- GameServerKings: Stardew Valley cheats and console commands
Leave a Reply