346 B
346 B
This is a simple demo of creating a websocket connection from within Minetest. To use it:
- Add the chatbridge mod to secure.trusted_mods and enable it on the server;
- Start the basic demo server with
python3 test.pyon the same machine; - Open client.html in a browser.
- Observe that you can send messages between the server and the webpage.