Client startup parameters/ru: Difference between revisions

From Vintage Story Wiki
(Created page with "<code>-h, --help</code> Распечатать справочную информацию и выйти")
(Created page with "<code>--tracelog</code> Распечатайте журнал через Trace.WriteLine(), чтобы он отображался в окне вывода.")
Line 11: Line 11:
<code>-h, --help</code> Распечатать справочную информацию и выйти
<code>-h, --help</code> Распечатать справочную информацию и выйти


<code>--tracelog</code> Print log also via Trace.WriteLine() to get it to show up in the visual studio output window
<code>--tracelog</code> Распечатайте журнал через Trace.WriteLine(), чтобы он отображался в окне вывода.


<code>-o, --openWorld</code> Opens given world. If it doesn't exist it will be created
<code>-o, --openWorld</code> Opens given world. If it doesn't exist it will be created

Revision as of 13:50, 24 January 2022

Эта страница проверялась в последний раз для версии Vintage Story 1.15.


Чтобы получить список всех реализованных на данный момент параметров запуска, перейдите в директорию с игрой и вызовите VintageStory.exe --help. Параметры с несколькими значениями могут быть предоставлены со значениями, разделенными пробелом, например: VintageStory.exe --addModPath="path/to/dir1" "path/to/dir2"

В настоящее время реализованы параметры запуска:

-v, --version Распечатать версию игры и выйти

-h, --help Распечатать справочную информацию и выйти

--tracelog Распечатайте журнал через Trace.WriteLine(), чтобы он отображался в окне вывода.

-o, --openWorld Opens given world. If it doesn't exist it will be created

-c, --connect Connect to given server

--pw Password for the server (if any)

--rndWorld Creates a new world with a random name. Use -p modifier to set playstyle

-p, --playStyle (Default: creativebuilding) Used when creating a new world. Possible values are "creativebuilding", "preset-surviveandbuild", "preset-exploration", and "preset-wildernesssurvival"

--dataPath Set a custom data path, default is Environment.SpecialFolder.ApplicationData

--logPath Default logs folder is in dataPath/Logs/. This option can only set an absolute path.

--addOrigin Tells the asset manager to also load assets from this path

--addModPath Tells the mod loader to also load mods from this path

Icon Sign.png

Wondering where some links have gone?
The modding navbox is going through some changes! Check out Navigation Box Updates for more info and help finding specific pages.

Modding
Modding Introduction Getting Started Пакет тем
Content Modding Content Mods Developing a Content Mod Basic Tutorials Intermediate Tutorials Advanced Tutorials Content Mod Concepts
Code Modding Code Mods Setting up your Development Environment
Property Overview ItemEntityBlockBlock BehaviorsBlock ClassesBlock EntitiesBlock Entity BehaviorsWorld properties
Workflows & Infrastructure Modding Efficiency TipsMod-engine compatibilityMod ExtensibilityVS Engine
Additional Resources Community Resources Modding API Updates Programming Languages List of server commandsList of client commandsClient startup parametersServer startup parameters
Example ModsAPI DocsGitHub Repository