Stonehearth Console Commands And Cheats
Find all of the console commands and cheat codes in Stonehearth in this list.
By Titus D’souza On Jun 30, 2021

Stonehearth Console Commands and cheats help you get rewards and items in the game without having to put in a lot of efforts. In this article, we will show you all the console commands as well as how to enable and activate them.
All Stonehearth Console Commands & Cheats 2021

Check out the list of console commands below:
- query_pf – Entering this command in Stonehearth will run the query pathfinder command without any arguments.
- toggle_profile_long_ticks – Entering this command in Stonehearth enables or disables the per-game-tick profiling of the LUA code.
- collect_cpu_profile – Entering this command in Stonehearth results in the collection of a LUA code profile for the particular duration. This duration is in ms, and its default is 30s. Used as : collect_cpu_profile 150000
- get_cost – Entering this command will give you the cost of the building you selected, or arg 0. Used as : get_cost object: //game/12345
- world_seed – Entering this command returns the current world’s world seed. Used as : world_seed
- get_game_mode – Entering this command will display the game mode of the current game. The mode can be either peaceful or normal.
- set_time – Entering this command will set the game time to the time passed in. Used as : set_time 1:25PM
- reset – Entering this command will reset the location of the entity to a proper one on the ground. Used as : reset
- world_seed – Entering this command will return the world seed of the current world. Used as : world_seed
- dump_inaccessible_items – Entering this command will result in the dumping of all towm inventory items that aren’t in storage. It will also dump items that are not in the world. The items will be dumped around the town banner.
- set_blink – Entering this command enables your hearthlings to move a little quicker.
- spawn_effect – Entering this command will result in the spawning of an effect on the selected entity. You will also have the option to loop the effect for an indefinite period of time. You can add a delay in between the spawn loops (in ms). Used as spawn_effect/stonehearth/data/effects/level_up true 1000
- teleport – Entering this command teleports the entity you have selected or passed in the entity id. This command displays a UI to enable selection of a location. Used as teleport 12345
- set_amenity – Entering this command will result in a change in the player’s relationship or amenity with the faction of the selected entity (can be friendly, neutral or hostile). Used as : set_amenity hostile
- destroy_scaffolding – Entering this command will destroy the scaffolding of a selected building, or arg 0. Used as : destroy_scaffolding object://game/12345
- add_exp – Entering this command in Stonehearth will add experience points to job of the presently-selected entity.
- add_gold – Entering this command will add gold to the inventory of the current player. If you enter a negative value, the gold will subtract. Used as : add_gold 1000
- set_game_speed – Entering this command will set the speed of the game to your specified amount multiplied with the default game speed. Used as : set_game_speed 5
- set_attr – Entering this command will set the attribute for the selected entity to a specific value. Used as : set_attr health 10
- set – Entering this command sets the attribute of a selected entity to a specific value. Used as : set health 10
- change_score – Entering this command will change a specified score on the selected entity by a specific amount. Used as : change_score nutrition -10
- reset_location – Entering this command results in the location of an entity being reset to a proper location on the ground. Used as reset_location
- destroy_all – Entering this command in Stonehearth results in the destruction of all the entities that have the same url as the selected entity. To use this command, you first need to open the Entity Tracker.
- dump_cache_stats – Entering this command will display spatial cache stats.
- dump_trace_stats – Entering this command will result in the dumping of a table with all tracked server and client memory.
- print_ai_stack – Entering this command prints the current coroutine stack trace of the ai.
- dump_memory_stats – Entering this command in Stonehearth will result in the dumping of a table with all tracked server and client memory.
- select_storage – Entering this command will select the storage that contains the selected entity, if it has one.
- add_buff – Entering this command will add your specified buff uri to the entity that has been currently selected. Used as : add_buff stonehearth:buffs:starving
- reset_scores – Entering this command will reset the scores of the selected entity to their starting values. Used as : reset_scores
- make_hungry – Entering this command will make your selected entity hungry if it has the calorie attribute. Used as : make_hungry
- make_full – Entering this command will make your selected entity full if it has the calorie attribute. Used as : make_full
- get_entity_info – Entering this command will let you acquire all information about an entity even if it has been destroyed. Used as : get_entity_info 82215
- reproduce – Entering this command in Stonehearth after selecting a pasture forces that pasture to reproduce an animal. Used as : reproduce
- grow – Entering this command tells your selected entity to grow. For example, you can use this command to make a lamb grow into a sheep. Used as : grow
- renew – Entering this command will make the selected entity renew its source. Can be used to make sheep grow wool again. Used as : renew
How to Enable Cheat Codes?
To start entering commands in Stonehearth, press Ctrl + C. This will enable you to type a command. You also have the option to select an item and enter the command.
These were the console commands for Stonehearth. If you liked this article, check out the cheats and commands for other games.
Stonehearth: Console Commands (Cheat Codes)

In Stonehearth, you pioneer a living world full of warmth, heroism, and mystery. Help a small group of settlers build a home for themselves in a forgotten land. You’ll need to establish a food supply, build shelter, defend your people, monitor their moods, and find a way to grow and expand, facing challenges at every step.
The heart of the game is city building and management. When you’re just starting out, you’ll need to juggle tasks like obtaining a sustainable food supply, building shelter, and defending your fledgling settlement from raiders and other threats.
Stonehearth Console Commands
Press Ctrl + C and select the item and enter command, or just type a command.
get_cost – Get the cost of the selected building, or arg 0. Usage: get_cost object://game/12345
query_pf – Runs the query pathfinder command. No arguments.
collect_cpu_profile – Collects a profile of the LUA code for the specified duration, in ms. Default is 30s. Usage: collect_cpu_profile 150000
toggle_profile_long_ticks – Enables/disables per-game-tick profiling of the LUA code (recorded whenever lua evaluation takes more than a game tick.)
set_time – Sets the game time to the time passed in. Usage: set_time 1:25PM
world_seed – Returns the world seed of the current world. Usage: world_seed
reset – Resets the entity’s location to a proper one on the ground. Usage: reset
get_game_mode – Displays the game mode of the current game. Usually either peaceful or normal
set_blink – Make your hearthlings move a little bit faster….
dump_inaccessible_items – Dumps all the items in a town’s inventory that are not in the world or in storage. These items will be dumped around the town banner.
teleport – Teleports the selected entity, or the passed in entity id. Will bring up a UI to select a location Usage: teleport 12345
spawn_effect – Spawns an effect on the selected entity, with the option to loop the effect indefinitely. Can add a delay between spawn loops (in ms). Usage: spawn_effect /stonehearth/data/effects/level_up true 1000
set_amenity – Changes player amenity/relationship with the selected entity’s faction (friendly, neutral, or hostile). Usage: set_amenity hostile
destroy_scaffolding – Destroys the scaffolding for the selected building, or arg 0. Usage: destroy_scaffolding object://game/12345
add_gold – Adds gold to the current player’s inventory. A negative value will subtract gold. Usage: add_gold 1000
add_exp – Adds experience points to the currently selected entity’s job. If no exp amount is given, will level up to the next level. Usage: add_exp 1000
set_attr – Sets the attribute on the selected entity to the specified value. Usage: set_attr health 10
set – Sets the attribute on the selected entity to the specified value. Usage: set health 10
set_game_speed – Sets the game speed to the default game speed multiplied by the specified amount. Usage: set_game_speed 5
reset_location – Resets the entity’s location to a proper one on the ground. Can also pass in a new location. Usage: reset_location
change_score – Changes the specified score on the selected entity by the specified amount. Usage: change_score nutrition -10
reset_scores – Resets all the scores on the selected entity to their starting values. Usage: reset_scores
add_buff – Add the specified buff uri to the currently selected entity. Usage: add_buff stonehearth:buffs:starving
add_thought – Add the specified thought key (format is mod_name:thoughts:category. ) to the currently selected entity. Usage: add_thought stonehearth:thoughts:hunger:hungry
remove_thought – Remove the specified thought key (format is mod_name:thought_type:category:name) from the currently selected entity. Usage: remove_thought stonehearth:thoughts:hunger:hungry
set_happiness – Sets the current happiness of the currently selected entity.
remove_buff – Remove the specified buff uri from the currently selected entity. Usage: remove_buff stonehearth:buffs:starving
promote_to – Instantly promote the selected hearthling to the specified job. Usage: promote_to footman
add_citizen – Add a new hearthling to your town. Usage: add_citizen opt_promote_to
dump_backpack – Instantly drops on to the ground all items in the selected hearthling’s backpack. Usage: dump_backpack
show_untranslated – Use to display untranslated strings with *** around them. Usage: show_untranslated true/false
hot_reload – Clears the json cache so that changed json files on the client will reload again. Usage: hot_reload
add_journal – Force add a journal entry for the selected hearthling. Usage: add_journal dreams
reproduce – Select a pasture and force that pasture to reproduce an animal. Usage: reproduce
grow – Tells the selected entity to grow. Either farm crops or animals Ex: Make a lamb grow into a sheep. Usage: grow
renew – Tells the selected entity to renew its resource. Ex: Make sheep grow wool again or depleeted silkweed grow. Usage: renew
show_item_ids – Makes it so item palettes will show a list of all the item ids in its list of items. Usage: show_item_ids
decay – Make a food decay immediately. Usage: decay
get_entity_info – Return info about an entity, even if the entity has been destroyed. Pass in id of the entity. Usage: get_entity_info 82215
get_score – Get the town’s score for specified score type. Usage: get_score military_strength
make_hungry – Makes the selected entity hungry if the entity has the calories attribute. The entity will try to eat if it has a calorie observer. Usage: make_hungry
make_full – Makes the selected entity full if the entity has the calories attribute. If no entity selected, sets attribute to every citizen in your town. Usage: make_full
make_sleepy – Makes the selected entity exhaustedly sleepy if the entity has the sleepiness attribute. The entity will try to sleep if it has a sleepiness observer. Usage: make_sleepy
hotload_manifest – hot load a manifest
load_entity_tracker – Tells the debugtools entity tracker to load up all the entities. you can then inspect them in the object browser after typing ‘debugtools’
make_hostile – Makes the player hostile with the selected entity’s faction
make_neutral – Makes the player hostile with the selected entity’s faction
make_friendly – Makes the player hostile with the selected entity’s faction
destroy_immediately – Destroy an entity immediately. Might not run other code that normally runs when someone is killed, like drop loot, etc. Arg 0 is id of the entity. If no argument is provided, destroys the currently selected entity. Usage: destroy_immediately 12345
destroy_npc_stockpiles – Destroys stockpiles of the npc player (Arg 0). If no argument is provided, destroys stockpiles of all npcs. Usage: destroy_npc_stockpiles goblins
release – releases the pet in a bait trap
get_global_vision – Returns list of all objects in global vision of the caller’s population
get_current_interaction – Gets current interaction of selected entity
ai_reconsider – Calls reconsider on the selected entity
fill_storage – Fills the selected storage with the specified uri. If no uri specified, defaults to oak logs. Usage: fill_storage stonehearth:resources:wood:oak_log
now – Returns radiant.gamestate.now()
spawn_encounter – Spawns the encounter specified. WARNING: Only for testing purposes, may cause lasting issues if game is saved after using cmd. Arguments should be: campaign, encounter, arc. Usage: spawn_encounter ambient_threats create_necromancer_crypt trigger
increase_city_tier – Increases the city tier of the settlement by 1
fixup_components – If there are any components missing on this entity, we will attempt to add them
select_storage – Select’s the storage that contains the entity, if it has one.
unlock – Manually unlocks the given crop or recipe for the given job. Example usage: unlock pumpkin stonehearth:jobs:farmer
toggle_select_building_subpart – Manually unlocks the given crop or recipe for the given job. Example usage: unlock pumpkin stonehearth:jobs:farmer
print_ai_stack – prints the ai’s current coroutine stack trace
dump_cache_stats – Displays spatial cache stats.
dump_memory_stats – Dumps a table of all tracked client and server memory
dump_trace_stats – Dumps a table of all tracked client and server memory
destroy_all – Destroy all entities with the same uri as the selected entity. Note: Must load up the Entity Tracker first.
Советы и хитрости
Еда- очень важный ресурс. поэтому я приведу способ увеличения производительности ферм, при сохранении их размера. Для опыта используется редиска.
Вот стандартная грядка 10 на 10 клеток
На картинке для примера дана стандартная грядка «10 на 10». Как вы можете заметить, грядки чередуются. Если посчитать количество редисок на занятых грядках то мы получим 50 редисок. Незнаю как вас, а меня данный результат не устраивает! поэтому вот вам один маленький трюк.
Для его осуществления делаем грядки как на экране. Не сразу и полностью, а по одной линии. тогда пустых зон как на прошлой картинке не будет, и мы получим вот это.
А вот улучшенная грядка 10 на 10.
Как можно заметить грядка стала гораздо плотнее и теперь при том же размере 10 на 10 на ней растёт в два раза больше редиски. 50 на 2 = 100!
Вот так можно получить вдвое больше еды с обычных грядок. Правда есть один маленький недостаток. если вам нужно будет перенести ферму сделанную таким способом то вы потратите на это немного больше времени.
P.S. На поздних этапах игры (20 и больше жителей) имеет слишком «большую производительность, что приводит к засорению склада.
Кровать, ящики и прочее [ ]
На старте да вообще в течении игры нужно снабжать людей кроватями, лучше всего это делать в просторных комнатках минимум 8 на 8 блоков для избежания дебафа, но на старте можно изготовить одну или две кровати и поставить их в любом удобном месте и житель по наступлению ночи отдыхали и быстрее восстанавливали силы(не забывайте назначить кровати жителям). Так же чтобы не хранить множество предметов на земле делайте ящики, сундуки, шкафы и корзинки, это выглядит приятнее и занимает меньше места, а так же удобнее для производящих профессий.
Семена [ ]
На старте и в течении игры могут быть получены тех или иных растений, их можно использовать, посадив в удобном месте, для получения дополнительных ресурсов не имея потокового производства(саженцы дуба/можжевельника/сосны, кусты ягод, лён и пеларгония)
Фича с ландшафтом [ ]
Можно использовать острова или уровни ландшафта, что бы избежать натиска врагов или каких либо событий. Если просто поставить стартовый костёр к стыку смены уровня ландшафта, то большинство врагов будут появляться со смещением, что даст некоторое преимущество и облегчит игру на высоких и очень высоких сложностях(мод)
Как убрать ограничение на количество товаров на складах.
Лёгкий способ убрать ограничение на общее количество ресурсов, которое может поместиться в ваших контейнерах и складах.
Преамбула
При развитии города и преодолении планки 25+ человек, частенько сталкиваюсь с проблемой, товары перестают производиться – для них кончается место на складе. Увеличение количества складов и ящиков не даст решительно никакого результата – ограничение останется. С увеличением населения это лимит увеличится, но производство будет набирать обороты гораздо быстрее, нежели будут приходить новые люди. Особенно за 25+ населения. В такие моменты у вас не будут достраиваться здания и вооружаться воины, ведь всем нужно то окно, то дверь, то меч, а они не делаются, так как для них нет места.
В такой момент все грешат на баги, но дело не в них, а в обычном ограничении, которое можно убрать вовсе, если переписать один файл вашего клиента.
Способ
Способ предоставлен крупнейшей RU-Stonehearth группой в ВК – Stonehearth [ Первое сообщество игры ] (https://vk.com/stonehearth)
Начнём по порядку. Идёте в папку с игрой, в самый её корень. Ищите файл user_settings.json и открываете его блокнотом.
Далее в этом файле,после перечня настроек, языка, в массиве mods, в месте, как на скриншоте и вставляете строчку
“infinite_inventory” : true,
Запятая в конце нужна, это требования синтаксиса. Файл сохраняете, запускаете SH и смотрите, что во вкладке инвентаря у вас только целое число товаров, а не дробь типа “естьможно хранить” .