Stardew Valley Item IDs List & Console Spawn Codes (Complete Guide 2026)

Want to test out the endgame weapons early? Are you tired of grinding for rare crafting materials, or perhaps you accidentally sold a critical quest item and now your playthrough is soft-locked? Whether you are trying to reconstruct your massive farm after a corrupted save file, or you simply want to experience the sheer joy of sandbox freedom, knowing the correct item spawn codes is an absolute game-changer.

Using developer commands to spawn items is a beloved staple of PC gaming freedom. Since its launch, Stardew Valley has fostered a massive modding community and a legendary culture around in-game exploits. The most famous of these is the “Naming Glitch,” alongside the powerful SMAPI console commands. By utilizing specific numerical sequences enclosed in brackets, or by typing direct engine commands, you can manifest any object in the game directly into your inventory.

Below is the most curated, categorized list of essential Stardew Valley Item IDs and spawn codes, verified for the latest patches including the massive 1.6 framework updates. We have filtered out the useless junk to bring you the top 50 most powerful and necessary codes to elevate your farming, mining, and monster-slaying experience.

You may also like: The Ultimate Stardew Valley Cheat Engine Guide (And A Much Easier Alternative)

1. Quick Reference: Top 10 Most Wanted IDs

If you don’t want to scroll through thousands of rows of crop seeds and basic furniture, here are the exact spawn codes for the most essential items in the game. These are the highly sought-after artifacts, legendary consumables, and top-tier crafting materials that players spend hundreds of hours grinding for in the Skull Cavern.

Whether you are using the famous animal naming exploit (e.g., naming a chicken [74][434][279]) or using the SMAPI console, these numbers are the universal keys to unlimited wealth and power in Stardew Valley.

Prismatic Shard (Exact Item ID / Code: 74): The rarest mineral. Used for the Galaxy Sword, enchantments, and universal loved gifts.
Stardrop (Exact Item ID / Code: 434): Permanently increases your maximum energy level. Essential for endless farming.
Magic Rock Candy (Exact Item ID / Code: 279): The ultimate buff food. Grants massive boosts to Mining, Luck, Speed, and Defense.
Iridium Sprinkler (Exact Item ID / Code: 645): Waters 24 adjacent tiles every morning. The ultimate automated farming tool.
Treasure Chest (Exact Item ID / Code: 166): Can be sold for 5,000 Gold each. The fastest way to generate infinite money.
Pearl (Exact Item ID / Code: 797): Extremely rare artifact. Used for crafting the Bridal Veil or selling for high profit.
Mega Bomb (Exact Item ID / Code: 288): Creates a massive explosion. The absolute best tool for clearing the Skull Cavern.
Iridium Bar (Exact Item ID / Code: 337): The highest tier of crafting material. Required for ultimate tool upgrades.
Battery Pack (Exact Item ID / Code: 787): Difficult to farm naturally. Required for Iridium Sprinklers and Crystalariums.
Warp Totem: Farm (Exact Item ID / Code: 688): Instantly teleports you back to your farmhouse. A lifesaver at 1:50 AM.

2. How to Enable the Console & Use Spawn Commands

Before you can use the ID codes listed below, you must understand the correct syntax and the two primary methods for spawning items in Stardew Valley.

Method 1: The Vanilla Naming Exploit

Stardew Valley has a famous, built-in exploit that does not require mods. Whenever an NPC says your name, or the name of an animal, the game reads the text. If your name contains an Item ID wrapped in brackets, the game will spawn that item in your inventory. For example, go to Marnie’s Ranch and purchase a chicken. Name the chicken [74][166][279]. When Marnie says, “I will send little [74][166][279] to her new home,” you will instantly receive a Prismatic Shard, a Treasure Chest, and a Magic Rock Candy.

Method 2: The SMAPI Developer Console

For true console commands, you must install SMAPI (Stardew Modding API). Once installed, launching Stardew Valley will open a secondary black command prompt window alongside the game. This is your developer console. To spawn an item, click into the SMAPI console window and type the following syntax: player_additem [ID] [Quantity]

For example, to spawn 999 Mega Bombs (Item ID 288), you would type exactly: player_additem 288 999 and press Enter.

Expert Warning: “Typing long hex codes is fine if you only need to do it once. But if you are building a massive base or experimenting with builds, manually typing case-sensitive codes becomes incredibly repetitive. One wrong character results in a game crash or a corrupted inventory slot. I personally switched to a visual UI injector months ago.” — Catherine Hu, Senior Modding Specialist at XMODhub

【Download Stardew Valley Trainer Now】

3. The Easy Way: XMODhub Visual Spawner

Stop Alt-Tabbing to check massive spreadsheets. Typing long, case-sensitive ID codes breaks your immersion, wastes time, and risks corrupting your carefully curated save file if you input a deprecated code from an older patch.

The XMODhub PC Client includes a dedicated “Visual Item Spawner” feature specifically built for Stardew Valley. It completely bypasses the need for SMAPI text commands and the clunky animal naming exploit.

Icon-Based UI: See exactly what the weapon, ring, or crafting material looks like in a beautiful overlay before you spawn it. No more guessing if you typed the right number.
Instant Search: Just type the item name (e.g., “Galaxy Sword”) in the overlay search bar and click to drop it directly into your hotbar.
Batch Spawning: Get 999x of every single crafting material, crop, or geode with one single button press. Maximize your farm’s output in seconds.
Auto-Updated Lists: When developers add massive updates (like the Stardew Valley 1.6 patch) or new DLC items, XMODhub updates its database automatically. You never have to hunt for new ID numbers again.

4. Weapon IDs List (Melee & Ranged)

Combat in the deeper levels of the mines can be brutal if you are relying on early-game rusty swords. While standard object IDs work flawlessly with the naming glitch, spawning weapons via the SMAPI console requires a specific prefix in modern updates, or using the specific weapon database.

Below is the curated list of the top 15 most devastating weapons in Stardew Valley. If using SMAPI, you typically use player_addweapon [ID].

Galaxy Sword (Item ID: 4): Legendary. The most iconic and balanced endgame sword.
Galaxy Dagger (Item ID: 2): Legendary. Extremely fast attack speed for critical hit builds.
Galaxy Hammer (Item ID: 3): Legendary. Massive area-of-effect damage on special attack.
Infinity Blade (Item ID: 62): Mythic. The true final upgrade of the Galaxy Sword.
Infinity Dagger (Item ID: 63): Mythic. The true final upgrade of the Galaxy Dagger.
Infinity Gavel (Item ID: 64): Mythic. The true final upgrade of the Galaxy Hammer.
Dragontooth Club (Item ID: 50): Epic. Found in the Volcano Dungeon. High base damage.
Dragontooth Shiv (Item ID: 51): Epic. Excellent critical strike multiplier.
Dragontooth Cutlass (Item ID: 52): Epic. A powerful broadsword alternative to Galaxy weapons.
Lava Katana (Item ID: 23): Rare. The best pre-Galaxy weapon available at the Adventurer’s Guild.
Obsidian Edge (Item ID: 29): Uncommon. A solid mid-game milestone weapon.
Iridium Needle (Item ID: 47): Epic. Insane critical hit chance. Drops in dangerous mines.
Dwarf Sword (Item ID: 65): Rare. High defense stats built into the weapon.
Dwarf Dagger (Item ID: 66): Rare. Excellent knockback resistance.
Dwarf Hammer (Item ID: 67): Rare. Heavy hitter with a unique dwarven aesthetic.

5. Armor & Clothing IDs List

In Stardew Valley, your “Armor” is entirely dictated by the Boots you wear and the Rings you equip. Stacking the right combination of rings at the Volcano Forge is the key to becoming an unstoppable juggernaut in the Skull Cavern.

Here are the top 10 most essential wearable items. Note: Rings are treated as standard objects and can be spawned using player_additem [ID].

Iridium Band (Item ID: 527): Ring Slot. Glows, attracts items, and increases attack damage by 10%.
Slime Charmer Ring (Item ID: 529): Ring Slot. Prevents all damage and debuffs from Slimes. Essential!
Burglar’s Ring (Item ID: 526): Ring Slot. Monsters have a chance to drop double loot.
Vampire Ring (Item ID: 530): Ring Slot. Restores 2 health every time you slay a monster.
Lucky Ring (Item ID: 859): Ring Slot. Grants a permanent +1 Luck buff. Extremely rare drop.
Hot Java Ring (Item ID: 860): Ring Slot. Monsters have a chance to drop Coffee or Triple Shot Espresso.
Protection Ring (Item ID: 861): Ring Slot. Increases invincibility duration after taking damage.
Phoenix Ring (Item ID: 863): Ring Slot. Revives you with 50% health once per day when knocked out.
Space Boots (Item ID: 514): Footwear Slot. +4 Defense, +4 Immunity. Classic endgame boots.
Cinderclown Shoes (Item ID: 872): Footwear Slot. +6 Defense, +5 Immunity. The absolute best boots.

6. Ammo & Consumables IDs List

Managing your stamina, health, and explosive inventory is the core loop of Stardew Valley’s dungeon crawling. Never run out of supplies during a deep dive again.

Here are the top 15 most useful consumables, crafting materials, and utility items to keep your inventory stacked. Use player_additem [ID] [Quantity] to spawn stacks of these.

Triple Shot Espresso (Item ID: 253): Recommended Spawn Quantity: 999 (Permanent speed buff uptime)
Life Elixir (Item ID: 773): Recommended Spawn Quantity: 100 (Fully restores health to maximum)
Cherry Bomb (Item ID: 287): Recommended Spawn Quantity: 999 (Great for precise rock clearing)
Bomb (Item ID: 277): Recommended Spawn Quantity: 999 (Standard explosive for fast mining)
Magic Rock Candy (Item ID: 279): Recommended Spawn Quantity: 50 (Incredible buffs, do not waste them)
Spicy Eel (Item ID: 226): Recommended Spawn Quantity: 100 (Grants +1 Luck and +1 Speed)
Coal (Item ID: 382): Recommended Spawn Quantity: 999 (You will always need more Coal)
Hardwood (Item ID: 380): Recommended Spawn Quantity: 999 (Essential for late-game farm buildings)
Iridium Ore (Item ID: 386): Recommended Spawn Quantity: 999 (Smelt into bars for upgrades)
Gold Ore (Item ID: 384): Recommended Spawn Quantity: 999 (Required for quality sprinklers)
Solar Essence (Item ID: 768): Recommended Spawn Quantity: 500 (Used for Mega Bombs and Iridium Bands)
Void Essence (Item ID: 769): Recommended Spawn Quantity: 500 (Used for Mega Bombs and Iridium Bands)
Battery Pack (Item ID: 787): Recommended Spawn Quantity: 100 (Crucial for automation machinery)
Starfruit Seeds (Item ID: 268): Recommended Spawn Quantity: 999 (The most profitable crop to grow)
Ancient Fruit Seeds (Item ID: 114): Recommended Spawn Quantity: 999 (The foundation of a wine empire)

7. Stardew Valley 1.6 Exclusive Item IDs (Books & Mastery)

The massive 1.6 update revolutionized Stardew Valley’s progression system by introducing Skill Books, Mastery items, and unique consumables. If you are starting a new farm and want to accelerate your leveling process or unlock advanced perks without the massive time sink, spawning these new utility items is a game-changer. Note: For 1.6 items, using the string-based namespace format via SMAPI is often required.

Book of Stars (ID / String Code: (O)Book_Stars): Category: Skill Book. Primary Function / Use Case: Grants a massive chunk of experience in all skills.
Treasure Appraisal Guide (ID / String Code: (O)Book_Artifact): Category: Skill Book. Primary Function / Use Case: Permanently increases the selling price of artifacts.
Animal Catalogue (ID / String Code: (O)Book_Animal): Category: Skill Book. Primary Function / Use Case: Allows you to access Marnie’s shop even when she is away.
Stardrop Tea (ID / String Code: (O)StardropTea): Category: Consumable. Primary Function / Use Case: An excellent universal gift that maximizes friendship instantly.
Mystic Syrup (ID / String Code: (O)MysticSyrup): Category: Utility. Primary Function / Use Case: Tapped from Mystic Trees, required for high-tier crafting.
Challenge Bait (ID / String Code: (O)ChallengeBait): Category: Consumable. Primary Function / Use Case: Allows you to catch up to 3 fish at once if you play perfectly.

8. Museum Artifacts & Rare Quest Items

Completing Gunther’s Museum collection or finishing the Community Center bundles can be agonizing if the RNG is not in your favor. Missing a single prehistoric bone or a rare seasonal fish can delay your perfection tracker by an entire in-game year. Use these specific Stardew Valley item ids to bypass the grind, claim your Stardrop reward, and finish those lingering quests.

Dinosaur Egg (Item ID: 107): Artifact / Type: Dinosaur. Where It Normally Drops / Notes: Artifact spots in the Mountains or from Pepper Rex drops.
Ancient Seed (Artifact) (Item ID: 114): Artifact / Type: Ancient. Where It Normally Drops / Notes: Artifact spots in the Forest or from Bug drops in the mines.
Prehistoric Scapula (Item ID: 579): Artifact / Type: Rare Bone. Where It Normally Drops / Notes: Artifact spots in Town or Forest. Notoriously hard to find.
Tigerseye (Item ID: 569): Artifact / Type: Gemstone. Where It Normally Drops / Notes: Found exclusively in Magma Geodes and Omni Geodes.
Mayor’s Shorts (Item ID: 789): Artifact / Type: Quest Item. Where It Normally Drops / Notes: Found in Marnie’s bedroom. (Do not put them in the Luau soup!)
Berry Basket (Item ID: 790): Artifact / Type: Quest Item. Where It Normally Drops / Notes: Linus’s missing basket. Usually found in the Backwoods.

9. Troubleshooting: Why Are My Commands Failing?

If you are typing the Stardew Valley Item IDs correctly but the game is throwing errors, crashing, or simply doing nothing, check these common technical issues specific to the game’s engine and modding framework:

The Stardew Valley 1.6 Namespace Update: In the massive 1.6 update, the underlying code of Stardew Valley shifted from purely numerical IDs to string-based namespaces. While legacy SMAPI commands often still parse the old numbers for vanilla items, newer items or strict console parsers might require the category prefix. For example, instead of just 74, the engine now internally reads it as (O)74 (Object 74). If player_additem 74 fails, try using the updated SMAPI syntax or updating your SMAPI client to the latest version which automatically translates legacy IDs.
Red Text in the SMAPI Log: If you press Enter and the SMAPI console outputs a wall of red text, you have likely encountered a syntax error or a null reference. Ensure you are not putting brackets [ ] in the actual command. The command is player_additem 74 1, NOT player_additem [74] [1]. Brackets are ONLY used for the vanilla animal naming glitch.
Modded Item Dynamic IDs: If you are playing with massive expansion mods like Stardew Valley Expanded (SVE) or Ridgeside Village, the custom items introduced by those mods do not have static, universal IDs. The game engine assigns them dynamic IDs based on your specific mod load order. Attempting to guess these IDs will fail. You must use a dynamic look-up tool or the XMODhub Visual Spawner, which reads your active memory and automatically identifies load-order specific IDs.

10. Frequently Asked Questions (FAQ)

Q: Are these Item IDs case-sensitive in Stardew Valley?

A: When using the vanilla naming glitch (e.g., [74]), there is no case sensitivity because you are using numbers. However, when typing SMAPI commands like player_additem, the command itself is strictly case-sensitive. You must use lowercase for the command prefix. If you are using the newer 1.6 string IDs like (O)PrismaticShard, exact capitalization is absolutely mandatory, otherwise the C# engine will fail to parse the string.

Q: Can I spawn items while playing in Multiplayer or Co-Op?

A: No. These commands are executed client-side and only function reliably in Single-Player. Attempting to force spawn items via SMAPI in a multiplayer server where you are not the host will likely result in severe desync issues, corrupted inventory slots, or an immediate server kick. If you are the host, you can spawn items, but it may cause visual glitches for your farmhands.

Q: How do I find the Item IDs for custom modded weapons?

A: Finding dynamic load-order IDs manually is extremely difficult because they change every time you add or remove a mod. We highly recommend using the XMODhub Item Browser, which automatically scans your active mods, bypasses the dynamic ID generation, and lets you spawn custom modded weapons with a single click.

Q: Did ConcernedApe patch the naming glitch on consoles?

A: Yes. The [ID] naming glitch was patched out of the Nintendo Switch, PlayStation, and Xbox versions of Stardew Valley to prevent game crashes. However, ConcernedApe intentionally left the exploit active in the PC (Steam/GOG) versions of the game because he respects the freedom of PC players.

Conclusion: The Ultimate Sandbox Experience

Having access to the complete Stardew Valley Item IDs list is the fastest way to experiment with different character builds, design the ultimate aesthetic farm, or recover from a frustrating game bug that deleted your favorite sword. Bookmark this page so you can quickly reference the codes whenever you visit Marnie to buy a new animal, or whenever you boot up your SMAPI console.

However, if you want a significantly smoother, crash-free experience where you don’t need to memorize strings of code, worry about 1.6 namespace changes, or type tedious commands, the XMODhub Visual Spawner is the superior modern choice. It brings the power of developer tools directly into a beautiful, user-friendly interface.

Download XMODhub Trainer Now

  • Catherine Hu

    I am a passionate gamer and writer at XMODhub, dedicated to bringing you the latest gaming news, tips, and insights. Connect with me: LinkedIn Profile ↗

    Related Posts

    Best Stardew Valley Mods Tool (2026): Safe Downloads & No-Crash Guide

    Quick Answer: What is the best and safest Stardew Valley mods tool? To modify your gameplay safely without corrupting your save files, you need to use the right Stardew Valley mods tools: ✦XMODhub:…

    The 15 Best Stardew Valley Mods in 2026: Essential Enhancements & Tweaks

    Quick Answer: What are the best Stardew Valley mods right now? If you want to immediately elevate your farming simulation experience without reading through the entire guide, here are the absolute must-have modifications…

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    Primary Color

    Secondary Color

    Layout Mode