promotional bannermobile promotional banner

ConfigJS

Write custom Forge toml configs with KubeJS

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'])
})

The ConfigJS Team

profile avatar
  • 1
    Followers
  • 4
    Projects
  • 2.3M
    Downloads

More from NotEnoughMailView all

  • KubeJS TFC project image

    KubeJS TFC

    • 857.0K
    • Mods

    KubeJS TFC integration

    • 857.0K
    • April 19, 2026
    • Mods
  • EntityJS project image

    EntityJS

    • 7.5M
    • Mods

    This mod uses KubeJS to dynamically register entities with full AI/Animation/Spawn Control support!

    • 7.5M
    • March 23, 2026
    • Mods
    • +1
  • TFCGenViewer project image

    TFCGenViewer

    • 671.6K
    • Mods

    Preview your TFC worlds before creating them!

    • 671.6K
    • February 21, 2026
    • Mods
    • +4
  • Precision Prospecting project image

    Precision Prospecting

    • 780.3K
    • Mods

    The range on the Prospector's Pick is too large

    • 780.3K
    • September 21, 2025
    • Mods
    • +1
  • KubeJS TFC project image

    KubeJS TFC

    • 857.0K
    • Mods

    KubeJS TFC integration

    • 857.0K
    • April 19, 2026
    • Mods
  • EntityJS project image

    EntityJS

    • 7.5M
    • Mods

    This mod uses KubeJS to dynamically register entities with full AI/Animation/Spawn Control support!

    • 7.5M
    • March 23, 2026
    • Mods
    • +1
  • TFCGenViewer project image

    TFCGenViewer

    • 671.6K
    • Mods

    Preview your TFC worlds before creating them!

    • 671.6K
    • February 21, 2026
    • Mods
    • +4
  • Precision Prospecting project image

    Precision Prospecting

    • 780.3K
    • Mods

    The range on the Prospector's Pick is too large

    • 780.3K
    • September 21, 2025
    • Mods
    • +1