#How do i start lootjs?
19 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
no. i still don't know how to find the .js file
????
the file where write the code, like in kubejs
You dont find the file, you make the file.
And if you’re wondering what type of script it belong in
That’s also on the wiki, but to save you some time it’s the server script
thaks you very much
do you mean that there is a folder for lootjs
or you just use the same .js in kubejs folder
A rule of thumb with any addon mod for KubeJS (as of when I’m posting this):
All addon mods only add new things to KubeJS as a language.
That means that you can have more event listeners, more global bindings, and other related stuff within normal KubeJS scripts
So if you make a new .js file in your client/server/startup folder then you will be able to use the addon’s features in those scripts. You can also modify old js scripts to use the addon’s features as well
I have yet to see any addon require a specific folder or file structure so far