promotional bannermobile promotional banner

Content Code

Attach C# code snippets to your Content Patcher packs.

Content Code lets content packs run C# at certain points in the game.

Install

  • Install the latest version of SMAPI, SpaceCore.
  • Unzip the mod folder into Stardew Valley/Mods.
  • Run the game using SMAPI.


Use
For players
This mod does nothing on its own; you need to install content packs by unzipping them into your Mods folder. See Requirements > Mods requiring this file above to find content packs.

For mod authors
See the author guide for more info. (Also in the mod zip file for the first release.)


Compatibility
Compatible with Stardew Valley 1.5.5+ on Linux/macOS/Windows, both single-player and multiplayer.


See also

The Content Code Team

profile avatar
  • 14
    Followers
  • 69
    Projects
  • 3.7M
    Downloads

More from spacechase0View all

  • SpaceCore project image

    SpaceCore

    • 716.4K
    • Mods

    A framework mod used by some of my other mods.

    • 716.4K
    • October 19, 2025
    • Mods
  • Json Assets project image

    Json Assets

    • 628.6K
    • Mods

    Lets content packs add custom content to the game.

    • 628.6K
    • October 18, 2025
    • Mods
  • Generic Mod Config Menu project image

    Generic Mod Config Menu

    • 804.8K
    • Mods

    Adds an in-game UI to edit other mods' config options.

    • 804.8K
    • October 18, 2025
    • Mods
  • Experience Bars project image

    Experience Bars

    • 171.2K
    • Mods

    Adds experience bars for your skill levels, so you can see how far you are from leveling.

    • 171.2K
    • October 18, 2025
    • Mods
  • SpaceCore project image

    SpaceCore

    • 716.4K
    • Mods

    A framework mod used by some of my other mods.

    • 716.4K
    • October 19, 2025
    • Mods
  • Json Assets project image

    Json Assets

    • 628.6K
    • Mods

    Lets content packs add custom content to the game.

    • 628.6K
    • October 18, 2025
    • Mods
  • Generic Mod Config Menu project image

    Generic Mod Config Menu

    • 804.8K
    • Mods

    Adds an in-game UI to edit other mods' config options.

    • 804.8K
    • October 18, 2025
    • Mods
  • Experience Bars project image

    Experience Bars

    • 171.2K
    • Mods

    Adds experience bars for your skill levels, so you can see how far you are from leveling.

    • 171.2K
    • October 18, 2025
    • Mods