Modding happens completely separated from the Minecraft game.
If mc.livingcomputers.org does not respond from a browser, then the server is DOWN.
For those familiar with the Raspberry Pi Mod, there is a Python library with similar functions here:
mc.py This library works for Python 3 and Windows 10.
Save this library in the Python directory.
You will want your Python directory in your favorites list.
So, from IDLE, when you create a new file, notice what that directory is.
Perhaps when you click on the mc.py link it opened in an editor. If it did, from IDLE create a new file, copy mc.py into the new file, and save it as mc.py.
Otherwise, right-click on the link to save target as... and find the directory.
Python 2 telnet returns strings instead of byte arrays.
Windows 10 requires telnet commands to have the .encode("ascii").
Here is a sample Python IDLE session:
Python 3.6.3 (v3.6.3:2c5fed8, Oct 3 2017, 17:26:49) [MSC v.1900 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information. >>> import mc >>> mc.open() <telnetlib.Telnet object at 0x002B7C90> >>> mc.getBlock(0,3,0) 2 >>> mc.Locate('Sigma9') (793, 3, 527) >>> mc.Block[2] ['Grass', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''] >>> mc.BlockValueInt.glass 20 >>> mc.Block[17] ['Oak Wood', 'Spruce Wood', 'Birch Wood', 'Jungle Wood', '', '', '', '', '', '', '', '', '', '', '', ''] >>> mc.BlockValuePair.Birch_Wood (17, 2) >>> mc.setBlock(793,4,527,mc.BlockValueInt.web) >>> mc.close() <telnetlib.Telnet object at 0x002B7C90> >>>
For those brave souls not needing a library, here is documentation:
Command_Parameters.txt The supported telnet commands
TestCommands.py A Python program to try out those telnet commands
TestCommandsTryoutTwice.txt The results of trying those commands