You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 22, 2024. It is now read-only.
I just checked all of these boxes without reading the labels
I just checked all of these boxes without reading the labels
I just checked all of these boxes without reading the labels
I just checked all of these boxes without reading the labels
about the bug
This is a tracker for modding the single player dedicated server. Currently, all mods run client-side, even in single player. Exposing the dedicated server is probably going to be hard due to it running in it's own sandboxed web worker (no exposing instances).
Current best idea from me is add a custom packet that you can send to a server that runs a new Function() in the web worker's context. Then, you can use the Web BroadcastChannel API to exchange information backwards and forwards between client and dedicated server.
Additionally, to make use of the already existing ModAPI, using globalThis rather than window. (web workers do not have a window)