What does this mod do?
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.
There's examples and pre-made scripts on kubejs.latvian.dev.
Can I reload scripts?
/reload. Note: Not everything is reloadable. Some things require you to restart game, some only world, some work on fly.
How does this mod work?
Ok, but what if it.. doesn't work?
You can report issues here.
I have more questions/suggestions!
You can find me on Discord, in
#kubejs-and-code chat channel.