List of command-line options: Difference between revisions
Appearance
Created page with "In addition to many settings stored in config.xml, fCraft has several special options that can only be set via command-line switches: {|class="wikitable" | align="right" | <code..." |
No edit summary |
||
| Line 3: | Line 3: | ||
{|class="wikitable" | {|class="wikitable" | ||
| align="right" | <code>--path=<path></code> | | align="right" | <code>--path=<path></code> | ||
| Working path (directory) that fCraft should use. If the given path is relative, it's computed against the location of fCraft.dll | | Working path (directory) that fCraft should use. If the given path is relative, it's computed against the location of fCraft.dll. If no path is given, location of fCraft.dll is used. | ||
|- | |- | ||
| align="right" | <code>--logpath=<path></code> | | align="right" | <code>--logpath=<path></code> | ||
Revision as of 10:47, 3 February 2012
In addition to many settings stored in config.xml, fCraft has several special options that can only be set via command-line switches:
--path=<path>
|
Working path (directory) that fCraft should use. If the given path is relative, it's computed against the location of fCraft.dll. If no path is given, location of fCraft.dll is used. |
--logpath=<path>
|
Path (directory) where the log files should be placed. If the given path is relative, it's computed against the working path. |
--mappath=<path>
|
Path (directory) where the map files should be loaded from/saved to. This setting overrides MapPath key in config.xml. If the given path is relative, it's computed against the working path. |
--config=<path>
|
Path (file) of the configuration file, including the file name (typically "config.xml"). If the given path is relative, it's computed against the working path. |
--norestart
|
If this flag is present, fCraft will shutdown whenever it would normally restart (e.g. automatic updates or /restart command). This may be useful if you are using an auto-restart script or a process monitor. |
--exitoncrash
|
If this flag is present, fCraft front-ends will exit at once in the event of an unrecoverable crash, instead of showing a message and prompting for user input. |
--nolog
|
If this flag is present, all logging is disabled. |
--nocolor
|
If this flag is present, ServerCLI will not use any colors or formatting in its console output. |