Sending Mods To Client

Maybe see my idea as well:

I already did something like this with nashorn at work. It was more a proof of concept then anything else, but it worked pretty well.

I was locking the script out, by letting it do nothing except some calculations. No print() nothing
Then i added piece by piece the needed functionality.

it would be possible to do that in reverse. “Just” deny everything that could be used for malicious stuff and allow them via Android based permission system. Since you can convert Java to JavaScript, it would be a possibility.

I will fight for some kind of “just join and play with more than vanilla stuff”.
I would do that as a seperate mod, cause it won’t get integrated i think. But it would be neat to have some support within the API.