Update README.md

This commit is contained in:
Signal 2025-06-01 00:48:24 +00:00
parent bd95277266
commit 0e5ff83c99

View file

@ -1,5 +1,6 @@
This is a simple demo of creating a websocket connection from within Minetest. To use it: 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; - Add the chatbridge mod to secure.trusted_mods and enable it on the server;
- Start the basic demo server with `python3 test.py` on the same machine; - Start the basic demo server with `python3 test.py` on the same machine;
- Open client.html in a browser. - Edit mtchat.html to point to the IP address of the websocket server, if necessary;
- Open mtchat.html in a browser;
- Observe that you can send messages between the server and the webpage. - Observe that you can send messages between the server and the webpage.