KubeJS

KubeJS

61M Downloads

Cannot `/kubejs reload lang` on servers

aaronhowser1 opened this issue ยท 4 comments

commented

Minecraft Version

1.18.2

KubeJS Version

kubejs-forge-1802.5.5-build.550

Rhino Version

rhino-forge-1802.2.1-build.240

Architectury Version

architectury-4.9.84-forge

Forge/Fabric Version

Forge 40.1.80

Describe your issue

/kubejs reload lang works as it should on single player, but does nothing on servers. Nothing in chat, nothing in the console, and the language isn't reloaded.

Crash report/logs

No response

commented

image
It does not work

commented

While servers dont have lang (thats all done client side), you would expect that it would reload the clients lang. Is /kubejs reload client_scripts also affected the same way?

commented

image
That at the very least gave me something in chat, though I hadn't actually made any changes to test.

commented

We would need to register client commands for this to work properly, which is currently pending a pull request in Architectury API, see architectury/architectury-api#319