Config Datapack

Quick rating

Community listing page, reviews here may not be monitored by the author.

Config Datapack

By CJDevOwner

No reviews yet

Config List for Datapacks

Mod Loaders
Datapack
Forge
NeoForge
Fabric
Quilt
Minecraft
26.2

Community voices

Reviews

List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Show per page
10
25
50
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Where It Runs
Server Only

Runs entirely on the server. Also works in singleplayer.

About

Project Details

Type
Mod
License
GNU General Public License v3.0 only
Latest Version
1.2.2+mod

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

About

Description

✅ Features

  • Adds a config list dialog via #config:list
  • Calls #config:add on /trigger config to register and customize datapack configs

📖 Usage

You can find it in the Pause Screen under Config or Custom Options/Config
But the preferred method is using /trigger config, which shows you the Configs with changed values

I sure hope Mojang adds better methods for dynamic initial values in dialogs soon :p
else we'll hit some limits soon
+ the example using the function command for saving only works for server admins ;-; use Declarative UI to counteract limitations

Example

data/config/tags/function/add.json

{"values":["example:setup_config"]}

data/example/function/setup_config.mcfunction

data modify storage config:list configs append value <config screen>
execute store result storage config:list configs[-1].inputs[0].initial int 1 run scoreboard players get @s exampleValue

data/config/tags/dialog/list.json

{"values":["example:config"]}

data/example/dialog/config.json

{
  "type": "minecraft:multi_action",
  "title": "Example Config",
  "inputs": [
    {
      "type": "minecraft:number_range",
      "key": "int",
      "label": "Int",
      "start": 0,
      "end": 100,
      "step": 1,
      "initial": 10
    },
    {
      "type": "minecraft:number_range",
      "key": "float",
      "label": "Float",
      "start": 0,
      "end": 100,
      "step": 0.1,
      "initial": 40
    },
    {
      "type": "minecraft:single_option",
      "key": "enum",
      "label": "Enum",
      "options": [
        "first",
        "second",
        "third"
      ]
    }
  ],
  "columns": 1,
  "actions": [
    {
      "label": "Save",
      "action": {
        "type": "dynamic/run_command",
        "template": "function example:config {int:$(int),float:$(float),enum:\"$(enum)\"}"
      }
    }
  ]
}

⚖️ License

Versions <1.2 are licensed under the ARR license. Every other under GNU GPL v3

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Downloads
Last Updated
CurseForge
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works