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.
Once created, you can make a configuration category and add variable types to it. Note that registry name types are considered texts.
You can then use the variables in procedures by following the example below.
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.5.2
-Added chinese translations (thanks to cdc1234)
v2.5.1
-Fixed the configuration gui not being validated before saving
v2.5
-Added support for MCreator 2025.2
v2.4
-Added support for MCreator 2024.4
v2.3.1
-Fixed the plugin breaking all blockly panels in some cases (thanks javascript)
v2.3
-Reworked the UI to use a blockly panel (old elements are automatically converted)
-Ported to MCreator 2024.3 and neoforge 1.21.1
v2.2
-Support for MCreator 2024.2 and neoforge 1.20.6
v2.1.1
-Fixed text lists causing the config to regenerate every time the game is launched
v2.1
-Added text list variables to configs
-Added new procedure block: for each entry in config text list
-Added new procedure block: text list iterator
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
Archived versions:
1.2 for 2022.4 and below
1.6.1 for 2023.1
Comments
for those who need this for 2024.3 just go into the zip file, open plugin.json, and look for 2024002 nd replace that with 2024003. this will likely cause some support issues and if any bugs happen dont report them as a bug on the plugin page as the plugin is not designed to run on 24.3 this is only a temporary solution for those who absolutely need it for 24.3 now.
What does this mean?
warning: [removal] registerConfig(Type,IConfigSpec<?>,String) in ModLoadingContext has been deprecated and marked for removal
ModLoadingContext.get().registerConfig(ModConfig.Type.CLIENT, TheBodyBoostsModifyBoostsConfiguration.SPEC, "the_body_boosts_config.toml")
Hello NerdyPuzzle,
I found out that default variable value can't have more than 3 digits after the dot and for me it's not really good, because for my mod I need at least 6 digits (I'm working with hunger and ticks). Can I increase amount of digits (if yes, how) or will you change it in updates?
Hello NerdyPuzzle,
I made a version of this plugin based on the MIT license you authorized and made it compatible with Minecraft NeoForge 1.21.1 (tested it using the generator plugin and everything worked so far)
If you're interested in seeing my work you can contact me on my email (mahourabensalem@gmail.com) or my Instagram (@meher_bs) im sorry i didn't find any other way to contact you !
PS : Great work buddy i really love your plugins they are very helpful <3
With 2024.2 being released, what versions of mc do you plan to support? And the fact that spectral is slowly but shortly getting generators up to modern versions like 1.14.4 for 2024.1. Would you ever consider adding support for said versions like if 1.16.5 were to get up here again or would it be too much work at that point?
So I've done the following and still doing the same thing. Blockly editor is just completely blank, no options on the left or anything.
- Uninstall Mcreator entirely
- Restart PC
- Install latest Mcreator version
- Still Configuration plugin ONLY
- Load fresh new workspace