Do we need a way to let mods escape the sandbox (should scripting always be sandboxed)
We don't have anything tracking this on the tracker, despite a bunch of discussion on the forums about it.
The general consensus after the various chats/debates/flame wars about NewScript/Lua was that no one could actually come up with reasonable examples of mods that genuinely required escaping the sandbox and were worth sacrificing the sandbox to enable. I've opened this so we can track the ideas people have had so far:
Unresolved
- Discord Rich Presence - things need sending over the network.
- RGB lighting integration - things need sending to the lighting driver.
Resolved
- Sharing in-game content, e.g. bases made in a base building mod - if this is necessary we can allow scripts to load from or write to a controlled location. Maybe we can hijack global/player storage and allow keys to be exported or imported as JSON/YAML in the launcher so they can be shared.
- Body physics (e.g. ponytails and clothing) - this makes much more sense as a native engine feature.