FANDOM


You can access the console by pressing the Left CTRL + C. You can use this to perform a variety of different functions.

command list:

  • help - Prints out all the registered console commands.
  • call - A generic handler to call any registered route
  • show_pathfinder_time - undefined
  • destroy - Destroy an entity. Arg 0 is ID of the entity. If no argument is provided, destroys the currently selected entity. Usage: destroy 12345
  • kill - Kill an entity, Arg 0 is id of the entity. If no argument is provided, kills the currently selected entity. Usage: kill 12345
  • select - Selects the entity with id = Arg 0. Usage: select 12345
  • get_config - Gets the configuration value from user_setting.config. Usage: get_config foo.bar.baz
  • set_config - Sets the specified configuration value. Usage: set_config foo.bar.baz {value = 1}
  • ib - Instantly builds the selected building, or arg 0. Usage: ib object://game/12345
  • im - Instantly mines the selected mining zone or arg 0. Usage: im object://game/12345
  • get_cost - Get the cost of the selected building, or arg 0. Usage: get_cost object://game/12345
  • query_pf - Runs tghe query pathfinder command. No arguments.
  • spawn_scenario - Spawns the specified scenario uri. Usage: spawn_scenario stonehearth:quests:collect_starting_resources
  • 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 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

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.