I read O'Hanlon's book and started up a Bukkit server. I have multiple kids who are happily playing on the same Bukkit server, but we haven't figured out how to run Python code from multiple players' computers while playing on the same Bukkit server. Currently, only the "host computer" can successfully run Python code.
When others (non-hosts) attempt to run Python code while playing on the same Bukkit server they get the error:
Traceback (most recent call last):
File "C:\Users\MC\Desktop\Shared Folder\Minecraft\Installation Files\Python Programmer.py", line 2, in <module>
mc = Minecraft.create()
File "C:\Users\MC\AppData\Local\Programs\Python\Python37-32\lib\site-packages\mcpi\minecraft.py", line 171, in create
return Minecraft(Connection(address, port))
File "C:\Users\MC\AppData\Local\Programs\Python\Python37-32\lib\site-packages\mcpi\connection.py", line 17, in __init__
self.socket.connect((address, port))
ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it
>>>
Does anyone know if it's possible to have multiple kids run their Python code on the same Bukkit server? THANK YOU!