Mineuniverse
Log in Register
Mods

ConfigJS

Write custom Forge toml configs with KubeJS
by NotEnoughMail
Download Claim this project
1,824 downloads
0 likes
Updated Jun 30, 2026
0 hypes

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'])
})
configjs-1.0.3-1.20.1.jar
MC NeoForge, 1.20.1, Forge
Release 2024-06-26 Get
configjs-1.0.2-1.20.1.jar
MC NeoForge, 1.20.1, Forge
Release 2024-06-19 Get

More from NotEnoughMail

KubeJS TFC
919,127
Precision Prospecting
804,619
TFCGenViewer
743,521
WorldJS
176

You Might Also Like

Theurgy KubeJS
Theurgy KubeJS provides KubeJS integrations for Theurgy.
9,503,452
EntityJS
This mod uses KubeJS to dynamically register entities with full AI/Animation/Spawn Control support!
8,731,173
KubeJS TFC
KubeJS TFC integration
919,127
Forbidden Arcanus JS
Forbidden and Arcanus kubejs Compatibility
97,097
Immersive Engineering JS
kubejs compat for ie
94,624
KubeJS REI Runtime
Allows KubeJS to hide and show items from REI dynamically
89,244