Changes

Jump to navigation Jump to search
73,034 bytes added ,  17:07, 1 January 2020
Massive update for Stardew 1.4
Line 1: Line 1:  
←[[Modding:Index|Index]]
 
←[[Modding:Index|Index]]
   −
Stardew Valley's developers added several hidden debug commands to test the game. This page documents them.
+
<div style="border: 1px solid red; background: #FCC; padding: 1em;">'''Warning: These commands are intended for testing and troubleshooting rather than general playing. Some have permanent side effects and may cause crashes or other problems.'''</div>
   −
If you type 'debug' into the chat box, a message appears: ''ConcernedApe: Nice try...''
     −
== Accessing debug commands ==
+
== Introduction ==
'''These are for advanced users only. These commands may crash or break your save if used incorrectly.'''
+
Stardew Valley's developers added hundreds of hidden debug commands to test the game; this page documents them. To use them, SMAPI (and its bundled Console Commands mod) must be installed. Trying to use them through the chat box (unless the [https://www.nexusmods.com/stardewvalley/mods/2092 Chat Commands] mod is also installed) will either silently fail or just cause the game to respond with the message ''ConcernedApe: Nice try...''
 
+
== Entering debug commands ==
You can run debug commands in the SMAPI window through the <tt>debug</tt> command, assuming you have the bundled Console Commands mod installed:
+
=== Individual commands ===
 +
Once you have SMAPI and Console Commands installed, these commands can be typed directly into the SMAPI console window. All of them should be prefaced with <code>debug </code>&nbsp;such as in the example below:
 
<pre>
 
<pre>
 
debug where Robin
 
debug where Robin
 
> Robin is at Farm, 21,4
 
> Robin is at Farm, 21,4
 
</pre>
 
</pre>
 +
While the example above did return output from the game, many of these commands do not and instead will display the message ''Sent debug command to the game, but there was no output.''
 +
=== Macros for multiple commands ===
 +
Multiple commands can be executed at once by saving them to a text file and then using the <tt>[[#runmacro|runmacro]]</tt> command.
 +
# Start by creating a text file in the [[Modding:Player_Guide/Getting_Started#Find_your_game_folder|game directory]]. This file should be named with a <tt>.txt</tt> extension.
 +
# Type commands in this file, one line at a time. Each command should start with a slash character (<tt>/</tt>) but should not include <code>debug </code>.
 +
# To run the macro, type <code>debug runmacro <filename></code> in the SMAPI console, replacing <tt><filename></tt> with the name of your command file without the <tt>.txt</tt> extension.
 +
''Example:'' Assume that the following commands are saved in the file <code>quickstart.txt</code> in the game directory.
 +
<pre>
 +
/backpack 12
 +
/Money 10000
 +
/levelup 0 1
 +
/weapon 5
 +
</pre>
 +
Entering <code>debug runmacro quickstart</code> in the SMAPI console will then execute all the commands resulting in a backpack upgrade, money set to 10000g, farming skill set to level 1, and a [[Bone Sword]] added to the player's inventory. Note: <tt>Money</tt> is capitalized in this example because if it is all lowercase it triggers a [[Secrets#Chat|special chat response]] instead of executing the command.
 +
== Commands ==
   −
== Commands ==
+
All known commands are listed below. Required parameters are listed in angle brackets and optional parameters are listed in square brackets. For example, the speed command is listed as <code>speed</code> {{t|I:value}} {{o|I:duration}} which means the command requires an integer value parameter and optionally has another integer duration parameter. Details such as default values should be listed in the description.
{{stub}}
     −
Many commands that ask for an NPC (such as faceDirection) can take 'farmer' as well.
+
The commands themselves are case-insensitive, but parameters may still be case-sensitive. If the description mentions that a parameter uses a "fuzzy" match, that means that it can match on a case-insensitive partial name. For example, any of the following 3 commands will set the player's [[friendship]] with [[Abigail]] to 500 points (2 hearts):
 +
*<code>friend Abigail 500</code>
 +
*<code>friend abi 500</code>
 +
*<code>friend gail 500</code>
 +
Many of the commands which accept an NPC name can also accept <tt>farmer</tt> to reference the player instead.
   −
=== Items, tools, loot, debris, inventory ===
+
=== Items and Inventory ===
 +
==== General Item Searching and Spawning ====
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! command !! description
+
! command !! description !! &nbsp;
 
|-
 
|-
| <tt>shears</tt> || Adds [[Shears]] to your inventory.
+
{{/cmd
 +
  |command = bigitem,big,bi,b
 +
  |params  = {{t|I:itemID}}
 +
  |desc    = Adds the specified craftable to your inventory. See [[Modding:Big Craftables data|Big Craftables data]] for a list of base game IDs.
 +
  |example = <code>debug bigitem 12</code> would give you a [[keg]].
 +
}}
 +
{{/cmd
 +
  |command = createdebris,mainmenu
 +
  |params  = {{t|I:itemID}}
 +
  |desc    = Spawns the specified object at your position. See [[Modding:Object data|Object data]] for a list of base game IDs. The object will initially be laying on the ground and will be picked up if you have room once the game regains focus.
 +
  |example = <code>debug createdebris 24</code> would spawn a [[parsnip]].
 +
  <!-- As odd as it seems, the above alias is correct. There may have been a different "mainmenu" command at one time, but currently it is equivalent to createdebris. -->
 +
}}
 +
{{/cmd
 +
  | command = everythingshop
 +
  | desc    = Opens a shop menu containing a furniture [[catalogue]], all objects, all craftables, and all weapons. All items are free.
 +
}}
 +
{{/cmd
 +
  |command = furniture,ff
 +
  |params  = {{o|I:itemID}}
 +
  |desc    = Adds the specified piece of furniture to your inventory. See [[Modding:Furniture data|Furniture data]] for a list of base game IDs. If the itemID is not supplied, a random piece of furniture (ID 0 - 1612) will be given.
 +
  |example = <code>debug furniture 704</code> would give you an [[Oak Dresser]].
 +
}}
 +
{{/cmd
 +
  |command = fuzzyitemnamed,fin,f
 +
  |params  = {{t|S:itemName}},{{o|I:amount}},{{o|I:quality}}
 +
  |desc    = Adds the specified item to your inventory. This is a fuzzy search and the game will look through objects, craftables, furniture, weapons, boots, hats, and clothes to match it. There is no reliable way to use names with spaces or differentiate items with the same name, so not all items can be accessed with this command. The optional parameters are for stack amount (defaults is 1) and quality (default is 0.)
 +
  |example = <code>debug fuzzyitemnamed sturg 5 4</code> would give you a stack of five Iridium-quality [[Sturgeon]].; <code>debug fin galaxy</code> would give you a [[Galaxy Sword]].; <code>debug f grief</code> would give you a [[Shirts|"Good Grief" Shirt]].
 +
}}
 +
{{/cmd
 +
  |command = getindex
 +
  |params  = {{t|S:itemName}}
 +
  |desc    = Outputs the parent sheet index (i.e. ID) of the specified item to the SMAPI console. This is a fuzzy search with similar behavior to the <code>fuzzyitemnamed</code> command. Weapons, Boots, and Hats are recognized but will not return the correct ID.
 +
  |example = <code>debug getindex prisma</code> would output ''Prismatic Shard's index is 74''.;<code>debug getindex grief</code> would output ''"Good Grief" Shirt's index is 1008''.
 +
}}
 +
{{/cmd
 +
  |command = item,i
 +
  |params  = {{t|I:itemID}},{{o|I:amount}},{{o|I:quality}}
 +
  |desc    = Adds the specified object to your inventory. Despite the generic name, this accepts object IDs only. The optional parameters are for stack amount (default is 1) and quality (default is 0.)
 +
  |example = <code>debug item 74</code> would give you a [[Prismatic Shard]].
 +
}}
 +
{{/cmd
 +
  |command = itemnamed,in
 +
  |params  = {{t|S:itemName}},{{o|I:amount}},{{o|I:quality}}
 +
  |desc    = Adds the specified object to your inventory. Accepts only object names; this is not a fuzzy match but is case-insensitive. Punctuation should be included, but all spaces should be removed from the name (see examples below). If the requested name is not unique, all matching objects will be added. The optional parameters are for stack amount (default is 1) and quality (default is 0.)
 +
  |example = <code>debug itemnamed miner'streat</code> would give you [[Miner's Treat]].;<code>debug in strangedoll 3</code> would give you 3 of each of the Strange Doll [[artifacts]].
 +
}}
 +
{{/cmd
 +
  |command = lookup,lu
 +
  |params  = {{t|S:itemName}}
 +
  |desc    = Outputs the parent sheet index (i.e. ID) of the specified object to the SMAPI console. Accepts only object names; this is not a fuzzy match but is case-insensitive and spaces should still be included (see examples below). If the requested name is not unique, all matching objects will be included in the output.
 +
  |example = <code>debug lookup diamond</code> would output ''diamond 72''.; <code>debug lu strange doll</code> would output ''strange 126'' and ''strange 127''.
 +
}}
 +
{{/cmd
 +
  |command = resource
 +
  |params  = {{o|I:type}},{{o|I:amount}}
 +
  |desc    = Marks specified amount of specified resource item as collected. This does not actually add any items but does increment some collection stats and may be useful for completing gathering quests. Valid types are 0 (copper), 2 (iron), 4 (coal), 6 (gold), 8 (coins), 10 (iridium), 12 (wood), and 28 (lantern fuel). Type 8 will increase your money by a random amount (rolls 10-49 and multiplies by the amount specified).
 +
  |example =
 +
}}
 +
{{/cmd
 +
  |command = tv
 +
  |desc    = Adds a TV furniture item to your inventory; this will be either a Budget TV or Plasma TV, randomly chosen with equal chances.
 +
}}
 +
{{/cmd
 +
  |command = wallpaper,wp
 +
  |params  = {{o|I:itemID}}
 +
  |desc    = Adds specified wallpaper item to inventory. If no ID is specified, this will randomly pick from any floor (ID 0-39) or wallpaper (ID 0-111). IDs over 111 do give items, but these will be either a combination of two different floor textures or a warped single floor texture.
 +
}}
 +
|}
 +
 
 +
==== Backpack / Inventory ====
 +
{| class="wikitable"
 
|-
 
|-
| <tt>pickaxe</tt> || Adds a basic [[Pickaxes|Pickaxe]] to your inventory.<br />''Aliases: {{t|pickax}}, {{t|pickaxe}}.''
+
! command !! description !! &nbsp;
 
|-
 
|-
| <tt>pole</tt> || Adds a [[Bamboo Pole]] to your inventory.
+
{{/cmd
 +
  |command = backpack
 +
  |params  = {{t|I:amount}}
 +
  |desc    = Increases your inventory space by the specified amount; capped at 36 slots.
 +
}}
 +
{{/cmd
 +
  |command = clear,ci
 +
  |desc    = Removes all items currently in your inventory.
 +
}}
 +
{{/cmd
 +
  |command = doesitemexist
 +
  |params  = {{t|I:itemID}}, {{o|S:isCraftable}}
 +
  |desc    = Checks all locations and all player inventories to see if the specified item exists anywhere. If the isCraftable argument is present (no matter what it is), the search will look for Big Craftables with the specified ID; if the isCraftable argument is absent, the search will instead look for Objects with the specified ID. A global message saying ''Yes'' or ''No'' will be displayed, but there is no indication of where the item is located if it is found.
 +
  |example = <code>debug doesitemexist 24</code> will search for Parsnips.; <code>debug doesitemexist 12 t</code> will search for Kegs.
 +
}}
 +
{{/cmd
 +
  |command = fillbackpack,fillbp,fill,fbp
 +
  |desc    = Fills all empty spaces in your inventory with random Objects. Any objects spawned by this command will not be marked as found on the collections tab.
 +
}}
 +
{{/cmd
 +
  |command = sl
 +
  |desc    = Shifts inventory rows down, looping previous bottom row to top; similar to using Control-Tab with default keyboard controls. Will work with larger-than-normal inventories.
 +
}}
 +
{{/cmd
 +
  |command = sr
 +
  |desc    = Shifts inventory rows up, looping previous top row to bottom; similar to using Tab with default keyboard controls. Will work with larger-than-normal inventories.
 +
}}
 +
|}
 +
 
 +
==== Clothing and Tailoring ====
 +
{| class="wikitable"
 
|-
 
|-
| <tt>slingshot</tt> || Adds a [[Slingshot]] to your inventory.
+
! command !! description !! &nbsp;
 
|-
 
|-
| <tt>wand</tt> || Adds a [[Return Scepter]] to your inventory.
+
{{/cmd
 +
  |command = boots
 +
  |params  = {{t|I:itemID}}
 +
  |desc    = Adds the specified pair of [[boots]] to your inventory. See <tt>Data/Boots</tt> for a list of base game IDs.
 +
  |example = <code>debug boots 504</code> would give you [[Sneakers]].
 +
}}
 +
{{/cmd
 +
  |command = clothes
 +
  |params  = {{t|I:itemID}}
 +
  |desc    = Adds the specified [[Tailoring|clothing]] item to your inventory. See <tt>Data/ClothingInformation</tt> for a list of base game IDs.
 +
  |example = <code>debug clothes 1008</code> would give you a "Good Grief" Shirt.; <code>debug clothes 11</code> would give you a Simple Dress.
 +
}}
 +
{{/cmd
 +
  |command = dye
 +
  |params  = {{t|S:itemType}}, {{t|S:color}}, {{t|F:strength}}
 +
  |desc    = Dyes the specified (currently equipped) item the specified color. Item type can be <tt>shirt</tt> or <tt>pants</tt> and valid colors are <tt>black</tt>, <tt>blue</tt>, <tt>green</tt>, <tt>red</tt>, <tt>white</tt>, and <tt>yellow</tt>. Strength is a float between 0 and 1 inclusive; the higher the number, the more vibrant the color. The dye will mix with the current color so it is sometimes necessary to "reset" the item by dyeing first with white strength 1.
 +
  |example = <code>debug dye shirt red 0.33</code> would dye your current shirt a shade of pink.; <code>debug dye pants blue 1</code> would dye your current pants bright blue.
 +
}}
 +
{{/cmd
 +
  |command = dyeAll
 +
  |desc    = Seems to be intended to bring up a character customization menu with HSV sliders for both shirt and pants, but it does not function because all entered commands are forced to lower case. The two individual commands [[#dyepants|dyepants]] and [[#dyeshirt|dyeshirt]] can be used instead.
 +
}}
 +
{{/cmd
 +
  |command = dyemenu
 +
  |desc    = Brings up the same [[Dyeing#Dye_Pots|dyeing menu]] you get by interacting with the dye pots in Emily's house. Filling all six pots with appropriate items will bring up a character customization menu with HSV sliders for dyeing both your currently-equipped shirt and pants.
 +
}}
 +
{{/cmd
 +
  |command = dyepants
 +
  |desc    = Brings up a character customization menu with HSV sliders for dyeing your currently-equipped pants.
 +
}}
 +
{{/cmd
 +
  |command = dyeshirt
 +
  |desc    = Brings up a character customization menu with HSV sliders for dyeing your currently-equipped shirt.
 +
}}
 +
{{/cmd
 +
  |command = hat
 +
  |params  = {{t|I:itemID}}
 +
  |desc    = Gives and automatically equips the specified [[hat]] to your farmer; any currently equipped hat will be destroyed.  See [[Modding:Hat data|Hat data]] for a list of base game IDs.
 +
  |example = <code>debug hat 3</code> would give you a [[Sombrero]] and automatically equip it.
 +
}}
 +
{{/cmd
 +
  |command = ring
 +
  |params  = {{t|I:itemID}}
 +
  |desc    = Adds the specified [[ring]] to your inventory. See [[Modding:Object data|Object Data]] for a list of base game IDs.
 +
  |example = <code>debug ring 527</code> would give you an [[Iridium Band]].
 +
}}
 +
{{/cmd
 +
  |command = tailor
 +
  |desc    = Brings up the same [[Tailoring|tailoring menu]] you get by interacting with the sewing machine in Emily's house.
 +
}}
 +
{{/cmd
 +
  |command = tailorrecipelisttool,trlt
 +
  |desc    = Brings up a special menu listing most Objects, what color they will dye an item, and what clothing item they can make when used in the sewing machine. The menu can be scrolled with the mouse wheel, hovering the mouse over the object will show the tooltip for the clothing it makes, and clicking on the object will add the clothing it makes to your inventory.
 +
}}
 +
|}
 +
 
 +
==== Tools and Weapons ====
 +
{| class="wikitable"
 
|-
 
|-
| <tt>can</tt> || Adds a basic [[Watering Cans|Watering Can]] to your inventory.<br />''Aliases: <tt>wateringcan</tt>.''
+
! command !! description !! &nbsp;
 
|-
 
|-
| <tt>pan</tt> || Adds [[Copper Pan]] to your inventory.
+
{{/cmd
 +
  |command = ax
 +
  |desc    = Adds a basic [[Axes|Axe]] to your inventory.
 +
}}
 +
{{/cmd
 +
  |command = hoe
 +
  |desc    = Adds a basic [[Hoes|Hoe]] to your inventory.
 +
}}
 +
{{/cmd
 +
  |command = mp
 +
  |desc    = Adds a [[Milk Pail]] to your inventory.
 +
}}
 +
{{/cmd
 +
  |command = pan
 +
  |desc    = Adds a [[Copper Pan]] to your inventory.
 +
}}
 +
{{/cmd
 +
  |command = pickaxe,pickax,pick
 +
  |desc    = Adds a basic [[Pickaxes|Pickaxe]] to your inventory.
 +
}}
 +
{{/cmd
 +
  |command = pole
 +
  |params  = {{o|I:type}}
 +
  |desc    = Adds a [[Fishing Poles|Fishing Pole]] of the specified type to your inventory. Valid types are 0 (Bamboo Pole; the default), 1 (Training Rod), 2 (Fiberglass Rod), or 3 (Iridium Rod).
 +
}}
 +
{{/cmd
 +
  |command = shears,scissors
 +
  |desc    = Adds [[Shears]] to your inventory.
 +
}}
 +
{{/cmd
 +
  |command = slingshot
 +
  |desc    = Adds a [[Slingshot]] to your inventory.
 +
}}
 +
{{/cmd
 +
  |command = tool
 +
  |params  = {{t|S:name}},{{t|I:level}}
 +
  |desc    = Changes the upgrade level of the specified tool to the specified level; the tool must be in your inventory. Tool names are case-sensitive but can match partially; valid names are <tt>Ax</tt>, <tt>Hoe</tt>, <tt>Pickaxe</tt>, and <tt>Watering Can</tt>. Upgrade levels are 0 (basic), 1 (copper), 2 (steel), 3 (gold), or 4 (iridium).
 +
  |example = <code>debug tool Pick 0</code> would set your pickaxe to base quality.; <code>debug tool Can 4</code> would set your watering can to iridium quality.
 +
}}
 +
{{/cmd
 +
  |command = trashcan
 +
  |params  = {{t|I:level}}
 +
  |desc    = Changes the upgrade level of your inventory [[Trash Cans|Trash Can]]. Upgrade levels are 0 (basic), 1 (copper), 2 (steel), 3 (gold), or 4 (iridium). The can sprite may not fully update until the inventory is closed and reopened.
 +
}}
 +
{{/cmd
 +
  |command = wand
 +
  |desc    = Adds a [[Return Scepter]] to your inventory.
 +
}}
 +
{{/cmd
 +
  |command = wateringcan,can
 +
  |desc    = Adds a basic [[Watering Cans|Watering Can]] to your inventory.
 +
}}
 +
{{/cmd
 +
  |command = weapon
 +
  |params  = {{t|I:weaponID}}
 +
  |desc    = Adds the specified weapon to your inventory. See [[Modding:Weapon data|Weapon data]] for a list of base game IDs.
 +
  |example = <code>debug weapon 12</code> would give you a [[Wooden Blade]].
 +
}}
 +
|}
 +
 
 +
==== Wallet Items ====
 +
{| class="wikitable"
 
|-
 
|-
| <tt>hoe</tt> || Adds a basic [[Hoes|Hoe]] to your inventory.
+
! command !! description !! &nbsp;
 
|-
 
|-
| <tt>ax</tt> || Adds a basic [[Axes|Axe]] to your inventory.
+
{{/cmd
 +
  |command = clearspecials
 +
  |desc    = Removes most special items from your [[Wallet]]. The Rusty Key, Skull Key, Special Charm, Dark Talisman, Magic Ink, Club Card, Dwarven Translation Guide, and Magnifying Glass will all be removed, but Bear's Knowledge and Spring Onion Mastery will remain.
 +
}}
 +
{{/cmd
 +
  |command = darktalisman
 +
  |desc    = Adds the [[Dark Talisman]] to (and removes the [[Magic Ink]] from) your wallet; also removes the magic artifact blocking access to the [[Witch's Swamp]].<br/>'''Warning: This command will also clear all received mail and hidden mail flags.'''
 +
}}
 +
{{/cmd
 +
  |command = skullkey
 +
  |desc    = Adds the [[Skull Key]] to your wallet.
 +
}}
 +
{{/cmd
 +
  |command = specialitem
 +
  |params  = {{t|I:itemID}}
 +
  |desc    = Adds the specified special item to your wallet. Which ID values are useful is currently unknown.
 +
}}
 +
{{/cmd
 +
  |command = specials
 +
  |desc    = Adds all special items to your wallet, including Bear's Knowledge and Spring Onion Mastery. The associated events for these two are also marked as seen.
 +
}}
 +
|}
 +
 
 +
==== Miscellaneous Items ====
 +
{| class="wikitable"
 
|-
 
|-
| <tt>mp</tt> || Adds a [[Milk Pail]] to your inventory.
+
! command !! description !! &nbsp;
 
|-
 
|-
| <tt>lantern</tt> || '''[broken]''' Adds a Lantern to your inventory. However, the game freezes if you try to use it. One possible way to get out is by clicking the Quest menu.
+
{{/cmd
 +
  |command = fillbin,fb
 +
  |desc    = Adds a Parsnip, Fire Quartz, LargeMouth Bass, Wild Horseradish, and Wood to the shipping bin.
 +
}}
 +
{{/cmd
 +
  |command = listtags
 +
  |desc    = Outputs all object context tags associated with the currently-held item to the console.
 +
  |example = <code>debug listtags</code> while holding an [[Acorn]] would output ''Tags on Acorn: id_o_309 color_brown tree_seed_item item_acorn category_seeds''.
 +
}}
 +
{{/cmd
 +
  |command = makeinedible
 +
  |desc    = Makes the currently-held item inedible by setting its edibility value to -300; does not affect other instances of the same item.
 +
}}
 +
{{/cmd
 +
  |command = skullgear
 +
  |desc    = Sets your current backpack size to 32 slots, equips a Savage Ring and Iridium Band, equips Space Boots, and clears inventory except for an Iridium Pickaxe, a Galaxy Sword, a stack of 20 Spicy Eels, and a stack of 20 Mega Bombs. Also sets your maximum health to 75 and gives you the Fighter profession. Any previously equipped boots and rings and all previous inventory items are lost.
 +
}}
 +
|}
 +
 
 +
=== Player Information ===
 +
==== Appearance ====
 +
{| class="wikitable"
 
|-
 
|-
| colspan=2 |
+
! command !! description !! &nbsp;
 
|-
 
|-
| {{t|skullkey}} || Adds the [[Skull Key]] to your wallet.
+
{{/cmd
 +
  |command = customizemenu,customize,cmenu
 +
  |desc    = Opens the full character customization menu seen at the start of a new game which includes gender options and player/farm names. Changing the player name will cause the save file to change as well.
 +
}}
 +
{{/cmd
 +
  |command = haircolor
 +
  |params  = {{t|I:R}},{{t|I:G}},{{t|I:B}}
 +
  |desc    = Sets the player's hair color to the specified RGB values. Each has a range of 0-255.
 +
}}
 +
{{/cmd
 +
  |command = hairstyle
 +
  |params  = {{t|I:ID}}
 +
  |desc    = Sets the player's hair style to the specified ID. Note that these IDs are one less than the values shown in the character customization menu and have a range of 0-55 in the base game.
 +
}}
 +
{{/cmd
 +
  |command = pants
 +
  |params  = {{t|I:R}},{{t|I:G}},{{t|I:B}}
 +
  |desc    = Sets the player's pants color to the specified RGB values. Each has a range of 0-255. This no longer has a noticeable effect since pants are now a clothing item; the [[#dyepants|dyepants]] command should be used instead.
 +
}}
 +
{{/cmd
 +
  |command = shirtcolor
 +
  |params  = {{t|I:ID}}
 +
  |desc    = Sets the player's shirt choice to the specified ID. This no longer has a noticeable effect since shirts are now a clothing item; the [[#clothes|clothes]] or [[#dyeshirt|dyeshirt]] commands should be used instead.
 +
}}
 +
{{/cmd
 +
  |command = skincolor
 +
  |params  = {{t|I:ID}}
 +
  |desc    = Sets the player's skin color to the specified ID. Note that these IDs are one less than the values shown in the character customization menu and have a range of 0-23 in the base game.
 +
}}
 +
|}
 +
 
 +
==== Health, Stamina, Buffs, and Money ====
 +
{| class="wikitable"
 
|-
 
|-
| {{t|darkTalisman}} || Adds the [[Dark Talisman]] to your wallet and makes the [[Witch's Hut]] accessible. Removes the [[Magic Ink]], if you have it. '''Warning: will clear all mail and flags. Do not use.'''
+
! command !! description !! &nbsp;
 
|-
 
|-
| clearSpecials || Removes all [[Wallet]] items (Rusty Key, Skull Key, Special Charm, Dark Talisman, Magic Ink, Club Card, Dwarven Translation Guide).
+
{{/cmd
 +
  |command = buff
 +
  |params  = {{t|I:buffID}}
 +
  |desc    = Adds the specified buff to the player. Useful ID values are listed below. Also see the [[#speed|speed]] command.
 +
<!-- Not really happy with the amount of room this takes up, but moving to 3 columns might be bad for those browsing on mobile -->
 +
<table class="wikitable"><tr><td>6 - Full (prevents eating) for 3 min</td><td>18 - Spooked (-8 attack) for 8 sec</td></tr>
 +
<tr><td>7 - Quenched (prevents drinking) for 1 min</td><td>19 - Frozen (-8 speed) for 2 sec</td></tr>
 +
<tr><td>12 - Goblin's Curse (-3 spd/def/att) for 6 sec</td><td>20 - Warrior Energy (+10 attack) for 5 sec</td></tr>
 +
<tr><td>13 - Slimed (-4 speed) for 2.5-3 sec</td><td>21 - Yoba's Blessing (Invincibility) for 5 sec</td></tr>
 +
<tr><td>14 - Jinxed (-8 defense) for 8 sec</td><td>22 - Adrenaline Rush (+2 speed) for 3 sec</td></tr>
 +
<tr><td>17 - Tipsy (-1 speed) for 30 sec</td><td>23 - Oil of Garlic (prevents swarms) for 10 min</td></tr></table>
 +
}}
 +
{{/cmd
 +
  |command = clearbuffs
 +
  |desc    = Removes all active buffs (both positive and negative.)
 +
}}
 +
{{/cmd
 +
  |command = die
 +
  |desc    = Sets your [[health]] to zero, resulting in passing out and awakening in the [[Clinic]].
 +
}}
 +
{{/cmd
 +
  |command = energize
 +
  |params  = {{o|I:amount}}
 +
  |desc    = Sets your [[energy]] to the specified amount. If no amount is specified, it will be set to maximum.
 +
}}
 +
{{/cmd
 +
  |command = exhaust
 +
  |desc    = Sets your [[energy]] to -15, resulting in passing out and ending the day.
 +
}}
 +
{{/cmd
 +
  |command = gold
 +
  |desc    = Gives you one million (1,000,000) [[gold]].
 +
}}
 +
{{/cmd
 +
  |command = heal
 +
  |desc    = Sets your [[health]] to maximum.
 +
}}
 +
{{/cmd
 +
  |command = invincible
 +
  |desc    = Toggles invincibility. When on, you will not take any damage.
 +
}}
 +
{{/cmd
 +
  |command = money
 +
  |params  = {{t|I:amount}}
 +
  |desc    = Sets your money to the specified amount. To use in a [[#Macros for multiple commands|macro]], make sure one or more of the letters in the command is capitalized.
 +
}}
 +
|}
 +
 
 +
==== Movement and Warping ====
 +
{| class="wikitable"
 
|-
 
|-
| itemnamed {{t|string itemName}} {{o|int count}} || Adds {{o|count}} of the item named {{t|itemName}} to player inventory. The {{t|itemName}} is the full item name, with punctuation but no spaces (like {{t|miner'streat}}). If {{o|count}} isn't specified, defaults to 1.<br />''Aliases: {{t|in}}.''
+
! command !! description !! &nbsp;
 
|-
 
|-
| {{t|fillbackpack}} || Fills your inventory with random items until full.<br />''Aliases: {{t|fbp}}, {{t|fill}}, {{t|fillbp}}.
+
{{/cmd
 +
  |command = canmove,cm,c
 +
  |desc    = Attempts to force-enable player movement by resetting animations and dismounting the horse. Sometimes useful when the player becomes "stuck."
 +
}}
 +
{{/cmd
 +
  |command = minelevel
 +
  |params  = {{t|I:level}}
 +
  |desc    = Warps you to the specified level of the [[Mines]]. Use level 77377 to warp to the [[Quarry Mine]], and to warp to a level in the [[Skull Cavern]], add 120 to your target level.
 +
  |example = <code>debug minelevel 219</code> will warp you to level 99 of the Skull Cavern.
 +
}}
 +
{{/cmd
 +
  |command = speed
 +
  |params  = {{t|I:value}},{{o|I:duration}}
 +
  |desc    = Gives the player a speed buff of the specified amount for the specified duration. The duration is interpreted as in-game minutes and defaults to 30; multiplying this value by 0.7 will convert to real-time seconds. This buff has a unique source of "Debug Speed" and will stack with both food and drink speed buffs.
 +
  |example = <code>debug speed 5 600</code> will give you a +5 speed buff which lasts for 7 minutes (10 game hours).
 +
}}
 +
{{/cmd
 +
  |command = warp
 +
  |params  = {{t|S:locationName}},{{o|I:X}},{{o|I:Y}}
 +
  |desc    = Warps you to the specified location at the given coordinates. The location name is a fuzzy match, and if the coordinates are not supplied the game has a list of hardcoded defaults it will use for many locations (see <tt>Utility.getDefaultWarpLocation()</tt> for details.)
 +
  |example = <code>debug warp forest 33 99</code> will warp you near Hat Mouse's shop in the forest.; <code>debug warp sci</code> will warp you to Robin's House (internally <tt>ScienceHouse</tt>) just in front of where Robin tends the shop.
 +
}}
 +
{{/cmd
 +
  |command = warphome,wh
 +
  |desc    = Warps you directly to your bed in your farmhouse/cabin.
 +
}}
 +
{{/cmd
 +
  |command = warpshop,ws
 +
  |params  = {{t|S:npcName}}
 +
  |desc    = Warps you to the shop run by the specified NPC; if necessary will also warp the NPC to the shop location. NPC names are case-insensitive and can be one of the following: <tt>pierre</tt>, <tt>robin</tt>, <tt>krobus</tt>, <tt>sandy</tt>, <tt>marnie</tt>, <tt>clint</tt>, <tt>gus</tt>, <tt>willy</tt>, <tt>pam</tt>, <tt>dwarf</tt>, and <tt>wizard</tt>. The <tt>wizard</tt> option will also add Magic Ink to your wallet and mark the event where the ink is returned as already seen.
 +
  |example = <code>debug warpshop marnie</code> will warp both you and Marnie to her animal shop.
 +
}}
 +
{{/cmd
 +
  |command = warptocharacter,wtc
 +
  |params  = {{t|S:npcName}}
 +
  |desc    = Warps you to the specified character, wherever they are. This is a fuzzy match.
 +
}}
 +
{{/cmd
 +
  |command = warptoplayer,wtp
 +
  |params  = {{t|S:playerName}}
 +
  |desc    = Warps you to the specified player, wherever they are. The match is case-insensitive and any spaces should be removed from the name.
 +
}}
 +
|}
 +
 
 +
==== Skills and Experience ====
 +
{| class="wikitable"
 
|-
 
|-
| {{t|removeObjects}} || Clears all objects from the current location.
+
! command !! description !! &nbsp;
 
|-
 
|-
| {{t|removeDebris}} || Removes all debris (such as dropped items).<br />''Aliases: {{t|mainmenu}}, {{t|mainMenu}}.''<br /><!--As odd as it seems, these aliases are indeed aliases. There may have been a different MainMenu command but as things are, these are aliases.-->
+
{{/cmd
 +
  |command = experience
 +
  |params  = {{t|I:skillID}},{{t|I:xpAmount}}
 +
  |desc    = Adds the specified amount of experience to the specified skill. Valid skill IDs are 0 (Farming), 1 (Fishing), 2 (Foraging), 3 (Mining), 4 (Combat), and 5 (Luck).
 +
}}
 +
{{/cmd
 +
  |command = fishing
 +
  |params  = {{t|I:level}}
 +
  |desc    = Sets your fishing skill to the specified level. This does not unlock crafting recipes or allow profession choice, nor does it change the underlying experience amount. However it does count in terms of unlocking what Willy sells and enabling legendary fish to be hooked.
 +
}}
 +
{{/cmd
 +
  |command = levelup
 +
  |params  = {{t|I:skillID}},{{t|I:level}}
 +
  |desc    = Shows the appropriate levelup window for the specified skill and level. This unlocks any associated crafting recipes and (if applicable) lets you choose a profession, but does not actually change the skill level or underlying experience amount. Valid skill IDs are 0 (Farming), 1 (Fishing), 2 (Foraging), 3 (Mining), 4 (Combat), and 5 (Luck).
 +
}}
 +
{{/cmd
 +
  |command = profession
 +
  |params  = {{t|I:ID}}
 +
  |desc    = Gives you the specified profession. Valid profesion IDs from the base game are shown below.
 +
<table class="wikitable"><tr><th>Farming</th><th>Fishing</th><th>Foraging</th><th>Mining</th><th>Combat</th></tr>
 +
<tr><td>0 - Rancher</td><td>6 - Fisher</td><td>12 - Forester</td><td>18 - Miner</td><td>24 - Fighter</td></tr>
 +
<tr><td>1 - Tiller</td><td>7 - Trapper</td><td>13 - Gatherer</td><td>19 - Geologist</td><td>25 - Scout</td></tr>
 +
<tr><td>2 - Coopmaster</td><td>8 - Angler</td><td>14 - Lumberjack</td><td>20 - Blacksmith</td><td>26 - Brute</td></tr>
 +
<tr><td>3 - Shepherd</td><td>9 - Pirate</td><td>15 - Tapper</td><td>21 - Prospector</td><td>27 - Defender</td></tr>
 +
<tr><td>4 - Artisan</td><td>10 - Mariner</td><td>16 - Botanist</td><td>22 - Excavator</td><td>28 - Acrobat</td></tr>
 +
<tr><td>5 - Agriculturist</td><td>11 - Luremaster</td><td>17 - Tracker</td><td>23 - Gemologist</td><td>29 - Desperado</td></tr></table>
 +
}}
 +
{{/cmd
 +
  |command = showexperience
 +
  |params  = {{t|I:skillID}}
 +
  |desc    = Outputs your total experience amount for the specified skill in the SMAPI console. Valid skill IDs are 0 (Farming), 1 (Fishing), 2 (Foraging), 3 (Mining), 4 (Combat), and 5 (Luck).
 +
}}
 +
|}
 +
 
 +
==== Statistics and Achievements ====
 +
{| class="wikitable"
 
|-
 
|-
| {{t|museumloot}} || Marks artifacts as found and adds minerals to your inventory. Stops when your inventory is full.
+
! command !! description !! &nbsp;
 
|-
 
|-
| {{t|TV}} || Adds a TV to your inventory.
+
{{/cmd
 +
  |command = achieve
 +
  |params  = {{t|S:steamAchieveID}}
 +
  |desc    = Awards the specified Steam achievement. Steam achievements which correspond to in-game achievements use the same numeric ID as listed in [[Modding:Achievement data|Achievement data]] with one exception: the ID for ''Greenhorn'' is <tt>a0</tt> instead of just <tt>0</tt>. Steam-only achievements have a much longer string ID; these are listed below.
 +
<table class="wikitable"><tr><td><tt>Achievement_SigularTalent</tt> - ''Singular Talent''</td><td><tt>Achievement_MasterOfTheFiveWays</tt> - ''Master Of The Five Ways''</td></tr>
 +
<tr><td><tt>Achievement_LocalLegend</tt> - ''Local Legend''</td><td><tt>Achievement_Joja</tt> - ''Joja Co. Member Of The Year''</td></tr>
 +
<tr><td><tt>Achievement_FullHouse</tt> - ''Full House''</td><td><tt>Achievement_Stardrop</tt> - ''Mystery Of The Stardrops''</td></tr>
 +
<tr><td><tt>Achievement_TheBottom</tt> - '' The Bottom''</td><td><tt>Achievement_KeeperOfTheMysticRings</tt> - ''Protector Of The Valley''</td></tr>
 +
<tr><td><tt>Achievement_PrairieKing</tt> - ''Prairie King''</td><td><tt>Achievement_FectorsChallenge</tt> - ''Fector's Challenge''</td></tr></table>
 +
|example = <code>debug achieve 17</code> will award the Steam achievement for ''Gourmet Chef''.;<code>debug achieve Achievement_Stardrop</code> will award the Steam achievement for ''Mystery of the Stardrops''.
 +
}}
 +
{{/cmd
 +
  |command = achievement
 +
  |params  = {{t|I:achieveID}}
 +
  |desc    = Awards the specified in-game achievement. See [[Modding:Achievement data|Achievement data]] for a list of IDs. This will also award the associated Steam achievement if you don't have it.
 +
}}
 +
{{/cmd
 +
  |command = caughtfish,fishcaught
 +
  |params  = {{t|I:value}}
 +
  |desc    = Sets the <tt>FishCaught</tt> stat to the specified amount.
 +
}}
 +
{{/cmd
 +
  |command = changestat
 +
  |params  = {{t|S:statID}},{{t|I:value}}
 +
  |desc    = Sets the specified stat to the specified value. These are different than the stats used in [[#getstat|getstat]]/[[#setstat|setstat]] (Technical note: they are entries in StardewValley.Stats.stat_dictionary). Known IDs as of version 1.4.3 are: <tt>trashCansChecked</tt>.
 +
}}
 +
{{/cmd
 +
  |command = daysplayed,dap
 +
  |desc    = Shows a global message with the current value of the <tt>daysPlayed</tt> stat.
 +
}}
 +
{{/cmd
 +
  |command = dp
 +
  |params  = {{t|I:value}}
 +
  |desc    = Sets the <tt>daysPlayed</tt> stat to the specified amount.
 +
}}
 +
{{/cmd
 +
  |command = getstat
 +
  |params  = {{t|S:statID}}
 +
  |desc    = Outputs value of specified stat to the SMAPI console. Some of these values are also accessible in-game by interacting with a machine in the [[Casino]].
 +
  Stat IDs are case-sensitive (Technical note: they are the properties for the StardewValley.Stats class, but not all of them are actually tracked by the game.) Known IDs as of version 1.4.3 are: <tt>AverageBedtime</tt>, <tt>BarsSmelted</tt>, <tt>BeveragesMade</tt>, <tt>BouldersCracked</tt>, <tt>CaveCarrotsFound</tt>, <tt>CheeseMade</tt>, <tt>ChickenEggsLayed</tt>, <tt>CoalFound</tt>, <tt>CoinsFound</tt>, <tt>CopperFound</tt>, <tt>CowMilkProduced</tt>, <tt>CropsShipped</tt>, <tt>DaysPlayed</tt>, <tt>DiamondsFound</tt>, <tt>DirtHoed</tt>, <tt>DuckEggsLayed</tt>, <tt>FishCaught</tt>, <tt>GeodesCracked</tt>, <tt>GiftsGiven</tt>, <tt>GoatCheeseMade</tt>, <tt>GoatMilkProduced</tt>, <tt>GoldFound</tt>, <tt>GoodFriends</tt>, <tt>IndividualMoneyEarned</tt>, <tt>IridiumFound</tt>, <tt>IronFound</tt>, <tt>ItemsCooked</tt>, <tt>ItemsCrafted</tt>, <tt>ItemsForaged</tt>, <tt>ItemsShipped</tt>, <tt>MonstersKilled</tt>, <tt>MysticStonesCrushed</tt>, <tt>NotesFound</tt>, <tt>OtherPreciousGemsFound</tt>, <tt>PiecesOfTrashRecycled</tt>, <tt>PreservesMade</tt>, <tt>PrismaticShardsFound</tt>, <tt>QuestsCompleted</tt>, <tt>RabbitWoolProduced</tt>, <tt>RocksCrushed</tt>, <tt>SeedsSown</tt>, <tt>SheepWoolProduced</tt>, <tt>SlimesKilled</tt>, <tt>StarLevelCropsShipped</tt>, <tt>StepsTaken</tt>, <tt>SticksChopped</tt>, <tt>StoneGathered</tt>, <tt>StumpsChopped</tt>, <tt>TimesFished</tt>, <tt>TimesUnconscious</tt>, <tt>TrufflesFound</tt>, and <tt>WeedsEliminated</tt>.
 +
}}
 +
{{/cmd
 +
  |command = killmonsterstat,kms
 +
  |params  = {{t|S:monsterName}},{{t|I:value}}
 +
  |desc    = Sets the kill stats for the specified monster to the specified value. The monster name should be the same as the keys in <tt>Data/Monsters</tt> but with spaces replaced with zeros; it is case-sensitive. The command will output a buggy response to the console due to referencing the wrong string key, but the stats are correctly set.
 +
  |example = <code>debug kms Dust0Spirit 499</code> will set the monster kill stats for [[Dust Sprite|Dust Sprites]] to 499 and output ''Drink Dust Spirit?''
 +
}}
 +
{{/cmd
 +
  |command = mineinfo
 +
  |desc    = Outputs two mine-related stats to the SMAPI Console: <tt>MineShaft.lowestLevelReached</tt> and <tt>player.deepestMineLevel</tt>
 +
}}
 +
{{/cmd
 +
  |command = resetachievements
 +
  |desc    = Resets the Steam achievements.
 +
}}
 +
{{/cmd
 +
  |command = setstat
 +
  |params  = {{t|S:statID}},{{t|I:value}}
 +
  |desc    = Sets the specified stat to the specified value. Stat IDs are case-sensitive; see [[#getstat|getstat]] more information.
 +
  |example = <code>debug setstat StepsTaken 99999</code> would set the ''Number of Steps Taken'' stat to 99999.
 +
}}
 +
|}
 +
 
 +
=== Collections and Quests ===
 +
==== Cooking and Crafting ====
 +
{| class="wikitable"
 
|-
 
|-
| weapon {{t|int weaponID}} || Gives the weapon matching {{t|weaponID}} to the player. (For example, {{t|weapon 12}} spawns a [[Wooden Blade]].)
+
! command !! description !! &nbsp;
 
|-
 
|-
| {{t|gold}} || Adds a million gold.
+
{{/cmd
 +
  |command = addallcrafting
 +
  |desc    = Teaches you all crafting recipes. Basically the same as [[#crafting|crafting]], but this one does not check if you already know the recipe before adding so it may output some error messages to the console about duplicate keys.
 +
}}
 +
{{/cmd
 +
  |command = cooking
 +
  |desc    = Teaches you all cooking recipes.
 +
}}
 +
{{/cmd
 +
  |command = cookingrecipe
 +
  |params  = {{t|S:recipeName}}
 +
  |desc    = Teaches you the specified cooking recipe. Names are case-sensitive and may contain spaces.
 +
  |example = <code>debug cookingrecipe Seafoam Pudding</code> will give you the recipe to cook [[Seafoam Pudding]].
 +
}}
 +
{{/cmd
 +
  |command = crafting
 +
  |desc    = Teaches you all crafting recipes.
 +
}}
 +
{{/cmd
 +
  |command = craftingrecipe
 +
  |params  = {{t|S:recipeName}}
 +
  |desc    = Teaches you the specified crafting recipe. Names are case-sensitive and may contain spaces.
 +
  |example = <code>debug craftingrecipe Ancient Seeds</code> will give you the recipe to craft plantable ancient seeds from the artifact.
 +
}}
 +
{{/cmd
 +
  |command = slimecraft
 +
  |desc    = Teaches you the crafting recipes for [[Slime Incubator]] and [[Slime Egg-Press]].
 +
}}
 +
|}
 +
 
 +
==== Fishing, Museum, and Secret Notes ====
 +
{| class="wikitable"
 
|-
 
|-
| {{t|refuel}} || Sets Lantern fuel to maximum (unimplemented feature).
+
! command !! description !! &nbsp;
 
|-
 
|-
| {{t|fillbin}} || Adds five items (24, 82, 136, 16, 388) to the shipping bin.<br />''Aliases: {{t|fb}}.''
+
{{/cmd
 +
  |command = clearfishcaught
 +
  |desc    = Clears all records of which fish you have caught, resetting the collection. To also change the stat which tracks how many total fish have been caught, see [[#caughtfish|caughtfish]].
 +
}}
 +
{{/cmd
 +
  |command = clearmuseum
 +
  |desc    = Removes all donated items from the museum, emptying the museum displays and causing all artifacts and minerals to have the ''Gunther can tell you more about this...'' description. Does not affect the records of which artifacts and minerals have been found (i.e. the collection pages).
 +
}}
 +
{{/cmd
 +
  |command = deletearch
 +
  |desc    = Clears all records of which artifacts and minerals you have found.<br/>'''Warning: Also clears all record of which fish you have caught and clears all received mail (including hidden progress flags).'''
 +
}}
 +
{{/cmd
 +
  |command = museumloot
 +
  |desc    = Adds unfound artifacts and minerals to your inventory until it is full. Items added by this command will now be marked "found" on the collection pages.
 +
}}
 +
{{/cmd
 +
  |command = newmuseumloot
 +
  |desc    = Adds undonated artifacts and minerals to your inventory until it is full. Items added by this command increment the "Total found" count on the collection pages.
 +
}}
 +
{{/cmd
 +
  |command = note
 +
  |params  = {{t|I:bookID}}
 +
  |desc    = Sets the count of [[Lost Books]] recovered to 18, even if you previously had found more, and brings up a window with the contents of the specified book. Book IDs above 18 will show the message ''There's a book missing here.''
 +
}}
 +
{{/cmd
 +
  |command = sn
 +
  |params  = {{o|I:noteID}}
 +
  |desc    = Adds specified secret note to your inventory. If no ID is specified, a random unseen note will be added. See <tt>Data/SecretNotes</tt> for a list of IDs.
 +
}}
 +
|}
 +
 
 +
==== Mail ====
 +
{| class="wikitable"
 
|-
 
|-
| sl || Switches items in player inventory one row down, looping to top. Useful for browsing inventories larger than 36 spaces.
+
! command !! description !! &nbsp;
 
|-
 
|-
| sr || Switches items in player inventory one row up, looping to bottom. Useful for browsing inventories larger than 36 spaces.
+
{{/cmd
 +
  |command = allmail
 +
  |desc    = Queues every letter defined in <tt>Data/mail</tt> for delivery tomorrow.
 +
}}
 +
{{/cmd
 +
  |command = allmailread
 +
  |desc    = Marks every letter defined in <tt>Data/mail</tt> as already read. They will all be accessible in the letters tab of the collections menu.
 +
}}
 +
{{/cmd
 +
  |command = broadcastmail
 +
  |params  = {{t|S:mailID}}
 +
  |desc    = Queues specified mail for delivery tomorrow for all players. The ID is case-sensitive; see <tt>Data/mail</tt> for valid IDs in the base game.
 +
}}
 +
{{/cmd
 +
  |command = clearmail
 +
  |desc    = Clears records of all received mail (including hidden progress flags.) This also clears the letters tab in the collections menu.
 +
}}
 +
{{/cmd
 +
  |command = mailfortomorrow,mft
 +
  |params  = {{t|S:mailID}},{{o|noletter}}
 +
  |desc    = Queues specified mail for delivery tomorrow. The ID is case-sensitive, and any zeros in the given ID will be replaced with underscores. See <tt>Data/mail</tt> for valid IDs (after replacement) in the base game. Because of the zero replacement, some letters (e.g. <tt>quest10</tt>) are inaccessible with this command; [[#broadcastmail|broadcastmail]] may be a useful alternative in those cases. If the second parameter is present (with any value), the "noletter" flag is set, which will add the mail to your mail received list without showing a "new mail" indicator.
 +
}}
 +
{{/cmd
 +
  |command = seenmail
 +
  |params  = {{t|S:mailID}}
 +
  |desc    = Marks specified mail as already received. The ID is case-sensitive; see <tt>Data/mail</tt> for valid IDs in the base game.
 +
}}
 +
{{/cmd
 +
  |command = showmail
 +
  |params  = {{t|S:mailID}}
 +
  |desc    = Brings up the letter-reading window with the specified mail. The ID is case-sensitive; see <tt>Data/mail</tt> for valid IDs in the base game. If a match cannot be found, a blank window will briefly display and an ArgumentOutOfRange error will be triggered. Does not set the letter as received or cause it to show in the letter tab of the collections menu.
 +
  |example = <code>debug showmail SeaAmulet</code> will show the letter Lewis sends about Mermaid's Pendants.
 +
}}
 
|}
 
|}
   −
=== NPCs, character actors, interactions, relationships ===
+
==== Quests ====
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! command !! description
+
! command !! description !! &nbsp;
 
|-
 
|-
| clone {{t|S:NPC}} || Makes a copy of {{t|NPC}}'s actor and places it to the current location. WARNING: Will crash your game if you do 'clone farmer'!
+
{{/cmd
 +
  |command = clearquests
 +
  |desc    = Removes all quests from your journal/quest log.
 +
}}
 +
{{/cmd
 +
  |command = collectquest
 +
  |desc    = Starts a new random resource Gathering quest. If used multiple times on the same game day, the quest will always be the same.
 +
}}
 +
{{/cmd
 +
  |command = completequest
 +
  |params  = {{t|I:questID}}
 +
  |desc    = Completes specified quest and removes it from your journal. See <tt>Data/Quests</tt> for a list of IDs.
 +
}}
 +
{{/cmd
 +
  |command = deliveryquest
 +
  |desc    = Starts a new random item Delivery quest. If used multiple times on the same game day, the quest will always be the same.
 +
}}
 +
{{/cmd
 +
  |command = getallquests
 +
  |desc    = Starts every quest from <tt>Data/Quests</tt> that you don't already have.
 +
}}
 +
{{/cmd
 +
  |command = quest
 +
  |params  = {{t|I:questID}}
 +
  |desc    = Starts the specified quest. See <tt>Data/Quests</tt> for a list of IDs.
 +
}}
 +
{{/cmd
 +
  |command = quests
 +
  |desc    = Starts every quest from <tt>Data/Quests</tt> that you don't already have as well as a random item Delivery quest and a random Slay Monster quest.
 +
}}
 +
{{/cmd
 +
  |command = removequest
 +
  |params  = {{t|I:questID}}
 +
  |desc    = Silently removes specified quest from your journal. See <tt>Data/Quests</tt> for a list of IDs.
 +
}}
 +
{{/cmd
 +
  |command = slayquest
 +
  |desc    = Starts a new random Slay Monster quest. If used multiple times on the same game day, the quest will always be the same.
 +
}}
 +
|}
 +
 
 +
=== Characters / NPCs ===
 +
==== Children ====
 +
{| class="wikitable"
 
|-
 
|-
| sb {{t|S:NPC}}  || Puts "Hello! This is a test" in a bubble above {{t|NPC}}'s head.
+
! command !! description !! &nbsp;
 
|-
 
|-
| sf, setFrame {{t|I}} || Sets and stops the player actor's current animation at the given frame. Only works with the player.
+
{{/cmd
 +
  |command = child,kid
 +
  |desc    = If you have children, advances the age of the first child to the next stage. Otherwise, spawns a new child named "Baby" with gender and skin tone randomly chosen; the child will start at stage 3 (crawling) and may initially spawn out of bounds. You do not need to be married or have an upgraded house to use this command.
 +
}}
 +
{{/cmd
 +
  |command = child2
 +
  |desc    = If you have multiple children, advances the age of the second child to the next stage. Otherwise, spawns a new child named "Baby2" with gender and skin tone randomly chosen; the child will start at stage 3 (crawling) and may initially spawn out of bounds. You do not need to be married or have an upgraded house to use this command.
 +
}}
 +
{{/cmd
 +
  |command = clearchildren
 +
  |desc    = Removes all your children.
 +
}}
 +
{{/cmd
 +
  |command = pregnant
 +
  |desc    = Sets a new baby to be born/adopted the next day. You may need to be already married (and have a house with a nursery) for this to work.
 +
}}
 +
|}
 +
 
 +
==== NPC Spawning and Removal ====
 +
{| class="wikitable"
 
|-
 
|-
| fd, face, faceDirection {{t|S:NPC}} {{t|I:dir}} || Sets {{t|NPC}} to face in {{t|direction}}
+
! command !! description !! &nbsp;
 
|-
 
|-
| jump {{t|S:NPC}} {{t|I}} || makes the given NPC/player actor jump once, at velocity {{t|I}} (Case sensitive). e.g. jump farmer 10
+
{{/cmd
 +
  |command = addkent
 +
  |desc    = Spawns [[Kent]] if after year 1.
 +
}}
 +
{{/cmd
 +
  |command = characterinfo
 +
  |desc    = Displays a global message listing how many NPCs are in the current location.
 +
}}
 +
{{/cmd
 +
  |command = clearcharacters
 +
  |desc    = Removes all NPCs who are in the current location.
 +
}}
 +
{{/cmd
 +
  |command = clone
 +
  |params  = {{t|S:npcName}}
 +
  |desc    = Clones specified NPC and places the copy in the current location. Name is a fuzzy match.<br/>'''Warning: cloning <tt>farmer</tt> will crash the game.'''
 +
}}
 +
{{/cmd
 +
  |command = killall
 +
  |params  = {{t|S:npcName}}
 +
  |desc    = Removes all NPCs except for the specified character. Name is an exact match, and they are only spared from removal if they are in the current location.
 +
}}
 +
{{/cmd
 +
  |command = killnpc
 +
  |params  = {{t|S:npcName}}
 +
  |desc    = Removes specified NPC from the game, checking all game locations. Name is an exact match.
 +
}}
 +
{{/cmd
 +
  |command = removenpc
 +
  |params  = {{t|S:npcName}}
 +
  |desc    = Removes specified NPC from the game, checking all game locations and buildings. Name is an exact match. Command will output a message to the console stating whether or not the NPC was found and removed.
 +
}}
 +
|}
 +
 
 +
==== NPC Relationships (Friendship, Dating, Marriage) ====
 +
{| class="wikitable"
 
|-
 
|-
| c, cm, canmove || Force-enables movement for the player actor. Force-closes inventory menu, presumably other menus and dialogue as well.
+
! command !! description !! &nbsp;
 
|-
 
|-
| stoprafting || Ends the "is.Rafting" action. (Presumably an unimplemented feature.)
+
{{/cmd
 +
  |command = dating
 +
  |params  = {{t|S:npcName}}
 +
  |desc    = Sets your relationship stauts with specified NPC to <tt>Dating</tt>; i.e. marks them as having been given a bouquet. Name is an exact match.
 +
}}
 +
{{/cmd
 +
  |command = divorce
 +
  |desc    = Queues your farmer to divorce their spouse overnight.
 +
}}
 +
{{/cmd
 +
  |command = engaged
 +
  |params  = {{t|S:npcName}}
 +
  |desc    = Increases your friendship with specified NPC by 2500 points (10 hearts) and sets relationship status to <tt>Engaged</tt> with a wedding for the next day. Name is an exact match.
 +
}}
 +
{{/cmd
 +
  |command = friendall
 +
  |params  = {{o|I:value}}
 +
  |desc    = Increases [[friendship]] with all socializable NPCs by the specified amount. If no amount is given, the increase will be 2500 points (10 hearts). All normal point caps are in place, so a bachelor you aren't dating will not increase past 8 hearts. Previously unmet NPCs will also be marked as met and have friendship increased with the following exceptions:
 +
<ul><li>[[Dwarf]] will be marked as met but not change friendship if you don't have the ''Dwarven Translation Guide''.</li>
 +
<li>[[Kent]] will not be included if you are still in year 1.</li>
 +
<li>[[Krobus]] will not be included if they have not yet been met in game.</li></ul>
 +
}}
 +
{{/cmd
 +
  |command = friendship,friend
 +
  |params  = {{t|S:npcName}},{{t|I:value}}
 +
  |desc    = Sets friendship with specified NPC to specified value. This is a fuzzy match, and they will be marked as met if previously unmet.
 +
}}
 +
{{/cmd
 +
  |command = invitemovie
 +
  |params  = {{t|S:npcName}}
 +
  |desc    = Invites specified NPC to see a movie today. This is a fuzzy match and you will still need your own ticket to enter the theatre.
 +
}}
 +
{{/cmd
 +
  |command = makeex
 +
  |params  = {{t|S:npcName}}
 +
  |desc    = Sets your relationship status with specified NPC to <tt>Divorced</tt>, removing any marriage or bouquet flag and listing them as ''ex-husband'' or ''ex-wife.'' Name is an exact match.
 +
}}
 +
{{/cmd
 +
  |command = marry
 +
  |params  = {{t|S:npcName}}
 +
  |desc    = Increases your friendship with specified NPC by 2500 points (10 hearts) and sets relationship status to <tt>Married</tt> with an anniversary of today. Name is a fuzzy match.
 +
}}
 +
{{/cmd
 +
  |command = wedding
 +
  |params  = {{t|S:npcName}}
 +
  |desc    = Sets specified NPC as your spouse and queues a wedding for today. Name is an exact match.
 +
}}
 +
|}
 +
 
 +
==== NPC Dialogue ====
 +
{| class="wikitable"
 
|-
 
|-
| colspan=2 |
+
! command !! description !! &nbsp;
 
|-
 
|-
| db {{t|S:NPC}} || Triggers the relevant dialogue with {{t|NPC}}, or by default, Pierre. Counts as having spoken to that NPC. Prints "Stack empty" in console if the NPC has no more dialogue at that time.
+
{{/cmd
 +
  |command = db
 +
  |params  = {{t|S:npcName}}
 +
  |desc    = Shows a dialogue box with the current dialogue for the specified NPC. Name is a fuzzy match and will default to Pierre if not supplied. This does count as having spoken to that NPC today, and if they don't have any more dialogue right now, the message ''Stack empty'' will be output to the console.
 +
}}
 +
{{/cmd
 +
  |command = dialogue
 +
  |params  = {{t|S:npcName}},{{t|S:dialogueString}}
 +
  |desc    = Sets the dialogue for the specified character to the specified string. Name is a fuzzy match. The dialogue string should start with a zero and everything after will be parsed. It can include tokens such as <tt>@</tt> for the farmer name and portrait commands; see [[Modding:Dialogue#Format|Dialogue]] for format specifics.
 +
  |example = <code>debug dialogue Abi 0Hi @! Modding is fun!$h</code> would set [[Abigail|Abigail's]] next dialogue to be ''Hi (FarmerName)! Modding is fun!'' with her happy portrait.
 +
}}
 +
{{/cmd
 +
  |command = loaddialogue
 +
  |params  = {{t|S:npcName}},{{t|S:dialogueKey}}
 +
  |desc    = Sets the dialogue for the specified character using the specified asset key. Name is a fuzzy match. Key format appears to be <tt>file:key</tt> but exact specifics are unknown. Curly braces in the key (<tt>{</tt>, <tt>}</tt>) will be converted to angle brackets (<tt>&lt;</tt>, <tt>&gt;</tt>).
 +
}}
 +
{{/cmd
 +
  |command = question
 +
  |params  = {{t|I:questionID}}
 +
  |desc    = Marks the specified dialogue question as answered.
 +
}}
 +
{{/cmd
 +
  |command = sb
 +
  |params  = {{t|S:npcName}}
 +
  |desc    = Shows a speech bubble saying ''"Hello! This is a test"'' above the specified NPC's head. Name is a fuzzy match.
 +
}}
 +
{{/cmd
 +
  |command = speech
 +
  |params  = {{t|S:npcName}},{{t|S:dialogueKey}}
 +
  |desc    = Displays a dialogue box for the specified character saying the specified string. Name is a fuzzy match. The dialogue string should start with a zero and everything after will be parsed. It can include tokens such as <tt>@</tt> for the farmer name and portrait commands; see [[Modding:Dialogue#Format|Dialogue]] for format specifics. Useful for testing dialogue changes.
 +
  |example = <code>debug speech Abi 0Hi @! Modding is fun!$h</code> would open a dialogue box of [[Abigail]] saying ''Hi (FarmerName)! Modding is fun!'' with her happy portrait.
 +
}}
 +
|}
 +
 
 +
==== NPC Movement and Warping ====
 +
{| class="wikitable"
 
|-
 
|-
| colspan=2 |
+
! command !! description !! &nbsp;
 
|-
 
|-
| divorce || Makes the player divorce from their current spouse that night.
+
{{/cmd
 +
  |command = facedirection, face, fd
 +
  |params  = {{t|S:npcName}},{{t|I:direction}}
 +
  |desc    = Sets specified character to face the specified direction. Name is a fuzzy match and also accepts <tt>farmer</tt>. See [[Modding:Event_data#Directions|Event data]] for the valid directions.
 +
}}
 +
{{/cmd
 +
  |command = faceplayer
 +
  |params  = {{t|S:npcName}}
 +
  |desc    = Sets specified character to face towards the player. Name is a fuzzy match.
 +
}}
 +
{{/cmd
 +
  |command = hurry
 +
  |params  = {{t|S:npcName}}
 +
  |desc    = Warps specified character to the endpoint of their current schedule entry. Name is a fuzzy match.
 +
  |example = <code>debug hurry pam</code> would cause [[Pam]] to immediately warp to the bus if entered during her morning walk after the bus has been repaired.
 +
}}
 +
{{/cmd
 +
  |command = jump
 +
  |params  = {{t|S:npcName}},{{o|F:velocity}}
 +
  |desc    = Makes specified character jump with the specified velocity. Name is a fuzzy match and also accepts <tt>farmer</tt>. Velocity is a float and defaults to 8.0 if not supplied, which results in a jump of about half the height of the player character.
 +
}}
 +
{{/cmd
 +
  |command = warpcharacter, wc
 +
  |params  = {{t|S:npcName}},{{t|I:X}},{{t|I:Y}},{{o|I:facingDirection}}
 +
  |desc    = Warps specified character to the given coordinates on the current map. Name is a fuzzy match. See [[Modding:Event_data#Directions|Event data]] for the valid directions; the default is <tt>2</tt>. Note: if you do not include enough parameters, an error message will be printed to the console which incorrectly states the default facing direction is <tt>1</tt>.
 +
}}
 +
{{/cmd
 +
  |command = warpcharacterto, wct
 +
  |params  = {{t|S:npcName}},{{t|S:locationName}},{{t|I:X}},{{t|I:Y}},{{o|I:facingDirection}}
 +
  |desc    = Warps specified character to the given coordinates on the specified map. Character name is a fuzzy match, but location is exact. See [[Modding:Event_data#Directions|Event data]] for the valid directions; the default is <tt>2</tt>. Note: if you do not include enough parameters, an error message will be printed to the console which incorrectly states the default facing direction is <tt>1</tt>.
 +
  |example = <code>debug wct robin Farm 69 16</code> would warp [[Robin]] to just right of the mailbox on the Farm map, facing downwards.
 +
}}
 +
{{/cmd
 +
  |command = whereis,where
 +
  |params  = {{t|S:npcName}}
 +
  |desc    = Outputs the location and coordinates of the specified character to the SMAPI console. Name is a fuzzy match.
 +
}}
 +
|}
 +
 
 +
==== Farm Animals / Livestock ====
 +
{| class="wikitable"
 
|-
 
|-
| minigame makeEx {{t|NPC}} || sets <tt>NPC</tt>'s relationship to Farmer as "divorced".
+
! command !! description !! &nbsp;
 
|-
 
|-
| marry {{t|NPC}} || Sets {{t|NPC}} [[friendship]] value to 2500, sets them as Farmer's spouse, and performs <tt>Game1.prepareSpouseForWedding</tt>. If used before house is upgraded (granting the ability to marry) sleeping until the next day will make the game crash.
+
{{/cmd
|-
+
  |command = animal
| friend, friendship {{t|NPC}} {{t|int}} || Sets the friendship point value with {{t|NPC}} to {{t|int}}. If that NPC has not already been greeted, adds them to the list of greeted NPCs.
+
  |params  = {{t|S:type}}
 +
  |desc    = Adds a new baby animal of the specified type to the Farm. The animal will have a random name and be assigned to the correct type of building (if there is room). Type is a case-sensitive match with spaces allowed. Valid types for the base game are listed below.
 +
<ul><li><tt>Chicken</tt> - Randomly chooses between white, brown, and blue (if unlocked). <tt>Brown Chicken</tt> can be explicitly specified, but the result will still be random if trying to specify other colors.</li>
 +
<li><tt>Cow</tt> - Randomly chooses between white and brown. Colors can be explicitly specified by using <tt>Brown Cow</tt> or <tt>White Cow</tt>.</li>
 +
<li><tt>Dinosaur</tt></li>
 +
<li><tt>Duck</tt></li>
 +
<li><tt>Goat</tt></li>
 +
<li><tt>Pig</tt></li>
 +
<li><tt>Rabbit</tt></li>
 +
<li><tt>Sheep</tt></li>
 +
<li><tt>Void Chicken</tt></li>
 +
</ul>
 +
}}
 +
{{/cmd
 +
  |command = animalinfo
 +
  |desc    = Displays a global message with the count of the total number of farm animals.
 +
}}
 +
{{/cmd
 +
  |command = befriendanimals
 +
  |params  = {{o|I:amount}}
 +
  |desc    = Sets friendship of all animals who live (and are currently present) in the current location to the given amount. Default is 1000 (max).
 +
}}
 +
{{/cmd
 +
  |command = fixanimals
 +
  |desc    = Goes through all Farm buildings and removes entries for animals which no longer live in that building.
 +
}}
 +
{{/cmd
 +
  |command = growanimals
 +
  |desc    = Sets all animals who live in the current building to day 1 of adulthood. Must be done in a building such as a Barn or Coop. May cause each of them to eat hay.
 +
}}
 +
{{/cmd
 +
  |command = growanimalsfarm
 +
  |desc    = Sets all animals who live in the current location to day 1 of adulthood. Must be done on the Farm; this would apply to animals that no longer have homes due to building destruction such as after using [[#removebuildings|removebuildings]].
 +
}}
 +
{{/cmd
 +
  |command = pauseanimals
 +
  |desc    = Pauses all farm animals in the current location indefinitely. Exiting and re-entering may cause them to be randomly moved to a new spot, but they will remain paused.
 +
}}
 +
{{/cmd
 +
  |command = unpauseanimals
 +
  |desc    = Unpauses all farm animals in the current location.
 +
}}
 +
|}
 +
 
 +
==== Pets, Horses and Monsters ====
 +
{| class="wikitable"
 
|-
 
|-
| friendAll || Sets all NPCs to 10 hearts (or 8 hearts for bachelor/ettes that you aren't dating).
+
! command !! description !! &nbsp;
 
|-
 
|-
| killNPC {{t|NPC}} || Removes an NPC from the game.
+
{{/cmd
 +
  |command = cat
 +
  |params  = {{t|I:X}},{{t|I:Y}},{{o|I:breed}}
 +
  |desc    = Spawns a new [[Cat]] at the given coordinates of the current location. Breed can be <tt>0</tt>, <tt>1</tt>, or <tt>2</tt> and determines which texture to use. This is an additional pet and does not replace any current pet(s).
 +
}}
 +
{{/cmd
 +
  |command = createdino
 +
  |desc    = Spawns a [[Pepper Rex]] just to the right of your farmer.
 +
}}
 +
{{/cmd
 +
  |command = dog
 +
  |params  = {{t|I:X}},{{t|I:Y}},{{o|I:breed}}
 +
  |desc    = Spawns a new [[Dog]] at the given coordinates of the current location. Breed can be <tt>0</tt>, <tt>1</tt>, or <tt>2</tt> and determines which texture to use. This is an additional pet and does not replace any current pet(s).
 +
}}
 +
{{/cmd
 +
  |command = horse
 +
  |params  = {{t|I:X}},{{t|I:Y}}
 +
  |desc    = Spawns a new [[Horse]] at the given coordinates of the current location. Horse may disappear after dismounting if there is no stable for it.
 +
}}
 +
{{/cmd
 +
  |command = killallhorses
 +
  |desc    = Removes all horses from all locations.
 +
}}
 +
{{/cmd
 +
  |command = monster
 +
  |params  = {{t|S:type}},{{t|I:X}},{{t|I:Y}},{{o|I:facingDirection}}
 +
  |desc    = Spawns a monster of the specified type at the given coordinates of the current location. Only certain monster types seem to work. Known valid types include <tt>Bat</tt>, <tt>DinoMonster</tt>, <tt>DustSpirit</tt>, <tt>Fly</tt>, <tt>Ghost</tt>, <tt>GreenSlime</tt>, <tt>Grub</tt>, <tt>LavaCrab</tt>, <tt>Mummy</tt>, <tt>RockCrab</tt>,  <tt>RockGolem</tt>,  <tt>Serpent</tt>,  <tt>ShadowBrute</tt>,  <tt>ShadowShaman</tt>,  <tt>Skeleton</tt>,  and <tt>SquidKid</tt>.  <tt>Duggy</tt> may also work depending on the terrain.
 +
}}
 +
{{/cmd
 +
  |command = owl
 +
  |desc    = Spawns an Owl in the current location.
 +
}}
 +
{{/cmd
 +
  |command = pettofarm
 +
  |desc    = If it is not raining, warps your pet to the pet bowl location on the Farm (Tech note: Location is initially set by checking for tile 1938 on Building layer). If it is raining, warps pet to the FarmHouse. Only works for host in multiplayer.
 +
}}
 +
{{/cmd
 +
  |command = togglecatperson
 +
  |desc    = Toggles your farmer's chosen pet preference between cat and dog. If you already have a pet, the inventory graphic will switch but the pet themselves will not be affected.
 +
}}
 
|}
 
|}
   −
=== Events, festivals, heart events ===
+
=== Festivals and Events ===
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! command !! description
+
! command !! description !! &nbsp;
 
|-
 
|-
| ebi {{t|I:EventID}} || (Short for Event By Id). Starts the event with the specified ID. Added in 1.4
+
{{/cmd
 +
  |command = ee
 +
  |desc    = Ends (and restarts) the current event.
 +
}}
 +
{{/cmd
 +
  |command = event
 +
  |params  = {{t|S:locationName}},{{t|I:index}},{{o|S:dontClearEvents}}
 +
  |desc    = Starts the specified event in the specified location. The location name is a fuzzy match, but the second parameter is an index rather than an ID. This is basically a zero-based count of the item definitions in the appropriate data file, and since these definitions can be altered by mods this a difficult command to use. Because of this and the warning below, [[#ebi|ebi]] is often the better choice.<br/>'''Warning: This will clear the eventsSeen list unless a third parameter is supplied.'''
 +
}}
 +
{{/cmd
 +
  |command = eventbyid,ebi
 +
  |params  = {{t|I:eventID}}
 +
  |desc    = Starts the specified event. This does take an event ID; events which have prerequisites of other events might not start if those prerequisites have not been seen.
 +
  |example = <code>debug ebi 992559</code> would trigger the event where Emily visits the farm and gives you access to her sewing machine.
 +
}}
 +
{{/cmd
 +
  |command = eventover
 +
  |desc    = Ends (and restarts) the current event. Seems to be essentially equivalent to [[#ee|ee]].
 +
}}
 +
{{/cmd
 +
  |command = eventseen, seenevent
 +
  |params  = {{t|I:eventID}}
 +
  |desc    = Marks specifid event as seen by your farmer. Useful for enabling access to event-dependent areas or events.
 +
}}
 +
{{/cmd
 +
  |command = eventtest
 +
  |params  = {{t|S:locationName}},{{t|I:eventIndex}}
 +
  |desc    = Calls <tt>Util.EventTest()</tt> with the specified arguments. Defaults are "" and 0 respectively. Actual details unknown.
 +
}}
 +
{{/cmd
 +
  |command = eventtestspecific
 +
  |params  = {{t|S:whichEvents}},{{o|...}}
 +
  |desc    = Calls <tt>Util.EventTest()</tt> with the specified arguments. Arguments are interpreted as an array of strings. Actual details unknown.
 +
}}
 +
{{/cmd
 +
  |command = festival
 +
  |params  = {{t|S:festivalID}}
 +
  |desc    = Starts the specified festival ID. The season, day, and time will be set to match the starting time, and you will be warped to the correct location. Valid IDs are listed below.
 +
<table class="wikitable"><tr><td><tt>spring13</tt> - Egg Festival</td><td><tt>fall16</tt> - Stardew Valley Fair</td></tr>
 +
<tr><td><tt>spring24</tt> - Flower Dance</td><td><tt>fall27</tt> - Spirit's Eve</td></tr>
 +
<tr><td><tt>summer11</tt> - Luau</td><td><tt>winter8</tt> - Festival of Ice</td></tr>
 +
<tr><td><tt>summer28</tt> - Moonlight Jellies</td><td><tt>winter25</tt> - Winter Star</td></tr></table>
 +
}}
 +
{{/cmd
 +
  |command = festivalscore
 +
  |params  = {{t|I:value}}
 +
  |desc    = Adds the specified value to the festival score. The festival score has different meanings depending on which festival is active and includes the egg count at the Egg Hunt, number of fish caught at the Ice Festival, and star token count at the fall Fair.
 +
}}
 +
{{/cmd
 +
  |command = leaveevent,endevent
 +
  |desc    = Ends (and restarts) the current event.<br/>'''Warning: also clears all records of events seen, dialogue questions answered, and mail received (including hidden mail flags.)'''
 +
}}
 +
|}
 +
 
 +
=== Minigames and Cutscenes ===
 +
{| class="wikitable"
 
|-
 
|-
| event {{t|S:Location}} {{t|int}} || Starts event {{t|int}} at {{t|Location}}. A location is the name of a file in the game's Data\Events directory. Each has one or more events, which are referenced by {{t|int}}, counting up from zero. You should not already be in the location when starting the event, or things may not work correctly.
+
! command !! description !! &nbsp;
 
|-
 
|-
| leaveEvent, endEvent || Ends the current event, but also clears all previous events seen, dialogue questions answered, and mail received. Starts the current event over. (Clarify Possible for that day or entirely)
+
{{/cmd
 +
  |command = crane
 +
  |desc    = Starts the Crane Game minigame from the Movie Theater populated with prizes based on which movie is (or would be) showing for the current month.
 +
}}
 +
{{/cmd
 +
  |command = fish
 +
  |params  = {{t|I:fishID}}
 +
  |desc    = Starts the fishing minigame with the specified fish hooked and a treasure chest available. You must have a fishing line already cast into the water before entering the command in order to actually receive the fish after completing the minigame. Additional "hits" may trigger during the game, and none of the fishing pole animations will play. See [[Modding:Object data|Object data]] for a list of valid IDs. TODO - check if non-fish IDs can be used.
 +
}}
 +
{{/cmd
 +
  |command = oldminegame
 +
  |desc    = Starts the pre-1.4 version of Junimo Kart.
 +
}}
 +
{{/cmd
 +
  |command = minegame
 +
  |params  = {{o|S:mode}}
 +
  |desc    = Starts the [[Junimo Kart]] minigame. If the second argument is <tt>infinite</tt> the game will play ''Endless'' mode; if it is anything else (or missing), the game will play ''Progress'' mode.
 +
}}
 +
{{/cmd
 +
  |command = minigame
 +
  |params  = {{t|S:which}}
 +
  |desc    = Starts the specified minigame or cutscene. Valid choices are listed below.
 +
<ul>
 +
<li><tt>blastoff</tt> - starts the ''Robot Blastoff'' cutscene which plays during [[Maru|Maru's]] 10-heart event.</li>
 +
<li><tt>cowboy</tt> - starts the [[Journey of the Prairie King]] minigame.</li>
 +
<li><tt>grandpa</tt> - starts the ''[[Grandpa]] Story'' cutscene of which plays at the start of a new game.</li>
 +
<li><tt>haleyCows</tt> - starts the ''Haley Cow Pictures'' cutscene which plays during [[Haley|Haley's]] 8-heart event.</li>
 +
<li><tt>marucomet</tt> - starts the ''Maru Comet'' cutscene which plays during [[Maru|Maru's]] 14-heart event.</li>
 +
<li><tt>minecart</tt> - starts the [[Junimo Kart]] minigame in ''Progress'' mode.</li>
 +
<li><tt>plane</tt> - starts the ''Plane Fly-by'' cutscene which plays during [[Harvey|Harvey's]] 8-heart event.</li>
 +
<li><tt>slots</tt> - starts the ''Calico Spin'' [[Slot Machine]] minigame.</li>
 +
<li><tt>target</tt> - starts the Slingshot minigame from the [[Stardew Valley Fair]].</li>
 +
</ul>
 +
}}
 +
{{/cmd
 +
  |command = test
 +
  |desc    = Starts the ''Test'' minigame. This brings up a window showing a variety of flooring textures; left-click closes the window.
 +
}}
 +
|}
 +
 
 +
=== Locations ===
 +
==== Terrain, Trees, and Crops ====
 +
{| class="wikitable"
 
|-
 
|-
| busDriveBack || BusStop.busDriveBack()
+
! command !! description !! &nbsp;
 
|-
 
|-
| wedding || Activates the wedding cutscene
+
{{/cmd
 +
  |command = addquartz
 +
  |params  = {{t|I:number}}
 +
  |desc    = Spawns the specified amount of ''Quartz'' terrain features on the Farm. The locations are randomly chosen and no checking is done on the underlying tiles, so they may wind up in impassable areas.
 +
}}
 +
{{/cmd
 +
  |command = clearfarm
 +
  |desc    = Removes nearly everything from the Farm map such as grass, trees, debris, paths, and placed objects (including working machines and filled chests.)
 +
}}
 +
{{/cmd
 +
  |command = dayupdate
 +
  |params  = {{o|I:number}}
 +
  |desc    = Runs the DayUpdate for the current location the specified number of times. If the number of updates is not specified, it will default to 1. This simulates days passing for some things such as grass and fruit trees growing or fish reproducing in ponds. Other things may not progress the full amount; for example crop growth only advances one day because sprinklers will not be triggered and the [[#growcrops|growcrops]] command should be used for that instead.
 +
}}
 +
{{/cmd
 +
  |command = fruittrees
 +
  |desc    = Adds a month of growth to all fruit trees in the current location, causing even newly-planted saplings to instantly mature.
 +
}}
 +
{{/cmd
 +
  |command = grass
 +
  |desc    = Spawns long grass on all available tiles on the farm.
 +
}}
 +
{{/cmd
 +
  |command = growcrops
 +
  |params  = {{t|I:number}}
 +
  |desc    = Grows all crops in the current location the specified number of days.
 +
}}
 +
{{/cmd
 +
  |command = growgrass
 +
  |params  = {{t|I:number}}
 +
  |desc    = Grows long grass the specified number of times in the current location. This will cause already-placed grass to spread but will not necessarily create grass in clear areas.
 +
}}
 +
{{/cmd
 +
  |command = growwildtrees
 +
  |desc    = Grows all wild trees (such as Oak) in the current location to maturity.
 +
}}
 +
{{/cmd
 +
  |command = localinfo
 +
  |desc    = Outputs counts of grass, trees, other terrain features, objects, and temporary sprites for the current location. May be broken.
 +
}}
 +
{{/cmd
 +
  |command = mushroomtrees
 +
  |desc    = Turns all wild trees in the current location into mushroom trees.
 +
}}
 +
{{/cmd
 +
  |command = r
 +
  |desc    = Resets current location which essentially simulates the player leaving and reentering. Most noticeable effect is the restarting of music tracks.
 +
}}
 +
{{/cmd
 +
  |command = removedebris
 +
  |desc    = Removes all dropped items from the current location.
 +
}}
 +
{{/cmd
 +
  |command = removedirt
 +
  |desc    = Removes (i.e. untills) all tilled dirt in the current location.<br/>'''Warning: this includes removing any currently-planted crops (including fully-grown ones).'''
 +
}}
 +
{{/cmd
 +
  |command = removelargetf
 +
  |desc    = Removes all large terrain features (such as bushes) from the current location.
 +
}}
 +
{{/cmd
 +
  |command = removeterrainfeatures,removetf
 +
  |desc    = Removes all (small) terrain features such as grass and tilled dirt from the current location.<br/>'''Warning: this includes removing any currently-planted crops (including fully-grown ones).'''
 +
}}
 +
{{/cmd
 +
  |command = spawnweeds
 +
  |params  = {{t|I:number}}
 +
  |desc    = Spawns weeds the specified number of times. This will cause already-placed weeds to spread but will not necessarily create new weeds in clear areas.
 +
}}
 +
{{/cmd
 +
  |command = spreaddirt
 +
  |desc    = Tills all unoccupied diggable tiles on the farm.
 +
}}
 +
{{/cmd
 +
  |command = spreadseeds
 +
  |params  = {{t|I:seedID}}
 +
  |desc    = Plants specified seed in all tilled dirt on the farm. The argument is the [[Modding:Object data|Object ID]] for the seed item. Out of season crops can be planted this way but will not survive outside of the greenhouse.<br/>'''Warning: this will replace any currently-planted crops (including fully-grown ones) with the new seeds.'''
 +
  |example = <code>debug spreadseeds 472</code> would plant [[Parsnip|parsnips]] on all hoed dirt tiles.
 +
}}
 +
{{/cmd
 +
  |command = water
 +
  |desc    = Waters all tilled soil on the current map.
 +
}}
 +
{{/cmd
 +
  |command = watercolor
 +
  |params  = {{t|I:R}},{{t|I:G}},{{t|I:B}}
 +
  |desc    = Tints the water color for the current location. The parameters are red, green, and blue components and the actual RGBA color used will be (R/2, G/2, B/2, 127). This affects fishing ponds as well as lakes, rivers, etc., but the effect is temporary and the color will reset to normal if you leave and re-enter the map.
 +
}}
 +
{{/cmd
 +
  |command = whereore
 +
  |desc    = Outputs (to the SMAPI console) the coordinates of any "shiny spots" suitable for panning on the current map. Will output <tt>{X:0 Y:0}</tt> if there are no active panning spots.
 +
}}
 +
|}
 +
 
 +
==== Objects and Lights ====
 +
{| class="wikitable"
 
|-
 
|-
| eventOver || Makes the even start over again.
+
! command !! description !! &nbsp;
 
|-
 
|-
| train || Makes a train pass through Stardew Valley.
+
{{/cmd
 +
  |command = clearfurniture
 +
  |desc    = Removes all furniture from the current location. Must be in a farmhouse/cabin. Use [[#removefurniture|removefurniture]] instead for other locations such as sheds.
 +
}}
 +
{{/cmd
 +
  |command = clearlightglows
 +
  |desc    = Removes all light glows from the current location.
 +
}}
 +
{{/cmd
 +
  |command = fencedecay
 +
  |params  = {{t|I:amount}}
 +
  |desc    = Ages all fences in the current location the specified amount of days.
 +
  |example = <code>debug fencedecay 60</code> would age all fences by 60 days which would break any basic Wood Fences (their base health is 54-58 days).
 +
}}
 +
{{/cmd
 +
  |command = fillwithobject
 +
  |params  = {{t|I:itemID}},{{o|S:isBigCraftable}}
 +
  |desc    = Places the specified item on all open tiles in the current location. The first argument is the [[Modding:Object data|Object ID]] or [[Modding:Big Craftables data|Craftable ID]]. If the second argument is "<tt>true</tt>", the ID will be interpreted as a craftable, but if it is anything else (or missing) the ID will be interpreted as an object. Note that many objects spawned this way cannot be easily removed.
 +
  |example = <code>debug fillwithobject 13 true</code> would fill the map with [[Furnace|furnaces]].
 +
}}
 +
{{/cmd
 +
  |command = readyforharvest,rfh
 +
  |params  = {{t|I:X}},{{t|I:Y}}
 +
  |desc    = Sets the machine at the specified coordinates to finish processing at the next clock update. If used to target a rock in the mine, quarry, etc. the rock's health will be reduced such that it only needs 1 more hit to break. A mod such as [https://www.nexusmods.com/stardewvalley/mods/679 Debug Mode] may be useful for getting coordinates.
 +
}}
 +
{{/cmd
 +
  |command = removefurniture
 +
  |desc    = Removes all furniture from the current location. Similar to [[#clearfurniture|clearfurniture]] but will also work in other decoratable locations such as sheds.
 +
}}
 +
{{/cmd
 +
  |command = removelights
 +
  |desc    = Removes all light sources from the current location. This is temporary and they will be restored if the location is reset or re-entered.
 +
}}
 +
{{/cmd
 +
  |command = removeobjects
 +
  |desc    = Removes all placed objects from the current location. This includes things like fences, machines, and chests, but does not include flooring or long grass.
 +
}}
 +
|}
 +
 
 +
==== Farm Buildings ====
 +
{| class="wikitable"
 
|-
 
|-
| ccloadcutscene ||
+
! command !! description !! &nbsp;
 
|-
 
|-
| ee || Restarts current event (heart events only?). Outside of events, warps player actor to (0,0) on current map.
+
{{/cmd
|-
+
  |command = build
| minigame blastoff || starts the cutscene that plays during [[Maru|Maru's]] 10-heart event.
+
  |params  = {{t|S:Name}},{{o|I:X}},{{o|I:Y}}
|-
+
  |desc    = Builds the specified building at the given coordinates. Names are exact but spaces should be replaced with "<tt>9</tt>". If the coordinates are not specified, it will build just to the right of your farmer. While higher-level farm buildings such as Deluxe Barns can be immediately built this way, the incubator will be missing from Big or Deluxe Coops.
| minigame cowboy || starts the minigame [[Journey of the Prairie King]].
+
  |example = <code>debug build Stone9Cabin</code> would build a new Stone Cabin next to the player.
|-
+
}}
| minigame minecart || starts the minigame [[Junimo Kart]].
+
{{/cmd
 +
  |command = buildcoop,bc
 +
  |params  = {{t|I:X}},{{t|I:Y}}
 +
  |desc    = Builds a new basic Coop at the specified coordinates.
 +
}}
 +
{{/cmd
 +
  |command = movebuilding
 +
  |params  = {{t|I:sourceX}},{{t|I:sourceY}},{{t|I:destX}},{{t|I:destY}}
 +
  |desc    = Moves building from specified source coordinates to specified destination coordinates. The coordinates are the upper-left corner of the building's footprint. The [https://www.nexusmods.com/stardewvalley/mods/541 Lookup Anything] mod is one of the easier ways to get the source coordinates of a building; they are listed under <tt>tileX</tt> and <tt>tileY</tt> in the debug info (needs <tt>ShowDataMiningFields</tt> enabled.)
 +
}}
 +
{{/cmd
 +
  |command = removebuildings
 +
  |desc    = Destroys all farm buildings. Animals within any of the buildings will also be removed, but animals which are outside will not be.
 +
}}
 +
{{/cmd
 +
  |command = spawncoopsandbarns
 +
  |params  = {{t|I:number}}
 +
  |desc    = Spawns the specified number of buildings. The game will randomly choose either a Deluxe Barn full of cows or a Deluxe Coop full of chickens for each (equal chance). Their locaions are also randomly chosen and the game will try 20 times to find a spot for each before giving up. The coops created by this command will not have incubators.
 +
}}
 +
|}
 +
 
 +
==== Farmhouse ====
 +
{| class="wikitable"
 
|-
 
|-
| minigame grandpa || starts the cutscene with your grandfather from the beginning of the game.
+
! command !! description !! &nbsp;
 
|-
 
|-
| end || Starts the Stardew Hero Celebration event.
+
{{/cmd
 +
  |command = floor
 +
  |params  = {{o|I:textureID}}
 +
  |desc    = Sets all floors of your farmhouse to the specified texture. Valid texture numbers are <tt>0 - 55</tt>; see [[Flooring]] for previews but note that the IDs used by the game are 1 less than the numbers used for the wiki filenames. If no texture is specified, the game will use the next ID after the current floor texture without checking for overflow which can create bugged textures.
 +
  |example = <code>debug floor 22</code> would set all flooring in the house to the white and grey checkerboard style.
 +
}}
 +
{{/cmd
 +
  |command = houseupgrade,house,hu
 +
  |params  = {{t|I:upgradeLevel}}
 +
  |desc    = Sets upgrade level of your farmhouse/cabin to the specified value. Valid values are <tt>0 - 3</tt>. Furniture and placed items will not be automatically moved and may wind up out of bounds. If done while the player is inside the house, warp points may not immediately update.
 +
}}
 +
{{/cmd
 +
  |command = upgradehouse
 +
  |desc    = Increases the upgrade level of your farmhouse/cabin to the next level (max 3). Furniture and placed items will not be automatically moved and may wind up out of bounds. If done while the player is inside the house, warp points may not immediately update.
 +
}}
 +
{{/cmd
 +
  |command = wall,w
 +
  |params  = {{o|I:textureID}}
 +
  |desc    = Sets all walls of your farmhouse to the specified texture. Valid texture numbers are <tt>0 - 111</tt>; see [[Wallpaper]] for previews but note that the IDs used by the game are 1 less than the numbers used for the wiki filenames. If no texture is specified, the game will use the next ID after the current wallpaper texture without checking for overflow which can create bugged textures.
 +
  |example = <code>debug wall 21</code> would set all wallpaper in the house to the Joja style.
 +
}}
 
|}
 
|}
   −
;Quests, world objectives, in-game achievements
+
==== Special Farm Setups ====
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! command !! description
+
! command !! description !! &nbsp;
|-
  −
| quest {{t|I:ID}} || Adds quest the ID {{t|ID}}.
   
|-
 
|-
| bundle {{t|I:ID}} || Marks bundle {{t|ID}} as completed.
+
{{/cmd
|-
+
  |command = farmmap
| completeCC || Sets the Community Centre as complete.
+
  |params  = {{o|I:mapID}}
|-
+
  |desc    = Removes the current farm map and farmhouse from the game and creates a new farm of the specified type. The farm will be named after the type (e.g. "Standard Farm"). Valid types are: <tt>0</tt> (Standard), <tt>1</tt> (Riverland), <tt>2</tt> (Forest), <tt>3</tt> (Hilltop), <tt>4</tt> (Wilderness), or <tt>5</tt> (Four Corners).
| completeQuest {{t|I:ID}} || Marks quest {{t|ID}} as complete.
+
}}
|-
+
{{/cmd
| caughtFish, fishCaught {{t|I:AMT}} || Sets the number of fish caught to {{t|AMT}}.
+
  |command = setupbigfarm
|-
+
  |desc    = Clears the farm and then does the following:
| beachBridge || Fixes the bridge separating the beach sections.
+
  <ul><li>Spawns 3 Deluxe Coops full of chickens, 2 Deluxe Barns full of cows, a mill, a stable, and a silo in specific spots.</li>
|-
+
  <li>Spawns a large field of random spring crops (force-grown for 8 days) with a wooden path through it and 4 junimo huts to the south.</li>
| deleteArch || Resets records for minerals and artefacts found, fish caught, and mail received.
+
  <li>Spawns two large patches of grass and 18 random fruit trees (cherry and apricot)</li>
 +
  <li>Spawns large groups of torches, furnaces, preserve jars, cheese presses, and kegs; the kegs are full of ancient fruit to make wine</li></ul>
 +
}}
 +
{{/cmd
 +
  |command = setupfarm
 +
  |params  = {{o|S:clearMore}}
 +
  |desc    = Removes all farm buildings and completely clears large areas of the current farm (the presence of a second parameter causes a larger area to be cleared.) After this, the following things are done:
 +
  <ul><li>Spawns a coop, barn, and silo in specific spots</li>
 +
  <li>Your money is increased by 20000</li>
 +
  <li>All tools are upgraded to Iridium quality</li>
 +
  <li>Shears, a milk pail, and full stacks of wood, stone, wood fence, parsnip seeds, and bean starter are added to your inventory</li></ul>
 +
}}
 +
{{/cmd
 +
  |command = setupfishpondfarm
 +
  |params  = {{o|I:population}}
 +
  |desc    = Clears farm and then builds up to 96 fish ponds randomly filled with various types of fish. The population of each of the ponds will be set to the specified value and defaults to 10. The ponds are built in a large 12 x 8 grid but will not be placed in a spot blocked by other buildings, animals, or map features.
 +
}}
 
|}
 
|}
   −
=== Meta & information ===
+
==== Community Center and Bundles ====
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! command !! description
+
! command !! description !! &nbsp;
 
|-
 
|-
| save || Toggles whether the game saves upon starting a new day or not.
+
{{/cmd
|-
+
  |command = addjunimo,aj,j
| where, whereis {{t|S:NPC}} || Prints the location and coordinates of {{t|NPC}} in the console.
+
  |params  = {{t|I:X}},{{t|I:Y}},{{t|I:area}}
|-
+
  |desc    = Adds a junimo at the specified coordinates and assigned to the given Community Center area. Valid areas are <tt>0</tt> (Pantry), <tt>1</tt> (Crafts Room), <tt>2</tt> (Fish Tank), <tt>3</tt> (Boiler Room), <tt>4</tt> (Vault), or <tt>5</tt> (Bulletin Board).
| dp, dap, daysPlayed || Displays the number of game-days played on the save.
+
}}
|-
+
{{/cmd
| pm, panmode, panMode, || On/off toggle for map-panning view; pan map with WASD when toggled on. (Note: If you use 'pm', you won't be able to get back until you type 'panmode')
+
  |command = allbundles
|-
+
  |desc    = Marks all bundles complete.
| version || Prints the SDV version number in console.
+
}}
|-
+
{{/cmd
| localInfo || Prints a bunch of debug information about the current location in the console.
+
  |command = bundle
|-
+
  |params  = {{t|I:ID}}
| characterInfo || Displays number of characters on the current map.
+
  |desc    = Marks the specified bundle as complete. Valid IDs are listed below.
|-
+
<table class="wikitable"><tr><th>Pantry</th><th>Fish Tank</th><th>Crafts Room</th><th>Boiler Room</th><th>Vault</th><th>Bulletin Board</th></tr>
| pixelZoom {{t|LVL}} || sets the graphical zoom level the game displays at--takes integers, 1 is 100% pixel size, default is 4 (400% pixel size). Movement does not scale. Changes in zoom level may put the player actor outside the boundaries of the map.
+
<tr><td>0 - Spring Crops</td><td>6 - River Fish</td><td>13 - Spring Foraging</td><td>20 - Blacksmith's</td><td>23 - 2,500g</td><td>31 - Chef's</td></tr>
|-
+
<tr><td>1 - Summer Crops</td><td>7 - Lake Fish</td><td>14 - Summer Foraging</td><td>21 - Geologist's</td><td>24 - 5,000g</td><td>32 - Field Research</td></tr>
| viewport {{t|X}} {{t|Y}} || Sets viewport width to <tt>X</tt> game tiles and height to <tt>Y</tt> game tiles.
+
<tr><td>2 - Fall Crops</td><td>8 - Ocean Fish</td><td>15 - Fall Foraging</td><td>22 - Adventurer's</td><td>25 - 10,000g</td><td>33 - Enchanter's</td></tr>
 +
<tr><td>3 - Quality Crops</td><td>9 - Night Fishing</td><td>16 - Winter Foraging</td><td></td><td>26 - 25,000g</td><td>34 - Dye</td></tr>
 +
<tr><td>4 - Animal</td><td>10 - Specialty Fish</td><td>17 - Construction</td><td></td><td></td><td>35 - Fodder</td></tr>
 +
<tr><td>5 - Artisan</td><td>11 - Crab Pot</td><td>19 - Exotic Foraging</td><td></td><td></td><td></td></tr></table>
 +
}}
 +
{{/cmd
 +
  |command = ccload
 +
  |params  = {{t|I:area}}
 +
  |desc    = Removes the junimo note from and restores the specified area. Valid areas are <tt>0</tt> (Pantry), <tt>1</tt> (Crafts Room), <tt>2</tt> (Fish Tank), <tt>3</tt> (Boiler Room), <tt>4</tt> (Vault), or <tt>5</tt> (Bulletin Board).
 +
}}
 +
{{/cmd
 +
  |command = ccloadcutscene
 +
  |params  = {{t|I:area}}
 +
  |desc    = Plays the full restoration cutscene for the specified area including junimo dance and star retrieval. Valid areas are <tt>0</tt> (Pantry), <tt>1</tt> (Crafts Room), <tt>2</tt> (Fish Tank), <tt>3</tt> (Boiler Room), <tt>4</tt> (Vault), or <tt>5</tt> (Bulletin Board).
 +
}}
 +
{{/cmd
 +
  |command = completecc
 +
  |desc    = Adds all of the appropriate flags for Community Center completion and restores all areas.
 +
}}
 +
{{/cmd
 +
  |command = completejoja
 +
  |desc    = Adds all of the appropriate flags for Joja membership and Community Development purchases.
 +
}}
 +
{{/cmd
 +
  |command = junimogoodbye
 +
  |desc    = Plays the animation where 6 junimos wave goodbye in front of the hut in the Community Center and then that corner of the Community Center gets restored.
 +
}}
 +
{{/cmd
 +
  |command = junimonote,jn
 +
  |params  = {{t|I:area}}
 +
  |desc    = Adds a junimo note (bundle scroll) for the specified area. Valid areas are <tt>0</tt> (Pantry), <tt>1</tt> (Crafts Room), <tt>2</tt> (Fish Tank), <tt>3</tt> (Boiler Room), <tt>4</tt> (Vault), or <tt>5</tt> (Bulletin Board).
 +
}}
 +
{{/cmd
 +
  |command = junimostar
 +
  |desc    = Causes a junimo to run to the hut and retrieve a star which is then placed on the plaque above the fireplace. Must be done in the Community Center.
 +
}}
 +
{{/cmd
 +
  |command = plaque
 +
  |desc    = Adds a star to the plaque above the Community Center fireplace.
 +
}}
 +
{{/cmd
 +
  |command = resetjunimonotes
 +
  |desc    = Resets all bundles.
 +
}}
 
|}
 
|}
   −
=== Player character stats, skills, recipes, and player actor properties ===
+
==== Other Location-Specific Functions ====
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! command !! description
+
! command !! description !! &nbsp;
|-
  −
| fishing {{t|I}} || sets player Fishing skill to {{t|I}}
  −
|-
  −
| heal || Sets player health to maximum.
  −
|-
  −
| speed {{t|I}} || Increases player actor speed by the given amount. (1 is equal to the speed increase from coffee.)
  −
|-
  −
| cooking || Teaches the player all cooking recipes.
  −
|-
  −
| energize || Sets player energy to maximum.
  −
|-
  −
| die || Sets the player's health to minimum, making them pass out.
  −
|-
  −
| money {{t|I}} || Set player money to given integer.
  −
|-
  −
| specials || Sets all special access conditions to true (Sewers, Skull Cave, Club, Witch's Hut, Dwarf), and gives the player the [[Special Charm]].
  −
|-
  −
| festivalScore {{t|I:score}} || adds {{t|score}} to Farmer's grange display score at Stardew Valley Fair
  −
|-
  −
| toggleCatPerson || Toggles the selected pet species.
  −
|-
  −
| seenmail {{t|I:ID}} || Adds letter {{t|ID}} to the list of those the farmer has already received and read.
   
|-
 
|-
| slimecraft || Teached Farmer the recipes for Slime Incubator and Slime Egg-press.
+
{{/cmd
 +
  |command = beachbridge
 +
  |desc    = Toggles the state of the beach bridge between fixed and not fixed.
 +
}}
 +
{{/cmd
 +
  |command = ladder,shaft
 +
  |params  = {{o|I:X}},{{o|I:Y}}
 +
  |desc    = Creates a ladder or mineshaft at the specified coordinates. If no coordinates are given, it will spawn 1 tile north of the player. In the regular mines, both versions of the command will create a ladder. In the Skull Caverns, <tt>ladder</tt> will randomly spawn either a ladder or mineshaft while <tt>shaft</tt> will always spawn a mineshaft.
 +
}}
 +
{{/cmd
 +
  |command = movie
 +
  |params  = {{o|S:npcNameOrMovieID}},{{o|S:movieID}}
 +
  |desc    = Starts a movie; this command is a bit complex with its parameter handling so be sure to check the examples. Note that this command can create a group with up to 3 guests instead of just the single guest allowed in normal play. Valid movie IDs are listed after the parameter explanation.
 +
<ul><li>If both parameters are given, it will start the specified movie (second parameter) with the specified NPC (fuzzy match on first parameter) as a guest.</li>
 +
<li>If just one parameter is given, it is interpreted as the movie ID and the NPC guest(s) will be chosen randomly.</li>
 +
<li>If no parameters are given, the movie will default to <tt>fall_movie_1</tt> (''It Howls in the Rain'') and the NPC guest(s) will be chosen randomly.</li></ul>
 +
<table class="wikitable"><tr><td><tt>spring_movie_0</tt> - ''The Brave Little Sapling''</td><td><tt>spring_movie_1</tt> - ''Natural Wonders''</td></tr>
 +
<tr><td><tt>summer_movie_0</tt> - ''Journey of the Prairie King''</td><td><tt>summer_movie_1</tt> - ''Wumbus''</td></tr>
 +
<tr><td><tt>fall_movie_0</tt> - ''Mysterium''</td><td><tt>fall_movie_1</tt> - ''It Howls in the Rain''</td></tr>
 +
<tr><td><tt>winter_movie_0</tt> - ''Miracle at Coldstar Ranch''</td><td><tt>winter_movie_1</tt> - ''The Zuzu City Express''</td></tr></table>
 +
'''Warning: This command also increases the save's <tt>uniqueID</tt> by 1 each time it is used, which will cause the save filename to change and impact some random events.'''
 +
  |example = <code>debug movie</code> would show ''It Howls in the Rain'' with random NPC guests.;<code>debug movie spring_movie_1</code> would show ''Natural Wonders'' with random NPC guests.;<code>debug movie Abi summer_movie_0</code> would show ''Journey of the Prairie King'' with Abigail and possibly 1 or 2 additional random NPC guests.
 +
}}
 +
{{/cmd
 +
  |command = resetmines
 +
  |desc    = Resets "permanent mine changes" such as coal carts and treasure chests. Does not affect mines level progress or monster eradication goals.
 +
}}
 +
{{/cmd
 +
  |command = train
 +
  |desc    = Causes a train to spawn at the Railroad.
 +
}}
 
|}
 
|}
   −
=== Farm, crops, fruit trees, livestock, pets, farm buildings ===
+
=== World ===
 +
==== Date and Time ====
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! command !! description
+
! command !! description !! &nbsp;
|-
  −
| setUpFarm || tills certain patches of land; adds 20K money; adds a silo, a coop, and a barn; adds shears, milk pail, and full stacks of items 472, 473, 322, 388, and 390; upgrades all four tools to iridium level.
  −
|-
  −
| upgradebarn, barn || '''[Broken]''' Increments a ''barnUpgradeLevel'' field that is no longer used which causes the game to try to load textures that don't exist.
  −
|-
  −
| growCrops {{t|I:AMT}} || Advances all crops in the current location {{t|AMT}} days.
  −
|-
  −
| house, houseUpgrade, hu {{t|I:LVL}} || Up/downgrades your house to the given level.
  −
|-
  −
| fenceDecay || presumably sets the rate of fence decay
  −
|-
  −
| bc, buildcoop || Possibly toggles the build coop menu, bypassing the fee.
   
|-
 
|-
| coop, upgradecoop || '''[Broken]''' Increments a ''coopUpgradeLevel'' field that is no longer used which causes the game to try to load textures that don't exist.
+
{{/cmd
|-
+
  |command = addhour
| spreadDirt || On the farm, till all tillable dirt that is currently untilled and unoccupied by actors.
+
  |desc    = Increases time by 1 hour.
|-
+
}}
| removeDirt || On the farm, until all tillable dirt. Will destroy all crops!
+
{{/cmd
|-
+
  |command = addminute
| befriendAnimals || Sets your friendship with all of your (present) animals to 1000. Must be used inside a coop or a barn.
+
  |desc    = Increases time by 10 minutes.
|-
+
}}
| fixAnimals || Presumably, moves all livestock to their home buildings.
+
{{/cmd
|-
+
  |command = day
| horse {{t|I:X}} {{t|I:}}y || Spawns a new horse on the current map at ({{t|X}}, {{t|}}y).
+
  |params  = {{t|I:value}}
|-
+
  |desc    = Changes day of the month to the specified value; stays in current season and adjusts <tt>daysPlayed</tt> statistic appropriately.
| owl || Spawns an Owl.
+
}}
 
+
{{/cmd
 +
  |command = pausetime
 +
  |desc    = Toggles game pause state. This is different from the normal chat <tt>/pause</tt> command in that the player still has free movement during the pause.
 +
}}
 +
{{/cmd
 +
  |command = season
 +
  |params  = {{t|S:name}}
 +
  |desc    = Sets season to the specified value. The season name is case-insensitive; valid names are <tt>spring</tt>, <tt>summer</tt>, <tt>fall</tt>, and <tt>winter</tt>.
 +
}}
 +
{{/cmd
 +
  |command = sleep, newday, nd
 +
  |desc    = Forces end of day.
 +
}}
 +
{{/cmd
 +
  |command = time
 +
  |params  = {{t|I:value}}
 +
  |desc    = Sets current time to the specified value. This is essentially 24-hour time without a colon, although the stardew clock keeps running until 2600. See examples.
 +
  |example = <code>debug tme 2040</code> would set the time to 20:40 or 8:40pm.; <code>debug tme 2550</code> would set the time to 1:50am.
 +
}}
 +
{{/cmd
 +
  |command = year
 +
  |params  = {{t|I:value}}
 +
  |desc    = Sets the current year to the specified value.
 +
}}
 
|}
 
|}
   −
=== Map, locations, terrain features, time and weather ===
+
==== Weather and World State ====
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! command !! description
+
! command !! description !! &nbsp;
 
|-
 
|-
| minelevel {{t|LVL}} || Warps Farmer to given [[Mines]] level.
+
{{/cmd
|-
+
  |command = debrisweather
| resetMines || Resets permanent mine changes such as coal carts and treasure chests. Does not affect mines level progress or monster eradication goals.
+
  |desc    = Toggles "debris" weather (i.e. windy weather with floating leaves) on and off. Does not change the weather icon on the HUD.
|-
+
}}
| warp {{t|S:MAP}} {{t|I:X}} {{t|I:Y}} || warps Farmer to {{t|MAP}} at ({{t|X}}, {{t|}}y). e.g. warp blacksmith 3 15
+
{{/cmd
|-
+
  |command = morepollen
| warpHome, warphome, wh || Warps the current player into their farmhouse.
+
  |params  = {{t|I:amount}}
|-
+
  |desc    = Increases the amount of leaves flying around if in debris/windy weather.
| removeLights || Disables light effects on the current map.
+
}}
|-
+
{{/cmd
| clearLightGlows || Removes light glow textures on current map.
+
  |command = rain
|-
+
  |desc    = Toggles rainy weather on and off. Will turn off debris/windy weather. Does not change the weather icon on the HUD.
| dayUpdate [I:AMT] || Progresses the game either 1 or [AMT] days.
+
}}
|-
+
{{/cmd
| al, ambientLight || Sets the maps default ambient light.
+
  |command = resetworldstate
|-
+
  |desc    = Clears all world state IDs which track map changes such as whether the beach bridge is fixed, whether Trash Bear has done his thing and various small changes from heart events.<br/>'''Warning: Also clears records of found artifacts and minerals, fish caught, events seen, and mail received (including hidden progress flags.)'''
| time {{t|TIME}} || set game time of day, {{t|TIME}} format is military time (24 hours, no colon).
+
}}
|-
  −
| rain || Toggles whether current [[weather]] is rain.
   
|}
 
|}
    +
=== Game Settings and Meta Information ===
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! command !! description
+
! command !! description !! &nbsp;
|-
  −
| cmenu, customize, customizeMenu || Opens the character menu (new game, not shrine).
  −
|-
  −
| bloomDay || The game's bloom. Doesn't work.
  −
|-
  −
| cat {{t|I:X}} {{t|I:}}y || Adds a cat at ({{t|X}}, {{t|}}y) in the current location.
  −
|-
  −
| question || Marks a particular dialogue question as answered.
  −
|-
  −
| growgrass {{t|number}} || Adds {{t|number}} grass to your current location. May freeze the game if used outside of the farm.
  −
|-
  −
| petToFarm || Moves the player's pet to the farm at (54, 8) if it isn't raining.
  −
|-
  −
| junimoStar || (CC.characters[0] as junimo).returnToFetchStar
  −
|-
  −
| growAnimals || Makes all animals in the current location (must be an animal house) grow up.
  −
|-
  −
| bluebook || Adds a blueprint to your inventory.
  −
|-
  −
| removeTF, removeTerrainFeatures || Removes all terrain features from the current location.
  −
|-
  −
| removeFurniture || Removes all furniture from the current location.
  −
|-
  −
| rfh, readyForHarvest {{t|I:X}} {{t|I:}}y || Sets the object at ({{t|X}}, {{t|}}y) to be ready in one minute. Also sets stones to 1 health.
  −
|-
  −
| resource {{t|I:ID}} {{t|I:AMT}} || Marks some debris as collected, useful for quests. 0=copper, 2=iron, 4=coal, 6=gold, 8=money (somewhat random amount), |-
  −
10=iridium, 12=wood, 28=lantern fuel
  −
|-
  −
| craftingrecipe {{t|S:str}} || Adds the recipe for {{t|str}} to your known items.
  −
|-
  −
| setstat {{t|S:stat}} {{t|I:num}} || Sets the stat {{t|stat}} to {{t|num}}. ({{t|stat}} is property in StardewValley.Stats)
   
|-
 
|-
 
| conventionMode || Toggles Game1.conventionMode
 
| conventionMode || Toggles Game1.conventionMode
 
|-
 
|-
| jn, junimoNote {{t|I:ID}} || Adds junimo note {{t|ID}}.
+
{{/cmd
 +
  |command = conventionmode
 +
  |desc    = Toggles convention mode on and off. When on, disables the resolution and window mode options as well as both "Exit to Title" and "Exit to Desktop" buttons.
 +
}}
 +
{{/cmd
 +
  |command = gamemode
 +
  |params  = {{t|I:mode}}
 +
  |desc    = Sets the game mode to the specified value. Details unknown.
 +
}}
 +
{{/cmd
 +
  |command = gamepad
 +
  |desc    = Toggles gamepad control options and displays a global message about whether they are being used or not.
 +
}}
 +
{{/cmd
 +
  |command = inputsim,is
 +
  |params  = {{t|S:type}}
 +
  |desc    = Sets input simulator to the specified type. Valid types are <tt>spamtool</tt> and <tt>spamlr</tt>. Details unknown.
 +
}}
 +
{{/cmd
 +
  |command = musicvolume, mv, m
 +
  |params  = {{t|D:value}}
 +
  |desc    = Sets music volume to the specified value. This is a double-precision float in the range of <tt>0 - 1</tt>.
 +
}}
 +
{{/cmd
 +
  |command = nosave, ns
 +
  |desc    = Toggles end of day saving on or off. Outputs a message to the console with the current saving status.
 +
}}
 +
{{/cmd
 +
  |command = runmacro, rm
 +
  |params  = {{t|S:filename}}
 +
  |desc    = Runs the specified macro file. The given filename will have <tt>.txt</tt> appended to it. See [[#Macros for multiple commands|Macros for multiple commands]] for more details.
 +
}}
 +
{{/cmd
 +
  |command = save
 +
  |desc    = Toggles end of day saving on or off. Similar to [[#nosave|nosave]] but does not output a status message.
 +
}}
 +
{{/cmd
 +
  |command = steaminfo,sdkinfo
 +
  |desc    = Outputs information about whether Steam is running and if a user is logged in.
 +
}}
 +
{{/cmd
 +
  |command = version
 +
  |desc    = Outputs the assembly version number to the console. Note this is different from the more user-friendly version that can be accessed from the credits screen. For example, running this command on Stardew Valley 1.4.3 for Windows will output <tt>1.3.7286.33936</tt>
 +
}}
 +
 
 +
=== Multiplayer ===
 +
==== General Multiplayer ====
 +
{| class="wikitable"
 
|-
 
|-
| resetJunimoNotes || presumably resets all JunimoNotes to not-seen status.
+
! command !! description !! &nbsp;
 
|-
 
|-
| hurry {{t|S:NPC}} || warps {{t|NPC}} to their currently scheduled endpoint, such as Pam from her home to the bus stop in the morning
+
{{/cmd
 +
  |command = addotherfarmer
 +
  |desc    = Creates an additional new male farmer with randomized name and appearance which spawns 1 tile to the left of your farmer. Unsure of what situation this can be used in.
 +
}}
 +
{{/cmd
 +
  |command = nethost
 +
  |desc    = Starts a new LAN server. Details unknown.
 +
}}
 +
{{/cmd
 +
  |command = netjoin
 +
  |desc    = Details unknown.
 +
}}
 +
 
 +
==== Logging ====
 +
{| class="wikitable"
 
|-
 
|-
| makeInedible || Makes the item the player is holding inedible. Does not make the item permanently inedible.
+
! command !! description !! &nbsp;
 
|-
 
|-
| toss || Player actor plays the vial-dropping animation.
+
{{/cmd
 +
  |command = logbandwidth
 +
  |desc    = Toggles bandwidth logging on and off. Can be used on either host or client.
 +
}}
 +
{{/cmd
 +
  |command = netclear
 +
  |desc    = Clears network message log.
 +
}}
 +
{{/cmd
 +
  |command = netdump
 +
  |desc    = Outputs network message log to a file.
 +
}}
 +
{{/cmd
 +
  |command = netlog
 +
  |desc    = Toggles network message logging on and off.
 +
}}
 +
|}
 +
 
 +
==== Player Relationships ====
 +
{| class="wikitable"
 
|-
 
|-
| completeJoja || presumably set completeJoja value to true (or input value)
+
! command !! description !! &nbsp;
 
|-
 
|-
| zl, zoomlevel ||  
+
{{/cmd
 +
  |command = dateplayer
 +
  |desc    = Checks all other farmers and sets the first one found as dating the player.
 +
}}
 +
{{/cmd
 +
  |command = engageplayer
 +
  |desc    = Checks all other farmers and sets the first one found as engaged to the player with a wedding date of the next game day.
 +
}}
 +
{{/cmd
 +
  |command = marryplayer
 +
  |desc    = Checks all online farmers and sets the first one found as married to the player with a wedding date of the current game day.
 +
}}
 +
|}
 +
 
 +
==== Shared and Split Money ====
 +
{| class="wikitable"
 
|-
 
|-
| eventseen, seenevent {{t|I:ID}} || adds given event's ID to the list of Seen Events. Useful for enabling access to event-dependent areas or events.
+
! command !! description !! &nbsp;
 
|-
 
|-
| shirt ||  
+
{{/cmd
 +
  |command = changewallet
 +
  |desc    = Sets the game to toggle between shared or split money overnight. Host only.
 +
}}
 +
{{/cmd
 +
  |command = mergewallets
 +
  |desc    = Immediately switches to shared money, merging all player wallets. Host only.
 +
}}
 +
{{/cmd
 +
  |command = separatewallets
 +
  |desc    = Immediately switches to split money, separating all player wallets. Host only.
 +
}}
 +
|}
 +
 
 +
=== Audio and Visual Effects ===
 +
==== Animations ====
 +
{| class="wikitable"
 
|-
 
|-
| b, bi, big, bigitem || Gives you a craftable (Also known as bigCraftables). Example: ''debug bigitem 1'' gives you a house plant
+
! command !! description !! &nbsp;
 
|-
 
|-
| facePlayer || presumably makes given NPC actor (persistently) face player actor.
+
{{/cmd
 +
  |command = animationpreviewtool,apt
 +
  |desc    = Opens a menu allowing you to preview different farmer animations and change some appearance options.
 +
}}
 +
{{/cmd
 +
  |command = busdriveback
 +
  |desc    = Plays the animation of the bus returning from the desert. Must be done on the Bus Stop map.
 +
}}
 +
{{/cmd
 +
  |command = busdriveoff
 +
  |desc    = Plays the animation of the bus leaving the Bus Stop and driving to the desert. Will warp the player to the desert. Must be done on the Bus Stop map.
 +
}}
 +
{{/cmd
 +
  |command = createsplash
 +
  |desc    = Creates a fish "bubble" spot in front of the player. Seems inconsistent.
 +
}}
 +
{{/cmd
 +
  |command = framebyframe, fbf
 +
  |desc    = Turns on "frame-by-frame" mode which pauses the game and allows you to advance time/animations one frame at a time by hitting the <tt>G</tt> key. Hit <tt>Escape</tt> key to exit.
 +
}}
 +
{{/cmd
 +
  |command = frameoffset, fo
 +
  |params  = {{t|I:frameID}},{{t|S:X}},{{t|S:Y}},{{t|S:??}}
 +
  |desc    = Sets frame offset for specified frame and specified X & Y values. The X and Y can be prefaced with <tt>s</tt> to flip the direction. Details unknown; reference <tt>FarmerRenderer.featureXOffsetPerFrame()</tt> and <tt>FarmerRenderer.featureYOffsetPerFrame()</tt>.
 +
}}
 +
{{/cmd
 +
  |command = setframe, sf
 +
  |params  = {{t|I:frameID}}
 +
  |desc    = Sets farmer sprite to the given animation frame. Probably best used in conjunction with [[#framebyframe|frame-by-frame mode]].
 +
}}
 +
{{/cmd
 +
  |command = sprinkle
 +
  |desc    = Shows an animation of a sprinkle effect around the farmer.
 +
}}
 +
{{/cmd
 +
  |command = toss
 +
  |desc    = Shows an animation of a spinning vial/beaker which rises and then falls.
 +
}}
 +
|}
 +
 
 +
==== Camera, Lighting, and Effects ====
 +
{| class="wikitable"
 
|-
 
|-
| j, aj, addJunimo || presumably spawns a junimo close to player actor.
+
! command !! description !! &nbsp;
 
|-
 
|-
| ns, nosave, noSave ||  
+
{{/cmd
 +
  |command = ambientlight, al
 +
  |params  = {{t|I:R}},{{t|I:G}},{{t|I:B}}
 +
  |desc    = Sets the ambient light of the current location to the specified RGB values. This is a temporary change and the light will revert if the location is reset or re-entered.
 +
}}
 +
{{/cmd
 +
  |command = bloom
 +
  |params  = {{t|D:BloomThreshold}},{{t|D:BlurAmount}},{{t|D:BloomIntensity}},{{t|D:BaseIntensity}},{{t|D:BloomSaturation}},{{t|D:BaseSaturation}},{{o|S:brightWhiteOnly}}
 +
  |desc    = Changes the bloom settings to the specified parameters. Most are double-precision floats which are divided by 10. The last parameter will set the <tt>brightWhiteOnly</tt> flag to <tt>true</tt> if it is present and <tt>false</tt> if it is absent. Also sets the <tt>bloomDay</tt> flag.
 +
}}
 +
{{/cmd
 +
  |command = bloomday
 +
  |desc    = Toggles the <tt>bloomDay</tt> flag on and off, essentially turning the bloom effects themselves on or off.
 +
}}
 +
{{/cmd
 +
  |command = drawbounds
 +
  |desc    = toggles the <tt>drawbounds</tt> flag on and off. Details unknown.
 +
}}
 +
{{/cmd
 +
  |command = lsd
 +
  |params  = {{t|D:howLongMilliseconds}},{{t|D:shiftRate}},{{t|D:shiftFade}},{{t|D:globalIntensityMax}},{{t|D:blurShiftLevel}},{{t|D:saturationShiftLevel}},{{t|D:contrastShiftLevel}},{{t|D:bloomIntensityShift}},{{t|D:brightnessShift}},{{t|D:globalIntensityStart}},{{t|D:offsetShift}}
 +
  |desc    = Starts a bloom shifting animation with the specified values. All parameters are double-precision floats; the third parameter is divided by 1000 and the fourth through tenth parameters are divided by 100. Details unknown; reference <tt>BloomComponent.startShifting()</tt>.
 +
}}
 +
{{/cmd
 +
  |command = panmode, pm
 +
  |desc    = Turns on panmode. During panmode the screen can be panned with movement keys or mouse movements and <tt>debug panmode</tt> or <tt>debug exit</tt> will turn panmode off.
 +
}}
 +
{{/cmd
 +
  |command = viewport
 +
  |params  = {{t|I:X}},{{t|I:Y}}
 +
  |desc    = Sets the viewport to the given values. Details unknown.
 +
}}
 +
{{/cmd
 +
  |command = zoomlevel,zl
 +
  |params  = {{t|I:value}}
 +
  |desc    = Sets the zoom level to the specified value. This is an integer interpreted as the zoom percent. Can be used to go beyond the normal zoom limits of 75 - 125 percent.
 +
  |example = <code>debug zl 60</code> would set the zoom level to 60%.
 +
}}
 +
|}
 +
 
 +
==== Music and Sounds ====
 +
{| class="wikitable"
 
|-
 
|-
| water || Irrigate all tilled land on the current map.
+
! command !! description !! &nbsp;
 
|-
 
|-
| growAnimalsFarm || Turns all baby animals to adults.
+
{{/cmd
|-
+
  |command = playmusic
| wp, wallpaper || Inside the current farm building, switches all wallpapers to the next available wallpaper counting from (assumedly) the left/topmost room.
+
  |params  = {{t|s:cueID}}
|-
+
  |desc    = Plays the specified music track. May not be able to play tracks which have a space in the cue name. Tracks played this way will be added to the <tt>songsHeard</tt> list and be available to play on the Jukebox afterwards. See the [https://docs.google.com/spreadsheets/d/1CpDrw23peQiq-C7F2FjYOMePaYe0Rc9BwQsj3h6sjyo/ modder's resource spreadsheet] (Music Bank IDs tab) for a list of valid cue IDs.
| tool || Does not work; doing the command appears to do nothing
+
  |example = <code>debug playmusic spring2</code> would play the track ''Spring (The Valley Comes Alive)''.  
|-
+
}}
| fo, frameOffset ||
+
{{/cmd
|-
+
  |command = playsound, ps
| m, mv, musicvolume ||
+
  |params  = {{t|s:cueID}}
|-
+
  |desc    = Playes the specified sound effect. See the [https://docs.google.com/spreadsheets/d/1CpDrw23peQiq-C7F2FjYOMePaYe0Rc9BwQsj3h6sjyo/ modder's resource spreadsheet] (Sound Bank IDs tab) for a list of valid cue IDs.
| emote || (Broken) Will make you do an emote according to the emote id. If you use this command, it will play an endless loop of an empty emote.
+
  |example = <code>debug ps purchase</code> would make the coin clink sound heard when buying and selling items.
|-
+
}}
| remoteLargeTF ||
+
|}
|-
  −
| spawnweeds {{t|number}} || Spawns {{t|number}} weeds in your current location. May freeze or crash the game if used outside of the farm.
  −
|-
  −
| lu, lookup ||
  −
|-
  −
| speech ||
  −
|-
  −
| ps, playSound || Does not work, most likely to crash your game
  −
|-
  −
| wc, warpCharacter || Warps player to the define NPC (Case sensitive). e.g. warpCharacter Abigail
  −
|-
  −
| fruitTrees || Instantly grows any fruit trees on your farm.
  −
|-
  −
| animalInfo ||
  −
|-
  −
| ff, furniture || Works just like the 'item' command, only with furniture. Format: furniture [ID]
  −
|-
  −
| achieve || Gives the player the achievement according to its id.
  −
|-
  −
| sdkinfo, steaminfo ||
  −
|-
  −
| morepollen ||  
  −
|-
  −
| specialItem || Gives the player an item for your wallet defined by its id.
  −
|-
  −
| levelup || Promotes the player's defined skill up. Format: levelup [skill] [level]
  −
|-
  −
| kms, killMonsterStat ||
  −
|-
  −
| backpack {{t|int}} || Increases player inventory size by whichever is smaller of these two:<br/>
  −
* 20 minus current inventory size<br/>
  −
* {{t|int}}.
  −
|-
  −
| child, kid ||
  −
|-
  −
| allbundles ||
  −
|-
  −
| movebuilding ||
  −
|-
  −
| mft, mailForTomorrow ||
  −
|-
  −
| ccload ||
  −
|-
  −
| minigame || The base command for toggling a specified scene or action
  −
|-
  −
| addOtherFarmer ||
  −
|-
  −
| addAllCrafting || possibly adds the achievement for having crafted every item
  −
|-
  −
| plaque ||
  −
|-
  −
| sprinkle || adds a short sparkle animation around your farmer
  −
|-
  −
| i, item ||
      +
=== Outdated, Unimplemented, or Unknown ===
 +
{| class="wikitable"
 
|-
 
|-
| removeQuest ||
+
! command !! description !! &nbsp;
|-
  −
| w, wall ||
  −
|-
  −
| KillAllHorses ||
  −
|-
  −
| skinColor ||
  −
|-
  −
| debrisWeather || presumably changes the current weather to windy.
  −
|-
  −
| clearMail ||
  −
|-
  −
| cookingrecipe ||
  −
|-
  −
| clearCharacters ||
  −
|-
  −
| dialogue || possibly initiate dialogue by ID
  −
|-
  −
| test || TODO. Changes game display to a swatch list of floorings, which can be clicked once to return to normal game display.
  −
|-
  −
| fish || Presumably, adds a fish into the caught fish achievements.
  −
|-
  −
| year || Sets the year
  −
|-
  −
| crafting || Teaches the player all crafting recipes.
  −
|-
  −
| f, floor || Sets the floor of every room in your house
  −
|-
  −
| killAll || TODO. Possibly removes all NPC actors from the current map.
  −
|-
  −
| achievement ||
  −
|-
  −
| LSD ||
  −
|-
  −
| build ||
  −
|-
  −
| farmMap || Sets the player's map to the default, combat, fishing, mining, and foraging.
  −
|-
  −
| blueprint ||
  −
|-
  −
| upgradeBarn ||
  −
|-
  −
| season || Sets the current season to the given one.
  −
|-
  −
| gamePad ||
  −
|-
  −
| coopDweller ||
  −
|-
  −
| hairStyle ||
  −
|-
  −
| spreadSeeds ||
  −
|-
  −
| removeBuildings ||
  −
|-
  −
| addKent || Adds Kent to the game.
  −
|-
  −
| getstat ||
  −
|-
  −
| doesItemExist || Checks if an item exist in the game using it's ID
  −
|-
  −
| pants || sets the player's pants colour. uses 3 RGB values (example: pants 100 40 50)
  −
|-
  −
| gamemode ||
  −
|-
  −
| barnDweller ||
  −
|-
  −
| bloom || unimplemented lighting feature. doesn't work.
  −
|-
  −
| day || Sets the day to the defined number
  −
|-
  −
| upgradeCoop ||
  −
|-
  −
| dog ||  Presumably adds a dog at ({{t|X}}, {{t|}}y) on the current map. Lets you have multiple dogs.
  −
|-
  −
| busDriveOff || Plays the cutscene of the bus driving off and sends the player to Calico Desert (NOTE: Only works at the bus stop)
  −
|-
  −
| child2 || Adds a second child to your family.
  −
|-
  −
| playMusic {{t|ID}} || Changes music track to <tt>ID</tt>. Does not work, will crash your game.
  −
|-
  −
| hat || Gives the player a hat according to its id
  −
|-
  −
| r || resets the current music track
  −
|-
  −
| hairColor || sets the player's hair colour (lakes, ocean, etc). uses 3 RGB values (example: hairColor 100 40 50)
  −
|-
  −
| waterColor || Tints the colour of water (lakes, ocean, etc). uses 3 RGB values (example: waterColor 100 40 50)
  −
|-
  −
| ring || Gives the player a ring according to its id
  −
|-
  −
| clearFurniture || removes all furniture from current area
  −
|-
  −
| boots || Gives the player boots according to its id
   
|-
 
|-
| resetAchievements || Resets the Steam achievements.
+
{{/cmd
 +
  |command = bluebook
 +
  |desc    = Adds a "Farmer's Catalogue" to your inventory which looks like an axe and opens up a partially-implemented menu when used.
 +
}}
 +
{{/cmd
 +
  |command = blueprint
 +
  |params  = {{t|s:ID}}
 +
  |desc    = Adds the specified blueprint to the "Farmer's Catalogue" menu. IDs seem to be buildings and animals from <tt>Data/Blueprints</tt>.
 +
}}
 +
{{/cmd
 +
  |command = end
 +
  |desc    = Attempts to warp the player to town and start the "Stardew Hero Celebration" event but appears to crash due to missing music cues.
 +
}}
 +
{{/cmd
 +
  |command = lantern
 +
  |desc    = Adds a lantern to your inventory which looks like an axe and will softlock the player when trying to use it; [[#canmove|canmove]] can be used to fix the soft lock.
 +
}}
 +
{{/cmd
 +
  |command = refuel
 +
  |desc    = Sets lantern fuel to maximum. As the lantern was not fully implemented, this doesn't do much.
 +
}}
 +
{{/cmd
 +
  |command = stoprafting
 +
  |desc    = Sets an internal <tt>isRafting</tt> flag to false. As rafting was not fully implemented, this doesn't do much.
 +
}}
 +
{{/cmd
 +
  |command = upgradebarn, barn
 +
  |desc    = Increments an unused barn upgrade level variable (max 3).<br/>'''Warning: This feature was not completely implemented and the game will crash on new day due to missing textures after using it.'''
 +
}}
 +
{{/cmd
 +
  |command = upgradecoop, coop
 +
  |desc    = Increments an unused coop upgrade level variable (max 3).<br/>'''Warning: This feature was not completely implemented and the game will crash on new day due to missing textures after using it.'''
 +
}}
 
|}
 
|}
    
[[Category:Modding]]
 
[[Category:Modding]]
99

edits

Navigation menu