KubeJS Database #190
Answered
by
MaxNeedsSnacks
moniq-e
asked this question in
Script-related questions
-
There is a way to make KubeJS communicate with a database? Like MongoDB or anything else |
Beta Was this translation helpful? Give feedback.
Answered by
MaxNeedsSnacks
Sep 6, 2021
Replies: 1 comment 1 reply
-
Not with only KubeJS, no. We've decided to exclude anything that is related to web or file system access except for simple JSON file writing (which is restricted to the instance folder) and data packets that can trigger events on the other side, to mitigate potential security issues. That said it should obviously be possible (and relatively easy at that) to make a KubeJS addon adding such functionality if you want ^^ |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
MaxNeedsSnacks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not with only KubeJS, no. We've decided to exclude anything that is related to web or file system access except for simple JSON file writing (which is restricted to the instance folder) and data packets that can trigger events on the other side, to mitigate potential security issues. That said it should obviously be possible (and relatively easy at that) to make a KubeJS addon adding such functionality if you want ^^