Skip to content

Configuration Options

Jorteck edited this page Mar 13, 2022 · 1 revision
Variable Default Options Description
ANVIL_HOME <nwn_home>/anvil An absolute path, or relative path to <nwn_home> The main directory for Anvil's storage. Anvil will search for plugins in ANVIL_HOME/Plugins and store plugin data in ANVIL_HOME/PluginData, as well as search this directory for various configurations.
ANVIL_RELOAD_ENABLED false true/false Enables support for plugin hot-reloading via AnvilCore.Reload(). Recommended for advanced users.
ANVIL_PREVENT_START_NO_PLUGIN false true/false Prevents the server from starting if no plugins are detected/loaded.
ANVIL_PRELINK_ENABLED true true/false Disables some initial startup checks when linking to the native NWN server binary. This is an advanced setting that should almost always be unset/set to true.
ANVIL_LOG_MODE Off Off/Duplicate/Redirect Configures redirection of the NWN server log. Off disables redirection, Duplicate creates a copy of the log entries in Anvil/NLog, Redirect redirects the log entries to Anvil/NLog, and skips the original log entry.