textual-engine icon indicating copy to clipboard operation
textual-engine copied to clipboard

load script functions from installed modules and page scripts

Open ssube opened this issue 4 years ago • 0 comments
trafficstars

Find a way to load modules, plugins, or CDN scripts to provide world data and script source.

Look into sandboxing entity scripts. This will necessarily be a huge code injection vector and should come with a warning not to run untrusted modules, they have full access to browser/node APIs, etc. Only existing, previously-installed modules or <script> tags should be available, this should never include external code directly.

ssube avatar May 13 '21 18:05 ssube