Изменения

Перейти к навигации Перейти к поиску
Нет описания правки
Строка 1: Строка 1:  
←[[Модификации:Индекс|Индекс]]
 
←[[Модификации:Индекс|Индекс]]
 
{{Переведите}}
 
{{Переведите}}
<div style="border: 1px solid red; background: #FCC; padding: 1em;">'''Предупреждение: Эти команды предназначены для тестирования и устранения неполадок, а не для общего воспроизведения. Некоторые из них имеют постоянные побочные эффекты и могут вызвать сбои или другие проблемы'''</div>
     −
Stardew Valley has hundreds of hidden debug commands which the developers use to test the game, documented on this page.
+
SMAPI provides access to hundreds of console commands with a wide variety of effects, ranging from useful tools to cheats to specialized test commands. These are documented on this page.
   −
==Entering debug commands==
+
==Format used on this page==
===Individual commands===
+
To avoid repeating text, this page uses a few conventions to convey common information:
To enter debug commands, you must install SMAPI (and not delete its bundled Console Commands mod). You can also install the {{nexus mod|2092|Chat Commands}} mod to use debug commands through the in-game chat (trying without it will either silently fail, or show the response ''ConcernedApe: Nice try...'').
     −
Once that's done, you can type commands directly into the SMAPI console window (or chat if using Chat Commands). All of them should be prefaced with <code>debug </code> like this:
+
* Required parameters are listed in angle brackets, and optional parameters are listed in square brackets. For example, <code>speed</code> {{t|I:value}} {{o|I:duration}} means the command requires an integer value parameter and has an optional integer duration parameter. Details such as default values should be listed in the description.
<pre>
+
* The command names are case-insensitive, but their parameters might be case-sensitive.
debug where Robin
+
* If a command description says that a parameter uses "fuzzy" match, that means that it can match on a case-insensitive partial name. For example, <code>abi</code> would match Abigail if it's fuzzy.
> Robin is at Farm, 21,4
+
 
</pre>
+
==Console commands==
 
+
===How to enter console commands===
The example above returned output, but many commands don't. If there's no output, SMAPI will say ''Sent debug command to the game, but there was no output''.
+
You must have the Console Commands mod installed to use the commands listed below. That mod is bundled with SMAPI; if you deleted it, just [[Modding:Player Guide|reinstall SMAPI]] to get the mod back.
 
+
 
===Macros===
+
You can enter console commands directly into the SMAPI console window (or into the in-game chat if you have {{nexus mod|2092|Chat Commands}} too). You can type <code>help</code> to get a list of console commands (including commands added by other mods).
Multiple commands can be executed at once using the <samp>[[#runmacro|runmacro]]</samp> command:
+
 
# Create a text file in the [[Modding:Player Guide/Getting Started#Find your game folder|game folder]] (with a <samp>.txt</samp> extension).
+
===Items & money===
# Type commands in this file, one command per line. Each command should start with a slash character (<samp>/</samp>), but should not include <code>debug </code>.
+
{| class="wikitable"
# To run the macro, type <code>debug runmacro &lt;filename&gt;</code> in the SMAPI console, replacing <samp>&lt;filename&gt;</samp> with the name of your command file without the <samp>.txt</samp> extension.
+
|-
 
+
! command
For example, let's say you have a <code>quickstart.txt</code> file with these commands:
+
! description
<pre>
+
! &nbsp;
/backpack 12
+
|-
/Money 10000
+
{{/cmd
/levelup 0 1
+
  |command = list_items
/weapon 5
+
  |params  = {{o|S:search text}}
</pre>
+
  |desc    = Shows a list of every item in the game (including those added by mods). The optional search text limits results to those which have all of the search words somewhere in their ID + type + name.
 
+
 
Entering <code>debug runmacro quickstart</code> in the SMAPI console will 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: <samp>Money</samp> is capitalized in this example because if it is all lowercase it triggers a [[Secrets#Chat|special chat response]] instead of executing the command.)
+
  |example =
 
+
<pre>
==Commands==
+
> list_items iridum object
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.
+
 
 
+
  type |              name |  id
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>
+
Object |      Iridium Bar |  337
* <code>friend abi 500</code>
+
Object |      Iridium Milk |  803
* <code>friend gail 500</code>
+
Object |      Iridium Ore |  386
 
+
Object | Iridium Sprinkler |  645
Many of the commands which accept an NPC name can also accept <samp>farmer</samp> to reference the player instead.
+
</pre>
 
+
}}
===Items and inventory===
+
{{/cmd
====General item search and spawning====
+
  |command = list_item_types
{|class="wikitable"
+
  |params  =
|-
+
  |desc    = Shows a list of item types that can be used with the <samp>list_items</samp> and <samp>player_add</samp> commands.
! command
+
 
! description
+
  |example =
! &nbsp;
+
<pre>
|-
+
> list_item_types
{{/cmd
+
 
   |command = bigitem,big,bi,b
+
        type
   |params  = {{t|I:itemID}}
+
------------
 +
BigCraftable
 +
      Boots
 +
    Clothing
 +
    Flooring
 +
  Furniture
 +
        Hat
 +
      Object
 +
        Ring
 +
        Tool
 +
  Wallpaper
 +
      Weapon
 +
</pre>
 +
}}
 +
{{/cmd
 +
  |command = player_add name
 +
  |params  = {{t|S:item name}}, {{o|I:count}}, {{o|I:quality}}
 +
  |desc    = Adds an item to your inventory based on its name.
 +
 
 +
Parameters:
 +
* {{t|S:item name}} is the default or translated item name to spawn.
 +
* {{o|I:count}} is how many items to add to your inventory (defaults to 1).
 +
* {{o|I:quality}} is the quality of the item to create (defaults to normal). This can be one of <samp>0</samp> (normal), <samp>1</samp> (silver), <samp>2</samp> (gold), or 4 (<samp>iridium</samp>).
 +
  |example = <code>player_add name "Galaxy Sword"</code> will create a Galaxy Sword.; <code>player_add name "Stir Fry" 10 4</code> will create 10 iridium-quality [[Stir Fry|stir fry]] dishes.
 +
}}
 +
{{/cmd
 +
  |command = player_add
 +
  |params  = {{t|S:item type}}, {{t|I:item ID}}, {{o|I:count}}, {{o|I:quality}}
 +
  |desc    = Adds an item to your inventory based on its type and ID.
 +
 
 +
Parameters:
 +
* {{t|S:item type}} is one of <samp>BigCraftable</samp>, <samp>Boots</samp>, <samp>Clothing</samp>, <samp>Flooring</samp>, <samp>Furniture</samp>, <samp>Hat</samp>, <samp>Object</samp>, <samp>Ring</samp>, <samp>Tool</samp>, <samp>Wallpaper</samp>, or <samp>Weapon</samp>.
 +
* {{t|I:item ID}} is the integer item ID (as shown by the <samp>list_items</samp> command).
 +
* {{o|I:count}} is how many items to add to your inventory (defaults to 1).
 +
* {{o|I:quality}} is the quality of the item to create (defaults to normal). This can be one of <samp>0</samp> (normal), <samp>1</samp> (silver), <samp>2</samp> (gold), or 4 (<samp>iridium</samp>).
 +
  |example = <code>player_add object 246</code> will create a [[Wheat Flour]] item.;<code>player_add object pufferfish 10 4</code> would create 10 iridium-quality [[pufferfish]].
 +
}}
 +
{{/cmd
 +
  |command = player_setmoney
 +
  |params  = {{t|I:amount}}
 +
  |desc    = Changes the player's total money to the given amount of gold.
 +
  |example = <code>player_setmoney 5000</code> will change your total money to 5000g.
 +
}}
 +
|}
 +
 
 +
===Player===
 +
{| class="wikitable"
 +
|-
 +
! command
 +
! description
 +
! &nbsp;
 +
|-
 +
{{/cmd
 +
  |command = player_changecolor
 +
  |params  = {{t|S:feature}}, {{t|S:color}}
 +
  |desc    = Sets a color for your character's sprite.
 +
 
 +
Parameters:
 +
* {{t|S:feature}} is one of <samp>hair</samp>, <samp>eyes</samp>, or <samp>pants</samp>.
 +
* {{t|S:color}} is an RGB color, specified as three comma-separated channels from 0 (no color) to 255 (max color).
 +
 
 +
  |example = <code>player_changecolor eyes 255,0,0</code> would make your character's eyes red.
 +
}}
 +
{{/cmd
 +
  |command = player_changestyle
 +
  |params  = {{t|S:target}}, {{t|I:style ID}}
 +
  |desc    = Sets a style for your character's sprite.
 +
 
 +
Parameters:
 +
* {{t|S:target}} is the part of the player's style to change. This is one of <samp>hair</samp>, <samp>shirt</samp>, <samp>skin</samp>, <samp>acc</samp> (accessory), <samp>shoe</samp>, <samp>swim</samp> (whether the player is wearing a swim suit), or <samp>gender</samp>.
 +
* {{t|I:style ID}} is the integer ID for the style to use. For <samp>swim</samp>, this can be <samp>0</samp> (not in a swim suit) or <samp>1</samp> (in a swim suit). For <samp>gender</samp>, this can be <samp>0</samp> (male) or <samp>1</samp> (female).
 +
 
 +
  |example = <code>player_setstyle swim 1</code> would change the player into their swim suit.
 +
}}
 +
{{/cmd
 +
  |command = player_sethealth
 +
  |params  = {{t|I:amount}}
 +
  |desc    = Sets the player's current [[health]].
 +
  |example = <code>player_sethealth 200</code> would give you 200 health points.
 +
}}
 +
{{/cmd
 +
  |command = player_setimmunity
 +
  |params  = {{t|I:amount}}
 +
  |desc    = Sets the player's total [[immunity]]. This is permanent and is affected by immunity buffs. For example, if you set immunity 10 while [[Genie Shoes]] (+6 immunity) are equipped, removing the shoes would set your immunity to 4 (10 - 6). You can reset immunity to normal by removing everything that improves immunity, then entering <code>player_setimmunity 0</code>.
 +
  |example = <code>player_setimmunity 10</code> would you 10 immunity points, or a 100% chance of avoiding buff effects.
 +
}}
 +
{{/cmd
 +
  |command = player_setmaxhealth
 +
  |params  = {{t|I:amount}}
 +
  |desc    = Sets the player's maximum [[health]]. This permanently changes the baseline; for example, if you set your max health to 500 and then drink [[Iridium Snake Milk]], your max health will increase to 525.
 +
  |example = <code>player_setmaxhealth 500</code> would give you a maximum of 500 health points.
 +
}}
 +
{{/cmd
 +
  |command = player_setmaxstamina
 +
  |params  = {{t|I:amount}}
 +
  |desc    = Sets the player's maximum [[energy|stamina]]. This permanently changes the baseline; for example, if you set your max stamina to 300 and then collect a [[Stardrop]], your max stamina will increase to 334.
 +
  |example = <code>player_setmaxhealth 500</code> would give you a maximum of 500 health points.
 +
}}
 +
{{/cmd
 +
  |command = player_setname
 +
  |params  = {{t|S:target}},{{t|S:name}}
 +
  |desc    = Sets the name of the current player or their farm, depending on the {{t|S:target}} value (<samp>player</samp> or <samp>farm</samp>).
 +
  |example = <code>player_setname player Malon</code> would change your player name to Malon.;<code>player_setname farm "Lon Lon"</code> would change your farm name to Lon Lon Farm.
 +
}}
 +
{{/cmd
 +
  |command = player_setstamina
 +
  |params  = {{t|I:amount}}
 +
  |desc    = Sets the player's current [[energy|stamina]].
 +
  |example = <code>player_setstamina 200</code> would give you 200 stamina points.
 +
}}
 +
|}
 +
 
 +
===World===
 +
{| class="wikitable"
 +
|-
 +
! command
 +
! description
 +
! &nbsp;
 +
|-
 +
{{/cmd
 +
  |command = hurry_all
 +
  |params  =
 +
  |desc    = Immediately warps all NPCs to their scheduled positions. (To hurry a single NPC, use [[#Debug commands|<samp>debug hurry npc-name</samp>]] instead.)
 +
  |example =
 +
}}
 +
{{/cmd
 +
  |command = set_farm_type list
 +
  |params  =
 +
  |desc    = Shows a list of farm types you can use with the <samp>set_farm_type</samp> command.
 +
  |example =
 +
}}
 +
{{/cmd
 +
  |command = set_farm_type
 +
  |params  = {{t|S:farm type}}
 +
  |desc    = Sets the player's current [[Farm Maps|farm type]], where {{t|I:farm type}} is one of <samp>0</samp> (standard), <samp>1</samp> (riverlands), <samp>2</samp> (forest), <samp>3</samp> (hilltop), <samp>4</samp> (combat), <samp>5</samp> (four corners), <samp>6</samp> (beach), or a custom farm type ID. You can enter <code>set_farm_type list</code> for a list of valid farm type IDs.
 +
  |example = <code>set_farm_type 1</code> will set the farm type to riverlands.
 +
}}
 +
{{/cmd
 +
  |command = world_clear
 +
  |params  = {{t|S:location}},{{t|S:entity type}}
 +
  |desc    = Removes all entities of the given type from a location.
 +
 
 +
Parameters:
 +
* {{t|S:location}} is the [[Modding:Location data|internal name for a location]], or <samp>current</samp> for the one you're in.
 +
* {{t|S:entity type}} is one of <samp>crops</samp>, <samp>debris</samp>, <samp>fruit-trees</samp>, <samp>furniture</samp>, <samp>grass</samp>, <samp>trees</samp>, <samp>removable</samp> (everything that can be removed or destroyed during normal gameplay), or <samp>everything</samp> (everything including permanent bushes).
 +
  |example = <code>world_clear current debris</code> will remove all debris (sticks, stones, and small plants).
 +
}}
 +
{{/cmd
 +
  |command = world_downminelevel
 +
  |params  =
 +
  |desc    = Goes down one mine level. If you're not in the mines, warps you to the first mine level.
 +
  |example =
 +
}}
 +
{{/cmd
 +
  |command = world_freezetime
 +
  |params  = {{t|I:action}}
 +
  |desc    = Freezes or resumes the time. The {{o|I:action}} can be <samp>0</samp> (resume time) or <samp>1</samp> (freeze time); if omitted, time is toggled.
 +
  |example =
 +
}}
 +
{{/cmd
 +
  |command = world_setday
 +
  |params  = {{t|I:day}}
 +
  |desc    = Sets the day of month.
 +
  |example = <code>world_setday 30</code> will set the date to the 30th of the current season.
 +
}}
 +
{{/cmd
 +
  |command = world_setminelevel
 +
  |params  = {{t|I:mine level}}
 +
  |desc    = Warps you to the given mine level. This can be the [[The Mines|regular mines]] (levels 1&ndash;120), [[Skull Cavern]] (121+), or [[Quarry Mine]] (77377).
 +
  |example = <code>world_setminelevel 80</code> warps to mine level 80.
 +
}}
 +
{{/cmd
 +
  |command = world_setseason
 +
  |params  = {{t|S:season}}
 +
  |desc    = Sets the season (one of <samp>spring</samp>, <samp>summer</samp>, <samp>fall</samp>, or <samp>winter</samp>).
 +
  |example = <code>world_setseason spring</code> will set the season to spring.
 +
}}
 +
{{/cmd
 +
  |command = world_settime
 +
  |params  = {{t|I:time}}
 +
  |desc    = Sets the time of day, using the game's 26-hour time format (from 0600 for 6am at the start of day, to 2600 for 2am at the end of day).
 +
  |example = <code>world_settime 1430</code> will set time to 2:30pm.
 +
}}
 +
{{/cmd
 +
  |command = world_setyear
 +
  |params  = {{t|I:year}}
 +
  |desc    = Sets the year number.
 +
  |example = <code>world_setyear 10</code> will set the the game to the 10th year.
 +
}}
 +
|}
 +
 
 +
===Other===
 +
{| class="wikitable"
 +
|-
 +
! command
 +
! description
 +
! &nbsp;
 +
|-
 +
{{/cmd
 +
  |command = harmony_summary
 +
  |params  = {{o|S:search}}
 +
  |desc    = Lists the [[Modding:Modder Guide/APIs/Harmony|Harmony patches]] added by SMAPI and other mods. If {{o|S:search}} is given, only patched method names matching any of the search terms will be listed.
 +
  |example = <code>harmony_summary MeleeWeapon</code> will list patches which affect the <samp>MeleeWeapon</samp> class in the game code.
 +
}}
 +
{{/cmd
 +
  |command = help
 +
  |params  = {{o|S:command name}}
 +
  |desc    = Provides documentation for console commands. If called without an argument, shows general help text and a list of available commands. If called with a command name, shows the documentation for that command.
 +
  |example =
 +
}}
 +
{{/cmd
 +
  |command = reload_i18n
 +
  |params  =
 +
  |desc    = Reload [[Modding:Translations|translation files]] for all mods. This is mainly useful when translating mods. (Note that if a mod caches the text, it may show the old version until it updates.)
 +
  |example =
 +
}}
 +
{{/cmd
 +
  |command = show_data_files
 +
  |params  =
 +
  |desc    = Opens the folder containing the save and log files.
 +
  |example =
 +
}}
 +
{{/cmd
 +
  |command = show_game_files
 +
  |params  =
 +
  |desc    = Opens the [[Modding:Game folder|game folder]].
 +
  |example =
 +
}}
 +
{{/cmd
 +
  |command = test_input
 +
  |params  =
 +
  |desc    = Logs the [[Modding:Player Guide/Key Bindings|key codes]] for all button presses to the console for 30 seconds.
 +
  |example =
 +
}}
 +
|}
 +
 
 +
===Advanced===
 +
⚠️ These may corrupt or make permanent changes to your save. DO NOT USE THESE unless you're absolutely sure.
 +
 
 +
{| class="wikitable"
 +
|-
 +
! command
 +
! description
 +
! &nbsp;
 +
|-
 +
{{/cmd
 +
  |command = apply_save_fix
 +
  |params  = {{t|S:fix ID}}
 +
  |desc    = Applies one of the game's save migrations to the currently loaded save. Parameters:
 +
* {{t|s:fix ID}} is the unique identifier for the save fix to apply. You can specify <samp>list</samp> to show a list of save fix IDs.
 +
 
 +
  |example = <code>apply_save_fix list</code> would show a list of save fixes.;<code>apply_save_fix AddCampfireKit</code> would add [[Cookout Kit]] to the player's crafting recipes if they meet the requirements for it.
 +
}}
 +
{{/cmd
 +
  |command = debug
 +
  |params  = {{t|*:command text}}
 +
  |desc    = Executes one of the game's debug commands. See [[#Debug commands|''debug commands'']] below for more info.
 +
  |example =
 +
}}
 +
{{/cmd
 +
  |command = regenerate_bundles
 +
  |params  = {{o|S:type}} {{o|*:flags}}
 +
  |desc    = Regenerates your community center bundle data. This will '''reset all bundle progress''', and may have unintended effects if you've already completed bundles. Parameters:
 +
* {{o|S:type}}: the bundle type that will be generated (defaults to the current bundle type). Possible values: [[Bundles|<samp>Default</samp>]] or [[Remixed Bundles|<samp>Remixed</samp>]].
 +
* <samp>confirm</samp>: confirms that you're aware of the potential consequences. Running <samp>regenerate_bundles</samp> without this option will show a warning message instead.
 +
* <samp>ignore_seed</samp> (''optional''): if the type is <samp>Remixed</samp>, causes remixed bundles to be re-randomized without using the save seed.
 +
  |example = <code>regenerate_bundles confirm</code> will regenerate bundles using the save's current settings.;<code>regenerate_bundles remixed ignore_seed confirm</code> will regenerate using randomized [[Remixed Bundles|remixed bundles]].
 +
}}
 +
|}
 +
 
 +
==Debug commands==
 +
<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>
 +
 
 +
===How to enter debug commands===
 +
The game itself has hundreds of hidden debug commands used to test the game. These [[#Console commands|require the Console Commands mod]] too, but '''every command should be prefixed with <code>debug</code>''' like this:
 +
<pre>
 +
debug where Robin
 +
> Robin is at Farm, 21,4
 +
</pre>
 +
 
 +
The example above returned output, but many commands don't. If there's no output, SMAPI will say ''Sent debug command to the game, but there was no output''.
 +
 
 +
===Macros===
 +
Instead of entering each command directly into the SMAPI console, you can also use the <samp>[[#runmacro|debug runmacro]]</samp> command to a list of debug commands from a text file. (This doesn't work with the non-debug commands.) Here's how to use it:
 +
 
 +
# Create a text file in [[Modding:Player Guide/Getting Started#Find your game folder|your game folder]] (with a <samp>.txt</samp> extension).
 +
# Type commands in this file, one command per line. Each command should start with a slash character (<samp>/</samp>), but should not include <code>debug </code>.
 +
# To run the macro, type <code>debug runmacro &lt;filename&gt;</code> in the SMAPI console, replacing <samp>&lt;filename&gt;</samp> with the name of your command file without the <samp>.txt</samp> extension.
 +
 
 +
For example, let's say you have a <code>quickstart.txt</code> file with these commands:
 +
<pre>
 +
/backpack 12
 +
/Money 10000
 +
/levelup 0 1
 +
/weapon 5
 +
</pre>
 +
 
 +
Entering <code>debug runmacro quickstart</code> in the SMAPI console will 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: <samp>Money</samp> is capitalized in this example because if it is all lowercase it triggers a [[Secrets#Chat|special chat response]] instead of executing the command.)
 +
 
 +
===Items and inventory===
 +
====General item search and spawning====
 +
{| class="wikitable"
 +
|-
 +
! command
 +
! description
 +
! &nbsp;
 +
|-
 +
{{/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.
 
   |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]].
 
   |example = <code>debug bigitem 12</code> would give you a [[keg]].
Строка 122: Строка 429:     
====Backpack and inventory====
 
====Backpack and inventory====
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 158: Строка 465:     
====Clothing and tailoring====
 
====Clothing and tailoring====
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 221: Строка 528:     
====Tools and weapons====
 
====Tools and weapons====
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 292: Строка 599:     
====Wallet items====
 
====Wallet items====
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 326: Строка 633:     
====Miscellaneous items====
 
====Miscellaneous items====
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 353: Строка 660:  
===Player===
 
===Player===
 
====Appearance====
 
====Appearance====
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 391: Строка 698:     
====Health, stamina, buffs, and currency====
 
====Health, stamina, buffs, and currency====
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 460: Строка 767:     
====Movement and warping====
 
====Movement and warping====
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 520: Строка 827:     
====Skills and XP====
 
====Skills and XP====
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 561: Строка 868:     
====Statistics and achievements====
 
====Statistics and achievements====
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 636: Строка 943:  
===Collections and quests===
 
===Collections and quests===
 
====Cooking and crafting====
 
====Cooking and crafting====
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 673: Строка 980:     
====Fishing, museum, and secret notes====
 
====Fishing, museum, and secret notes====
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 712: Строка 1019:     
====Mail====
 
====Mail====
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 759: Строка 1066:     
====Quests and Special Orders====
 
====Quests and Special Orders====
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 825: Строка 1132:  
===NPCs===
 
===NPCs===
 
====Children====
 
====Children====
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 850: Строка 1157:     
====Spawning and removal====
 
====Spawning and removal====
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 891: Строка 1198:     
====Relationships====
 
====Relationships====
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 949: Строка 1256:     
====Dialogue====
 
====Dialogue====
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 994: Строка 1301:     
====Movement and warping====
 
====Movement and warping====
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 1049: Строка 1356:     
====Farm animals====
 
====Farm animals====
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 1108: Строка 1415:     
====Pets, horses, and monsters====
 
====Pets, horses, and monsters====
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 1157: Строка 1464:     
===Festivals and events===
 
===Festivals and events===
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 1222: Строка 1529:     
===Minigames and cutscenes===
 
===Minigames and cutscenes===
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 1279: Строка 1586:  
===Locations===
 
===Locations===
 
====Terrain, trees, and crops====
 
====Terrain, trees, and crops====
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 1380: Строка 1687:     
====Objects and lights====
 
====Objects and lights====
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 1426: Строка 1733:     
====Farm buildings====
 
====Farm buildings====
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 1464: Строка 1771:     
====Farmhouse====
 
====Farmhouse====
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 1503: Строка 1810:     
====Special farm setups====
 
====Special farm setups====
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 1539: Строка 1846:     
====Community center and bundles====
 
====Community center and bundles====
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 1612: Строка 1919:     
====Other location-specific functions====
 
====Other location-specific functions====
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 1672: Строка 1979:  
===World===
 
===World===
 
====Date and time====
 
====Date and time====
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 1718: Строка 2025:     
====Weather and world state====
 
====Weather and world state====
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 1744: Строка 2051:     
===Game settings and meta info===
 
===Game settings and meta info===
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 1806: Строка 2113:  
===Multiplayer===
 
===Multiplayer===
 
====General multiplayer====
 
====General multiplayer====
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 1832: Строка 2139:     
====Logging====
 
====Logging====
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 1857: Строка 2164:     
====Player relationships====
 
====Player relationships====
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 1878: Строка 2185:     
====Shared/split money====
 
====Shared/split money====
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 1900: Строка 2207:  
===Audio and visual effects===
 
===Audio and visual effects===
 
====Animations====
 
====Animations====
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 1947: Строка 2254:     
====Camera, lighting, and effects====
 
====Camera, lighting, and effects====
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 2004: Строка 2311:     
====Audio====
 
====Audio====
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 2025: Строка 2332:     
===Outdated, unimplemented, or unknown===
 
===Outdated, unimplemented, or unknown===
{|class="wikitable"
+
{| class="wikitable"
 
|-
 
|-
 
! command
 
! command
Строка 2065: Строка 2372:  
}}
 
}}
 
|}
 
|}
 +
 +
==See also==
 +
* [[Modding:Modder Guide/APIs/Console]] to add custom commands from a SMAPI mod.
 +
 +
[[Category:Модификации]]
 +
 
[[en:Modding:Debug_commands]]
 
[[en:Modding:Debug_commands]]
[[Category:Модификации]]
 

Навигация