Configuration Files

Supported MCreator versions
2022.3
2023.1
2023.2
2023.3
2023.4
2024.1
Tags / plugin type
Java plugin
Procedures
Templates
configs
Downloads:
2524
Upvotes: 58
About the plugin

Configuration FIles is a plugin that allows for the creation of mod configuration files, through which parts of your mod can be enabled, disabled or modified using variable values stored inside it. Those values can then be changed by the mod's users, allowing for more control over your mod's features.

 

How to use?

 

Configurations are very simple to use. You will first need to create a configuration element.

config

Once created, you can make a configuration category and add variable types to it. Note that registry name types are considered texts. (and entities are not supported yet, but you can manually write the registry name as a text variable)

variables

You can then use the variables in procedures by following the example below.

example

 

And that's it! The Configuration Files will generate once the game is loaded.

 

The plugin supports versions 1.16.5-1.19.2, but doesn't support 2022.2. Therefore you will need to install the forge generator 1.16.5 plugin for 2022.3 if you plan on using this with 1.16.5

 

This is a Java Plugin and therefore requires the Java Plugins feature to be enabled.

 

 

Changelog

v2.0.1
-Updated to work with MCreator 2024.1.15821

v2.0
-Major UI code refactor
-Configs now have proper validation
-Removed duplicate registry name procedure blocks (If you're using them, get rid of them before updating)
-Cleaned up config template code
-Support for 2024.1
-Support for neoforge 1.20.4

v1.9
-Added 2023.4 support

v1.8
-Ported to 1.20.1
-Disabled standalone comments as they sometimes caused the game to not launch and I have no bloody clue why

v1.7
-Support for 1.19.4 and 2023.2 EAP

v1.6.1
-Removed the version MCreator limit so I dont need to constantly update the plugin

v1.6
-Support for 2023.1 release

v1.5
-Dropped support for 2023.1 snapshot 2
-Support for 2023.1 snapshot 3

v1.4
-Deleted the 1.16.5 templates as that version is now unsupported in 2023.1
-Changed the variable getter procedures to use a datalist for selecting the configuration element
(You will need to select the element again in existing procedures)

v1.3

-Dropped support for 2022.4 snapshot 1 and below due to incompatibilities in the code
-Updated to the 2023.1 snapshot 2

v1.2
-Number variables can now have negative values
-Added the convert registry name to item procedure
-Added the convert registry name to block procedure

v1.1
-Fixed number variables causing build errors
-Fixed number variable procedure causing build errors
-Fixed configurations being part of the items list
-Fixed block and item registry name variables sometimes causing build errors
-Fixed configuration categories generating inside of each other
-Deleted some useless code in the configuration template
(File size is the same but I swear that's just a coincidence)
License
MIT License

Plugin downloads
Configuration Files v1.2 (MCreator 2022.4 and below ONLY) - configuration_files_5.zipUploaded on: 12/25/2022 - 02:34   File size: 41.72 KB
Configuration Files v1.6.1 (MCreator 2023.1 ONLY) - configuration_files_0.zipUploaded on: 03/08/2023 - 12:15   File size: 38.79 KB
Configuration Files v1.7 (MCreator 2023.1, 2023.2 ONLY) - configuration_files.zipUploaded on: 04/28/2023 - 22:53   File size: 43.32 KB
Configuration Files v1.8 (MCreator 2023.1, 2023.2, 2023.3 ONLY) - configuration_files.zipUploaded on: 12/01/2023 - 11:44   File size: 47.9 KB
Configuration Files v2.0 (MCreator 2023.4 ONLY) - configuration_files.zipUploaded on: 04/12/2024 - 17:27   File size: 40.01 KB
Configuration Files v2.0.1 (MCreator 2024.1 ONLY) - configuration_files_1.zipUploaded on: 04/13/2024 - 04:35   File size: 43.28 KB

Comments

Really good plugin. Sad that it does not work on 2023.2+ and just do nothing when you try to open config. Hope that update will be soon

they haven't updated this plugin in over 4 months.. honestly if the dev doesn't care about it anymore they should just give over the source code to someone else, or at least make a statement about it, instead of just letting it rot like this

Well it's not like the source code is hidden, I've heard they're dealing with some personal matter rn and that's why they aren't active atm. Not sure how long they'll take but I'm sure if they had given up completely they would have allowed others to redistribute it.

When I want to create a new ´config elemen, the tab is not shown, same with the existing config element.
It happened when I updated from 2023.1 to 2023.2, but the plugin is for both version.
I would be happy if anyone can help me with this problem!

Like I hate to be that guy but is 2023.3 support in the works? Basically all my mods heavily depend on this plugin and as the b1.7 release is broken too I can only support mods up to 1.19.2 rn...

I mean even if you don't plan on updating soon, maybe removing the 2023.2 tag as it doesn't work?

I have problem with that plugin
i am working on mod for 1.18.2 on MCreator 2023.1 with this plugin on version 1.6.1
I am creating a config file, with variables in it
and when i change config file (in files, after exporting mod, not in the mod),
and after that i save that file, but it doesn't change
It only create a additional backup file, with my changes, but its not changing the existing file.
How can i fix it?

Guys, stop asking abt the plugin bug. When the dev gets time to fix it he will; there's been enough comments about it already.

This plugin just doesn't work at all in 2023.2 for 1.19.2. I click to create a config element and the namespace opens, i give it a name and click create and nothing happens

There is an issue when creating a config element, it doesn't do anything when clicking "create". i have the error but it wont let me post it in the comments for some reason