Skip to content

dpconfig format

Bee edited this page Apr 19, 2025 · 10 revisions

The information here is up to date as of format version 1.

dpconfig is a format that allows you to define a config screen for your data pack. That screen can then be viewed in Datapack Toolkit, and be used to modify the data pack in a plethora of ways.


The config is defined in the dpconfig.json file in the root of your data pack.

Inside the file is the config object containing the following things:

  • meta - an object containing some metadata.
  • widgets - an ordered list/array of widget objects.
  • methods - an object containing method objects, keys being their names.

Metadata

As of version 1, the following data is necessary inside the meta object:

  • ver - the format version. Currently 1.
  • tab - the name of the config tab in Datapack Toolkit. Should be the name of your pack.

Clone this wiki locally