Adds the ability to create custom Forge toml config files through KubeJS scripts, see the wiki for specifics and usage
An example of creating a common config file:
ConfigsEvent.common(event => {
event.setName('My Very Cool Config File')
event.push('debug')
event.comment('Determines how many particles should be spawned around the player in debug mode')
global.debugParticleCount = event.intValue('numberOfParticles', 0, 0, 20)
event.comment('Determines if debug mode is enabled')
global.debugEnabled = event.booleanValue('enabled', false)
event.pop()
event.comment('be wild!')
global.selector = event.enumValue('selectorType', 'basic', ['basic', 'advanced', 'supreme'])
})
How to Install ConfigJS (Mod)
ConfigJS by Notenoughmail is verified for Forge, Neoforge across Minecraft versions 1.20.1 (latest release: 1.0.3, file size: 38 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.20.1) and platform (Forge, Neoforge).
- Make sure you have the compatible loader or environment installed for Forge, Neoforge.
- Move the downloaded ConfigJS file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version- Add the ability to add string list config options
- Add the ability to add string config options
- Fix created configs being registered to the wrong mod container