#Reload not working?

36 messages · Page 1 of 1 (latest)

hasty sun
#

I'm very new to kubejs and still trying to learn how to use it but i try doing(the pic) and then do /reload but it just does not work like it give no logs it acting like it not even there. It is in server script and i did restart my game like close it then start it again and i did /kubejs reload server_scripts and then right after i do /reload.

The 4 recipes that does even load was made from a ai I try modify the ai recipes but it still nothing change i try removing it nothing change it still the same ai recipe, but the recipe that i made just not poping up as wrong or even loading.

valid moonBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

lapis scaffold
#

add console.log("something") in recipe event

#

and try reload again

hasty sun
lapis scaffold
#

yeah

hasty sun
#

and type /reload in game

lapis scaffold
#

yeah

hasty sun
#

nothing?

#

it should be in server log right?

#

in kubejs

lapis scaffold
#

well

#

seems like u are editing wrong file

#

show path to file and path to server log

hasty sun
mint shell
#

screenshot? maybe

hasty sun
#

like this?

#

the file that im using is testing.js

mint shell
#

should work. The screenshot is where server scripts are for the modpack Create Arcane Engineering and it works so I dont see why that shouldnt work.

hasty sun
hasty sun
lapis scaffold
#

Oh..

#

u need to save the file

hasty sun
#

how do i do that.

hasty sun
lapis scaffold
#

ctrl + s

hasty sun
#

thanks

#

it work now.

#

was that really all i forgot to do???

#

i been here for 4 hours trying to find out what i did wrong....

mint shell
#

lol

hasty sun
#

well thanks a lot

#

i just close the ticket now?

lapis scaffold
#

yeah

hasty sun
#

kk thanks again for the help