Skip to content

Beta v0.3

Latest
Compare
Choose a tag to compare
@RodionGromo RodionGromo released this 14 Jul 18:35
· 2 commits to RodionGromo-Python_Version since this release
4448b55

Now actually requires websockets package for Python!

I've rewritten all code from ground up, added full Websocket python server (as intended), and even added a http bridge if you want to control turtles by http

Guaranteed 120% performance increase compared to other versions (don't use http if you don't want to be disappointed), and (probably) some bugs added!

The requirements are:

  • Python 3.8+
  • ComputerCraft: Tweaked for Minecraft, any version that supports websockets
    (don't forget to download json library for lua, otherwise it won't work, get it here)

Notes

Sometimes won't work without this change:

  • Change settings in computercraft-server.toml file (.minecraft\saves\YourWorldHere\serverconfig\computercraft-server.toml):
[[http.rules]]
host = "$private"
action = "deny"

to

[[http.rules]]
host = "$private"
action = "allow"

Warning: this is kind of unsafe, if I remember correctly, so use actual IP addresses instead of local networking

  • I forgot to put .js file for site.html, so if you want to use it please download it yourself...