Configuration
The configuration for Voile is located at mods/IwakuraEnterprises_Voile/config.json
Configuration file fields
DocsConfig object
Field | Type | Default | Description |
|---|---|---|---|
| Boolean |
| Enables/disables Voile. When disabled, Voile's commands won't do anything. |
| Boolean |
| Enables/disables the OOBE (the welcome message for admins after installing Voile for the first time). |
| Boolean |
| Enables/disables update checker. New updates are shown in the top-left of Voile's interface next to the current version. |
| Boolean |
| Enables/disables full text search functionality. Can be helpful if it's causing any issues. |
| Boolean |
| Enables/disables Voile's ability to save interface preferences to player's components for better UX. |
| Boolean |
| Enables/disables permission node generation for the |
| String |
| Changes where Voile looks for the server documentation. Requires restart to take effect. |
| String |
| The default topic to open for the player when opening Voile's interface for the first time. See the Topic identifiers topic for more information on how to define a topic identifier. |
| List of |
| Disables specified documentation types. If all documentation types for interface mode are disabled, the entire interface mode is disabled and inaccessible. |
| List of |
| Disables specified documentations. Specifies either a documentation's group, ID or both in the |
| List of |
| Disables specified topics. Specifies a topic identifier. |
|
| Default interface preferences for players. | |
|
| Configures Voile's UI validator. | |
|
| Configures Voile's command shortcuts. | |
|
| Configures Voile's runtime image assets. | |
|
| Configures Voile's integrations. | |
|
| Configures Voile's file system cache. | |
|
| Configures Voile's Sentry error reporting. |
InterfacePreferencesDefaults object
Field | Type | Description |
|---|---|---|
| UUID | The checksum that is used to validate player's interface preferences. If this UUID does not equal to player's interface preferences, they will be reset. Changes to a random UUID when running the |
|
| Specifies the default interface mode that is shown when a player opens Voile's interface for the first time. |
|
| Specifies server's default preferred language. If set, player's game language will be ignored. |
Validator object
Field | Type | Default | Description |
|---|---|---|---|
| Boolean |
| Enables/disables the UI validator. |
| Boolean |
| When enabled, invalid UI will not be opened for the player to prevent a potential crash. |
| Boolean |
| When enabled, invalid UIs are dumped into |
| Boolean |
| When enabled, validation errors are shown to players. |
| Boolean |
| When enabled, checks whether a player has recently crashed after opening a UI. |
| Long |
| The time-to-live (in milliseconds) for how long generated UI is kept in memory for dumping purposes. |
CommandShortcuts object
Field | Type | Default | Description |
|---|---|---|---|
| Boolean |
| Enables/disables command shortcuts. |
| Boolean |
| When enabled, command shortcuts will be registered as their own standalone commands, ensuring Hytale's built-in commands are overridden. |
| List of |
| List of command shortcuts. |
Command object
Field | Type | Description |
|---|---|---|
| String | The name of the command shortcut. This is what the player types in chat (e.g. |
| String | The identifier of the topic to be opened by the command shortcut. See the Topic identifiers topic for more information. |
RuntimeImageAssets object
Field | Type | Default | Description |
|---|---|---|---|
| Boolean |
| Enables/disables runtime image assets. |
| Integer |
| Maximum allowed file size (in kilobytes) for downloaded images. |
| Integer |
| The time-to-live (in seconds) for images kept in memory. |
Integration object
Field | Type | Description |
|---|---|---|
|
| Configures the Hytale Modding Wiki integration. |
HytaleModdingWiki object
Field | Type | Default | Description |
|---|---|---|---|
| Boolean |
| Enables/disables the Hytale Modding Wiki integration. |
| Boolean |
| When enabled, mods from the Hytale Modding Wiki are pre-loaded in the background on server start. |
| String |
| Overrides the default Hytale Modding Wiki URL. |
| String |
| Overrides the default Hytale Modding Wiki API token. |
FileSystemCache object
Field | Type | Default | Description |
|---|---|---|---|
| Boolean |
| Enables/disables the file system cache. |
| Map of | (see | A map of |
Sentry object
Field | Type | Default | Description |
|---|---|---|---|
| Boolean |
| Enables/disables Sentry error reporting. |
| UUID | (random UUID) | The unique identifier of this server instance used in Sentry. |
| String |
| Overrides the default Sentry DSN. |
Enums
DocumentationType enum
SERVER- Server documentationMOD- Mod documentationEXTERNAL_MOD- Mod documentation fetched from various integrations.HYTALE_MODDING_WIKI_INSTALLED- Installed mods that already have existing mod documentation but are on the Hytale Modding Wiki.HYTALE_MODDING_WIKI- Hytale Modding Wiki mods.INTERNAL- Internal Voile documentation.
InterfaceMode enum
VOILE- The default interface modeHYTALE_MODDING_WIKI- Hytale Modding Wiki integration interface mode
LocaleType enum
CacheFileType enum
Value | Default TTL | Description |
|---|---|---|
| 24 hours | Cached downloaded images. |
| 24 hours | Cached Hytale Modding Wiki mod list. |
| 24 hours | Cached individual Hytale Modding Wiki mod page list. |
| 24 hours | Cached Hytale Modding Wiki page content. |