Stardew Valley proves to be an addicting game to pick up and can be unforgiving at times. This guide provides several cheats, console commands, and a complete list of item codes to assist players with various aspects of the game.

All Stardew Valley console commands and cheats

Console commands

Head to the official Stardew Valley Wiki page for a complete list of available console commands to use in-game. In addition, hundreds of commands can be utilized with SMPAI, the mod loader for Stardew Valley. There is a massive list of options for you to pick from, and these are individually broken down to detail how they work, and how to use them in Stardew Valley.

Delay sleep

Falling asleep in Stardew Valley can be a frustrating experience, especially when you’re in the middle of performing an important activity. Here’s how to curb this from happening. Just before your character yawns and is about to pass out, quickly open your journal and immediately back out of it. This will stop you from passing out. The game will try to trigger the yawning action several more times, so be prepared to keep opening your journal when you’re about to yawn. Doing this will allow you to keep playing through the night and avoid a costly nap rescue.

Get the Galaxy Sword early

The Galaxy Sword is a desired weapon in Stardew Valley, and earning it as the game intends will take some time to find, but you can get it faster. First, buy the catalog from Pierre’s General Store and acquire the Green Wallpaper. After this, head to the Pillar Spot in Calico Desert. Finally, stand between the three pillars, right in the middle, holding the Green Wallpaper up high. The game recognizes the wallpaper as a Prismatic Shard and morphs it into a Galaxy Sword.

Item duplication

Every item in Stardew Valley is associated with a relevant numerical code. By entering up to three of these codes in your name, side by side in square brackets, you’ll spawn those items in-game every time an NPC mentions your name. For example, naming yourself [18][84][114] will give you a Daffodil, Frozen Tear, and an Ancient Seed every time your name is mentioned. Gus, the bartender at the saloon, is the perfect character to speak with, as he references your name many times. A complete list of Item Codes is found at the bottom of this guide.

Out of bounds

If you’re yearning to get to those hard-to-reach places in Stardew Valley, give this a go. Firstly, position yourself right up against a door or entrance way before you go inside and transition to the next room or area. Then, swing your sword rapidly, gradually shifting your character forward. Continue swinging, and you’ll eventually pass the area’s boundary, allowing you to access areas you would typically be unable to reach. This is the perfect cheat for fishing, allowing you to get the deeper parts of various water bodies.

Unlimited Gold Spring Onions

Gold crops in Stardew Valley are pretty valuable. For this cheat, fill up your inventory to max capacity and make sure you have a Gold Star Spring Onion in one of the slots. Then, make sure there are no other Spring Onions in your inventory. Next, find a patch of Spring Onions in the game and keep picking them until you pull a Gold Spring Onion. Essentially, the quality of crops in the game is randomized. Because you already have a Gold Spring Onion in your inventory, the game has somewhere to store it, amassing the quantity of Gold Spring Onions you can obtain.

Unlimited time for fishing

Here’s how to pile up fish in your inventory. Begin by casting your fishing line in a nearby water source, then open up your journal right after. Opening your journal will pause the time in-game, but your fishing will continue uninterrupted. When you hook a fish, you can reel it and repeat the process, allowing you to fish for much longer than you would in a normal session.

All Stardew Valley item codes

These are all of the item codes for things you can use in Stardew Valley.

Item codes

  • 0 – Weeds2 – Stone4 – Stone16 – Wild Horseradish18 – Daffodil20 – Leek22 – Dandelion24 – Parsnip30 – Lumber60 – Emerald62 – Aquamarine64 – Ruby66 – Amethyst68 – Topaz70 – Jade72 – Diamond74 – Prismatic Shard75 – Stone76 – Stone77 – Stone78 – Cave Carrot79 – Secret Note80 – Quartz82 – Fire Quartz84 – Frozen Tear86 – Earth Crystal88 – Coconut90 – Cactus Fruit92 – Sap93 – Torch94 – Spirit Torch96 – Dwarf Scroll I97 – Dwarf Scroll II98 – Dwarf Scroll III99 – Dwarf Scroll IV100 – Chipped Amphora101 – Arrowhead102 – Lost Book103 – Ancient Doll104 – Elvish Jewelry105 – Chewing Stick106 – Ornamental Fan107 – Dinosaur Egg108 – Rare Disc109 – Ancient Sword110 – Rusty Spoon111 – Rusty Spur112 – Rusty Cog113 – Chicken Statue114 – Ancient Seed115 – Prehistoric Tool116 – Dried Starfish117 – Anchor118 – Glass Shards119 – Bone Flute120 – Prehistoric Handaxe121 – Dwarvish Helm122 – Dwarf Gadget123 – Ancient Drum124 – Golden Mask125 – Golden Relic126 – Strange Doll127 – Strange Doll128 – Pufferfish129 – Anchovy130 – Tuna131 – Sardine132 – Bream136 – Largemouth Bass137 – Smallmouth Bass138 – Rainbow Trout139 – Salmon140 – Walleye141 – Perch142 – Carp143 – Catfish144 – Pike145 – Sunfish146 – Red Mullet147 – Herring148 – Eel149 – Octopus150 – Red Snapper151 – Squid152 – Seaweed153 – Green Algae154 – Sea Cucumber155 – Super Cucumber156 – Ghostfish157 – White Algae158 – Stonefish159 – Crimsonfish160 – Angler161 – Ice Pip162 – Lava Eel163 – Legend164 – Sandfish165 – Scorpion Carp166 – Treasure Chest167 – Joja Cola168 – Trash169 – Driftwood170 – Broken Glasses171 – Broken CD172 – Soggy Newspaper176 – Egg174 – Large Egg178 – Hay180 – Egg182 – Large Egg184 – Milk186 – Large Milk188 – Green Bean189 – Fiddlehead Risotto190 – Cauliflower192 – Potato194 – Fried Egg195 – Omelet196 – Salad197 – Cheese Cauliflower198 – Baked Fish199 – Parsnip Soup200 – Vegetable Medley201 – Complete Breakfast202 – Fried Calamari203 – Strange Bun204 – Lucky Lunch205 – Fried Mushroom206 – Pizza207 – Bean Hotpot208 – Glazed Yams209 – Carp Surprise210 – Hashbrowns211 – Pancakes212 – Salmon Dinner213 – Fish Taco214 – Crispy Bass215 – Pepper Poppers216 – Bread217 – Bread218 – Tom Kha Soup219 – Trout Soup220 – Chocolate Cake221 – Pink Cake222 – Rhubarb Pie223 – Cookie224 – Spaghetti225 – Fried Eel226 – Spicy Eel227 – Sashimi228 – Maki Roll229 – Tortilla230 – Red Plate231 – Eggplant Parmesan232 – Rice Pudding233 – Ice Cream234 – Blueberry Tart235 – Autumn’s Bounty236 – Pumpkin Soup237 – Super Meal238 – Cranberry Sauce239 – Stuffing240 – Farmer’s Lunch241 – Survival Burger242 – Dish O’ The Sea243 – Miner’s Treat244 – Roots Platter245 – Sugar246 – Wheat Flour247 – Oil248 – Garlic250 – Kale252 – Rhubarb254 – Melon256 – Tomato257 – Morel258 – Blueberry259 – Fiddlehead Fern260 – Hot Pepper262 – Wheat264 – Radish266 – Red Cabbage268 – Starfruit270 – Corn272 – Eggplant274 – Artichoke276 – Pumpkin278 – Bok Choy280 – Yam281 – Chanterelle282 – Cranberries283 – Holly284 – Beet286 – Cherry Bomb287 – Bomb288 – Mega Bomb289 – Speed Bobber290 – Stone291 – Specific Bobber292 – Cheap Detector293 – Standard Detector294 – Twig295 – Twig296 – Salmonberry297 – Grass Starter298 – Hardwood Fence299 – Amaranth Seeds300 – Amaranth301 – Grape Starter302 – Hops Starter303 – Pale Ale304 – Hops305 – Void Egg306 – Mayonnaise307 – Duck Mayonnaise308 – Void Mayonnaise309 – Acorn310 – Maple Seed311 – Pine Cone312 – Spring Bench313 – Weeds314 – Weeds315 – Weeds316 – Weeds317 – Weeds318 – Weeds319 – Weeds320 – Weeds321 – Weeds322 – Wood Fence323 – Stone Fence324 – Iron Fence325 – Gate326 – Dwarvish Translation Guide327 – Purple Dye328 – Wood Floor329 – Stone Floor330 – Clay331 – Weathered Floor332 – Pot333 – Crystal Floor334 – Copper Bar335 – Iron Bar336 – Gold Bar337 – Iridium Bar338 – Refined Quartz339 – Quartz Globe340 – Honey341 – Tea Set342 – Pickles343 – Stone344 – Jelly346 – Beer347 – Rare Seed348 – Wine349 – Energy Tonic350 – Juice351 – Muscle Remedy368 – Basic Fertilizer369 – Quality Fertilizer370 – Basic Retaining Soil371 – Quality Retaining Soil372 – Clam373 – Golden Pumpkin374 – Gizmo375 – Gizmo376 – Poppy378 – Copper Ore380 – Iron Ore382 – Coal384 – Gold Ore386 – Iridium Ore388 – Wood390 – Stone392 – Nautilus Shell393 – Coral394 – Rainbow Shell395 – Coffee396 – Spice Berry397 – Sea Urchin398 – Grape399 – Spring Onion400 – Strawberry401 – Straw Floor402 – Sweet Pea403 – Field Snack404 – Common Mushroom405 – Wood Path406 – Wild Plum407 – Gravel Path408 – Hazelnut409 – Crystal Path410 – Blackberry411 – Cobblestone Path412 – Winter Root413 – Blue Slime Egg414 – Crystal Fruit415 – Stepping Stone Path416 – Snow Yam417 – Sweet Gem Berry418 – Crocus419 – Vinegar420 – Red Mushroom421 – Sunflower422 – Purple Mushroom423 – Rice424 – Cheese425 – Fairy Seeds426 – Goat Cheese427 – Tulip Bulb428 – Cloth429 – Jazz Seeds430 – Truffle431 – Sunflower Seeds432 – Truffle Oil433 – Coffee Bean434 – Stardrop436 – Goat Milk437 – Red Slime Egg438 – L. Goat Milk439 – Purple Slime Egg440 – Wool441 – Explosive Ammo442 – Duck Egg444 – Duck Feather446 – Rabbit’s Foot449 – Stone Base450 – Stone452 – Weeds453 – Poppy Seeds454 – Ancient Fruit455 – Spangle Seeds456 – Algae Soup457 – Pale Broth458 – Bouquet459 – Mead460 – Mermaid’s Pendant461 – Decorative Pot462 – Glass Pane463 – Drum Block464 – Flute Block465 – Speed-Gro466 – Deluxe Speed-Gro468 – Stardew Hero Trophy469 – Ground Light470 – Table Lamp471 – Key472 – Parsnip Seeds473 – Bean Starter474 – Cauliflower Seeds475 – Potato Seeds476 – Garlic Seeds477 – Kale Seeds478 – Rhubarb Seeds479 – Melon Seeds480 – Tomato Seeds481 – Blueberry Seeds482 – Pepper Seeds483 – Wheat Seeds484 – Radish Seeds485 – Red Cabbage Seeds486 – Starfruit Seeds487 – Corn Seeds488 – Eggplant Seeds489 – Artichoke Seeds490 – Pumpkin Seeds491 – Bok Choy Seeds492 – Yam Seeds493 – Cranberry Seeds494 – Beet Seeds495 – Spring Seeds496 – Summer Seeds497 – Fall Seeds498 – Winter Seeds499 – Ancient Seeds516 – Small Glow Ring517 – Glow Ring518 – Small Magnet Ring519 – Magnet Ring520 – Slime Charmer Ring521 – Warrior Ring522 – Vampire Ring523 – Savage Ring524 – Ring of Yoba525 – Sturdy Ring526 – Burglar’s Ring527 – Iridium Band528 – Jukebox Ring529 – Amethyst Ring530 – Topaz Ring531 – Aquamarine Ring532 – Jade Ring533 – Emerald Ring534 – Ruby Ring535 – Geode536 – Frozen Geode537 – Magma Geode538 – Alamite539 – Bixite540 – Baryte541 – Aerinite542 – Calcite543 – Dolomite544 – Esperite545 – Fluorapatite546 – Geminite547 – Helvite548 – Jamborite549 – Jagoite550 – Kyanite551 – Lunarite552 – Malachite553 – Neptunite554 – Lemon Stone555 – Nekoite556 – Orpiment557 – Petrified Slime558 – Thunder Egg559 – Pyrite560 – Ocean Stone561 – Ghost Crystal562 – Tigerseye563 – Jasper564 – Opal565 – Fire Opal566 – Celestine567 – Marble568 – Sandstone569 – Granite570 – Basalt571 – Limestone572 – Soapstone573 – Hematite574 – Mudstone575 – Obsidian576 – Slate577 – Fairy Stone578 – Star Shards579 – Prehistoric Scapula580 – Prehistoric Tibia581 – Prehistoric Skull582 – Skeletal Hand583 – Prehistoric Rib584 – Prehistoric Vertebra585 – Skeletal Tail586 – Nautilus Fossil587 – Amphibian Fossil588 – Palm Fossil589 – Trilobite590 – Artifact Spot591 – Tulip593 – Summer Spangle595 – Fairy Rose597 – Blue Jazz599 – Sprinkler604 – Plum Pudding605 – Artichoke Dip606 – Stir Fry607 – Roasted Hazelnuts608 – Pumpkin Pie609 – Radish Salad610 – Fruit Salad611 – Blackberry Cobbler612 – Cranberry Candy613 – Apple614 – Tea Leaves615 – Spice Berry Tea616 – Tea Egg617 – Tuna Fish Sandwich618 – Bruschetta619 – Strawberry Milkshake621 – Quality Sprinkler628 – Cherry Sapling629 – Apricot Sapling630 – Orange Sapling631 – Peach Sapling632 – Pomegranate Sapling633 – Apple Sapling634 – Apricot635 – Orange636 – Peach637 – Pomegranate638 – Cherry639 – Beef640 – Pork641 – Chicken642 – Duck643 – Rabbit644 – Cheap Meat645 – Iridium Sprinkler648 – Coleslaw649 – Fiddlehead Risotto650 – Horseradish Beets651 – Poppyseed Muffin652 – Meatloaf653 – Orange Chicken654 – Monte Cristo655 – Bacon Cheeseburger656 – Roast Duck657 – Rabbit au Vin658 – Steak Fajitas659 – Glazed Ham660 – Summer Sausage661 – Sweet and Sour Pork662 – Rabbit Stew663 – Winter Duck664 – Steak with Mushrooms665 – Cowboy Dinner666 – Bacon667 – Clams Casino668 – Stone670 – Stone674 – Weeds675 – Weeds676 – Weeds677 – Weeds678 – Weeds679 – Weeds680 – Green Slime Egg681 – Rain Totem682 – Mutant Carp683 – Bread Ball684 – Bug Meat685 – Bait686 – Spinner687 – Dressed Spinner688 – Warp Totem: Farm689 – Warp Totem: Mountains690 – Warp Totem: Beach691 – Barbed Hook692 – Lead Bobber693 – Treasure Hunter694 – Trap Bobber695 – Cork Bobber698 – Sturgeon699 – Tiger Trout700 – Bullhead701 – Tilapia702 – Chub703 – Magnet704 – Dorado705 – Albacore706 – Shad707 – Lingcod708 – Halibut709 – Hardwood710 – Crab Pot715 – Lobster716 – Crayfish717 – Crab718 – Cockle719 – Mussel720 – Shrimp721 – Snail722 – Periwinkle723 – Oyster724 – Maple Syrup725 – Oak Resin726 – Pine Tar727 – Chowder728 – Fish Stew729 – Escargot730 – Lobster Bisque731 – Maple Bar732 – Crab Cakes733 – Shrimp Cocktail734 – Woodskip745 – Strawberry Seeds746 – Jack-O-Lantern747 – Rotten Plant748 – Rotten Plant749 – Omni Geode750 – Weeds751 – Stone760 – Stone762 – Stone764 – Stone765 – Stone766 – Slime767 – Bat Wing768 – Solar Essence769 – Void Essence770 – Mixed Seeds771 – Fiber772 – Oil of Garlic773 – Life Elixir774 – Wild Bait775 – Glacierfish784 – Weeds785 – Weeds786 – Weeds787 – Battery Pack788 – Lost Axe789 – Lucky Purple Shorts790 – Berry Basket792 – Weeds793 – Weeds794 – Weeds795 – Void Salmon796 – Slimejack797 – Pearl798 – Midnight Squid799 – Spook Fish800 – Blobfish801 – Wedding Ring802 – Cactus Seeds803 – Iridium Milk805 – Tree Fertilizer807 – Dinosaur Mayonnaise808 – Void Ghost Pendant809 – Movie Ticket810 – Crabshell Ring811 – Napalm Ring812 – Roe814 – Squid Ink815 – Tea Leaves820 – Fossilized Skull821 – Fossilized Spine822 – Fossilized Tail823 – Fossilized Leg824 – Fossilized Ribs825 – Snake Skull826 – Snake Vertebrae 827 – Mummified bat828 – Mummified Frog829 – Ginger830 – Taro Root831 – Taro Tuber832 – Pineapple833 – Pineapple Seeds834 – Mango835 – Mango Sapling836 – Stingray837 – Lionfish838 – Blue Discus839 – Thorns Ring840 – Rustic Plank Floor841 – Stone Walkway Floor842 – Journal Scrap848 – Cinder Shard 851 – Magma Cap852 – Dragon Tooth856 – Curiosity Lure857 – Tiger Slime Egg858 – Qi Gem859 – Lucky Ring860 – Hot Java Ring861 – Protection Ring862 – Soul Sapper Ring863 – Phoenix Ring864 – War Memento865 – Gourmet Tomato Salt866 – Stardew Valley Rose867 – Advanced TV Remote868 – Artic Shard869 – Wriggling Worm870 – Pirate’s Locket872 – Fairy Dust873 – Pina Colada874 – Bug Steak875 – Ectoplasm876 – Prismatic Jelly877 – Quality Bobber879 – Monster Musk880 – Combined Ring881 – Bone Fragment885 – Fiber Seeds886 – Warp Totem: Island887 – Immunity Band888 – Glowstone Ring889 – Qi Fruit890 – Qi Bean891 – Mushroom Tree Seed892 – Warp Totem: Qi’s Arena893 – Fireworks (Red)894 – Fireworks (Purple)895 – Fireworks (Green)896 – Galaxy Soul 897 – Pierre’s Missing Stocklist 898 – Son of Crimsonfish899 – Ms. Angler900 – Legend II901 – Radioactive Carp902 – Glacierfish Jr.903 – Ginger Ale904 – Banana Pudding905 – Mango Sticky Rice906 – Poi907 – Tropical Curry908 – Magic Bait909 – Radioactive Ore910 – Radioactive Bar911 – Horse Flute913 – Enricher915 – Pressure Nozzle917 – Qi Seasoning918 – Hyper Speed-Gro919 – Deluxe Fertilizer920 – Deluxe Retaining Soil921 – Squid Ink Ravioli922 – SupplyCrate923 – SupplCrate924 – SupplyCrate925 – Slime Crate926 – Cookout Kit927 – Camping Stove928 – Golden Egg929 – Hedge

That should give you everything you need to get whatever you want in Stardew Valley.