WDL ScriptHook: config.json

From Nomad DB
Revision as of 20:10, 14 April 2021 by Administrator (talk | contribs) (Created page with "{{Page_WDL}} The ''config.json'' is used to enable/disable and configure options for the ScriptHook. = Options = == core == * '''core.win32Console''' (boolean) Enables/Di...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The config.json is used to enable/disable and configure options for the ScriptHook.

Options

core

  • core.win32Console (boolean) Enables/Disables a Console window
  • core.crashDumpsEnabled (boolean) Enables/Disables our Crash Reporter
  • core.console.key (Key: integer or string) Key Binding for ingame Console
  • core.console.lineLimit (integer) Maximum amount of lines

game

Manages game-related features.

game.discordRichPresence (boolean) Enables/Disables Game status display within Discord

scriptHook

ScriptHook-specific features.

scriptHook.enableAutoRefresh (boolean) Enables/Disables automatic reloading of Scripts when the underlying files are modified.

scriptHook.startupMenuEnabled (boolean) Enables/Disables startup menu (the menu before game launches)

ui

Trainer/SimpleMenu menus, Ingame console, etc.

ui.scale (integer) Scale the UI by this value (in percent), Minimum is 100

Default config.json

{
	"core": {
		"console": {
			"key": "F3",
			"lineLimit": 150
		},
		"crashDumpsEnabled": true,
		"win32Console": false
	},
	"game": {
		"discordRichPresence": true
	},
	"scriptHook": {
		"enableAutoRefresh": true,
		"startupMenuEnabled": true
	},
	"ui": {
		"scale": 100
	}
}

Related Pages