Skip to main content

API

@bedrock-core/config​

The field core.register() takes.

ExportKindDescription
registerConfig(definition, options?)functionThe field core.register() takes: installs the scopes, the commands and the show method, and hands back a ConfigApp
ConfigOptionstype{ commands?: boolean }
ConfigApp<I>typeThe typed scope trees plus open(player, target?)
ConfigAppDeclaration<I>typeWhat the field hands register(): the installer, the definition, and app: 'config'

@bedrock-core/config/server​

The settings subsystem: registerConfig(definition), configOf(core) to reach what it installed, and every type of the schema and the accessor trees. Documented on the settings subsystem page.

@bedrock-core/config/compiled​

What the ui-compiler filter bakes: the screens every config draws, and one screen per section of the definition.