A Minetest mod that allows creating a connection to a websocket server
Find a file
2025-06-01 00:48:42 +00:00
chatbridge Upload files to "chatbridge" 2025-06-01 00:41:27 +00:00
mtchat.html Update mtchat.html 2025-06-01 00:48:42 +00:00
README.md Update README.md 2025-06-01 00:48:24 +00:00
server.py Update server.py 2025-06-01 00:41:02 +00:00

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.py on the same machine;
  • 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.