KubeJS
With this mod, you can write scripts in JavaScript to gain complete control over your Minecraft server. Create unique blocks and items, modify existing crafting recipes, configure tags, develop custom handlers for quest mods, change world generation, and much more!
Getting Started
After installing the mod and running the game for the first time, a kubejs folder will appear in your Minecraft directory with example scripts. Startup scripts run once when the game loads and are intended for registering items and configuring settings. Server scripts load when you join a world and are perfect for tasks like clearing lag, displaying personalized login messages, and other operations related to the world and players.
Video Tutorial for Version 1.19.2
Reloading Scripts
To update scripts, use the /reload command. Note that not all changes are applied instantly: some require a game restart, others need a world reload, and some work in real-time.
Help and Support
If you're new to JavaScript or encountering difficulties, the KubeJS Wiki offers detailed examples and ready-made solutions. For questions, suggestions, and bug reports, visit the KubeJS Support section.
