Get server_scripts to run in Local Game #986
-
Hi there, as per the title, my server_scripts seem to run when a dedicated server is run, but if I create a local world to test the server_scripts do not execute. I am trying to ensure these run whether the game is dedicated server or local save - is there some trick to this? I cannot find this in docs or issues anywhere. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
This should just work out of the box. You do have KubeJS loaded on the client, so commands like /kubejs reload work in singleplayer? |
Beta Was this translation helpful? Give feedback.
This should just work out of the box. You do have KubeJS loaded on the client, so commands like /kubejs reload work in singleplayer?
Also double check the file path, server scripts should be somewhere inside /kubejs/server_scripts/