[This is preliminary documentation and is subject to change.]
Enumerates the recognized command-line switches/arguments.
Args are parsed in Server.InitLibrary
Namespace: fCraftAssembly: fCraft (in fCraft.dll) Version: 0.6.2.4 (0.6.2.4)
Syntax
| C# |
public enum ArgKey
Members
| Member | Value | Description |
|---|---|---|
| Path | 0 | Working path (directory) that fCraft should use.
If the path is relative, it's computed against the location of fCraft.dll |
| LogPath | 1 | Path (directory) where the log files should be placed.
If the path is relative, it's computed against the working path. |
| MapPath | 2 | Path (directory) where the map files should be loaded from/saved to.
If the path is relative, it's computed against the working path. |
| Config | 3 | Path (file) of the configuration file.
If the path is relative, it's computed against the working path. |
| NoRestart | 4 | If NoRestart flag is present, fCraft will shutdown instead of restarting.
Useful if you are using an auto-restart script/process monitor of some sort. |
| ExitOnCrash | 5 | If ExitOnCrash flag is present, fCraft frontends will exit
at once in the event of an unrecoverable crash, instead of showing a message. |
| NoLog | 6 | Disables all logging. |
| NoConsoleColor | 7 | Disables colors in CLI frontends. |