Releases: RodionGromo/minecraftCCT_turtleP
Beta v0.3
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 downloadjson
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 forsite.html
, so if you want to use it please download it yourself...
Beta v0.2
Still requires world settings update, but works better!
Now requires Flask, websocket version abandoned
Beta version
Somewhat useful, but requires a few settings to use:
-
Change:
[[http.rules]]
host = "$private"
action = "deny"
to
[[http.rules]]
host = "$private"
action = "allow"
in your computercraft-server.toml file (.minecraft\saves*world*\serverconfig\computercraft-server.toml) -
Install ws (websocket) for python
-
run "py websocket.py" for server, and turtle_listener.lua for turtle client
-
enjoy