Modscraper Modscraper Minecraft
KubeJS logo

KubeJS

Mod

by LatvianModder

Edit recipes, add new custom items, script world events, all in JavaScript!

Type

Mod

CurseForge Downloads

172,094,197

CurseForge ID

238086

Modrinth Downloads

22,734,442

Modrinth ID

umyGl7zF

Last Updated

Nov 7, 2026

Description

KubeJS


What does this mod do?

This mod lets you create scripts in JavaScript language to manage your server, add new blocks and items, change recipes and tags, add custom handlers for quest mods, change worldgen and more!

How to use it?

Run the game with mod installed once. It should generate kubejs folder in your minecraft directory with example scripts. startup scripts only get run once when the game loads. Those are for registering items, setting up configs etc. Server/data scripts are loaded when you join a world, those are better for things like clearlag, displaying custom login messages and world/player related things in general.

Video tutorial for 1.19.2

Can I reload scripts?

Yes, use /reload. Note: Not everything is reloadable. Some things require you to restart game, some only world, some work on fly.

I don't know JavaScript / I need help with this mod!

There's examples and pre-made scripts on KubeJS Wiki.

I have a question / suggestion / bug report!

If wiki didn't have the answer for what you were looking for, you can ask questions, make feature suggestions and report bugs here: KubeJS Support

Compatibility

Mod Loaders

Fabric Forge Neoforge Quilt

Game Versions

1.18.2 1.19 1.19.2 1.20.1 1.20.4 1.21 1.21.1 26.1.2

Recommended Gear

Affiliate

Hardware and extras that pair well with this mod.

As an Amazon Associate I earn from qualifying purchases.

Similar Mods

Included in Modpacks (2,496)

Show fewer
Marvel-DC Zombies Marvel-DC Zombies Jaffa Factory 2 - Futura Edition Jaffa Factory 2 - Futura Edition Boundless Blocks Boundless Blocks WildLouna WildLouna VR Realistic Worlds 3D Server VR Realistic Worlds 3D Server Skybound SMP Skybound SMP Skies of Progression Skies of Progression Dungeons and Shuttles Evolution Dungeons and Shuttles Evolution RageCraft Revived RageCraft Revived Sonic Block FF Sonic Block FF Jurassic park (jurassic park genesis sequel) Jurassic park (jurassic park genesis sequel) Brassburg SMP Modpack Brassburg SMP Modpack Noroi Noroi MineColonies-Caos e Ordem [Unnoficial] MineColonies-Caos e Ordem [Unnoficial] Tensura Resurgence Tensura Resurgence Trials of Terra Trials of Terra Slime Kings Reincarnation Slime Kings Reincarnation World at war World at war ForgottenWinter ForgottenWinter Kingdom Cordis - RP Kingdom Cordis - RP Modustrie Modustrie Sky Industrialization Sky Industrialization Bottom of The Barrel Bottom of The Barrel ArcaneAxis - ARS ArcaneAxis - ARS Integrated MineColonies Integrated MineColonies THE INFINITY Project THE INFINITY Project Gentle Brew Gentle Brew TerraCraft:Confluence TerraCraft:Confluence Create: SatisFactory Create: SatisFactory InsaneCraft Reimagined InsaneCraft Reimagined Wither Storm: Dawn of Legends Wither Storm: Dawn of Legends Replication Issues Replication Issues Kameritverse ( Alien Evolution ) Kameritverse ( Alien Evolution ) Erstwhile Journey Erstwhile Journey Mystic's Monstrosity - Avaricious Edition Mystic's Monstrosity - Avaricious Edition Trusted Modded Trusted Modded RePalmon RePalmon Createch 2 Createch 2 Beyong Depth (Ru translate) Beyong Depth (Ru translate) NinjagoPalladuimServer NinjagoPalladuimServer Twisted Towns Twisted Towns StoneBlock Project Matter StoneBlock Project Matter TechBlock - SkyTech 3 TechBlock - SkyTech 3 Create_Craft&Quiet Create_Craft&Quiet Elarion Elarion Harvest Valley Farming 2 Harvest Valley Farming 2 ninjago survival with friends ninjago survival with friends Velox Resurrected Velox Resurrected Omniversal Multiverse Omniversal Multiverse Technical Dragonrider Technical Dragonrider Skybound Origins Skybound Origins Mana & Mechanisms Mana & Mechanisms AdvoTech ValkyrienSkies (abandoned) AdvoTech ValkyrienSkies (abandoned) Plastek 3 Plastek 3 Createmon: Cidade Mêcanica Createmon: Cidade Mêcanica Create: Workshop [UwU Edition][Expert] Create: Workshop [UwU Edition][Expert] PROJECT DREAD - Dark Waters PROJECT DREAD - Dark Waters Modern Apocalypse: Spore Edition Modern Apocalypse: Spore Edition Reclamation - Vessels Of Raven Reclamation - Vessels Of Raven Minecolonies - Order and Chaos Minecolonies - Order and Chaos Guns and Horror Guns and Horror ES CRAFT ES CRAFT Create: Flat Factories Create: Flat Factories HiveCraft HiveCraft Create Creative and Beyond Create Creative and Beyond We Create SMP We Create SMP TerraFirmaKingdoms Season 1 TerraFirmaKingdoms Season 1 Tech-Craft Tech-Craft Create: Above Eureka Create: Above Eureka Team Imura's Lantern Universe Server Team Imura's Lantern Universe Server Create: Aloft Create: Aloft God Of The Bosses God Of The Bosses Create: Guns and Artillery Create: Guns and Artillery Farwater: Create Basics Farwater: Create Basics Mystic Sky Mystic Sky Velkaris Velkaris Pixelmon Homestead Pixelmon Homestead Ultimate Heroes Ultimate Heroes Loyal Sky Loyal Sky Echowood - A World That Remembers Echowood - A World That Remembers Echoes of Volkrune - Rebirth of Order Echoes of Volkrune - Rebirth of Order Cana's Cruel Catalyst Cana's Cruel Catalyst Tensura: Myriad Rebirth Tensura: Myriad Rebirth ImuraPiece a (TruePrimePiece Server) server W.I.P ImuraPiece a (TruePrimePiece Server) server W.I.P QSMP 2024 Collection QSMP 2024 Collection AllTheMons - The Void AllTheMons - The Void TFC - Simply Fantastic (TFCSF) TFC - Simply Fantastic (TFCSF) Cook in Skyland Recaked Cook in Skyland Recaked Progeny Modpack Progeny Modpack Eclipse Eclipse Project Arc Light -  Dimensional Rift Project Arc Light - Dimensional Rift OmniCraft Evolved OmniCraft Evolved Cobblemon Sky Adventure Cobblemon Sky Adventure Touhou Little Maid - Feed & Breed Touhou Little Maid - Feed & Breed ReCraft S8 Project infinity 0.1 ReCraft S8 Project infinity 0.1 GATE Guns & Magic GATE Guns & Magic Create & Destroy Create & Destroy Sleepymon [COBBLEMON] Sleepymon [COBBLEMON] Trappincorpo SMP Pack Trappincorpo SMP Pack Modern Beta Modern Beta

External Resources