SpockBot
SpockBot currently supports Minecraft 1.8.8
Minecraft bot framework written in Python, currently under heavy development.
Protocol stuff lives in spockbot/mcp
Map stuff lives in spockbot/mcmap
Data stuff lives in spockbot/mcdata
Core client stuff lives in spockbot/plugins/core
Helpful client stuff lives in spockbot/plugins/helpers
Client could loosely be called “event-driven”. By default plugins register handler functions to handle events that may or may not be emitted by other plugins. Everything is a plugin in SpockBot, including the event loop/framework itself, so you can feel free to rip out the entire back end and replace it with your framework or paradigm of choice. As long as you provide the same simple APIs, other plugins won’t know the difference.
We’re only just getting started with documentation so if you’re uncomfortable reading source code this might not be the framework for you. Or, better yet, hop on IRC and help us write some docs!
SpockBot officially supports Python 3.x and Python 2.7.x on *nix operating systems and requires cryptography. It also runs on Windows and under PyPy 2.6.x but that’s not regularly tested and could be broken at any given moment. If you support one of those use cases and SpockBot breaks for you, submit an issue with a stack trace and we’ll try to fix it.
Features
World Interaction (finding, placing, breaking)
Vanilla Physics
Pathfinding
Inventory (player, chests, etc)
Crafting
Entity Tracking
Dependencies
Python 3.x or Python 2.7.x or PyPy 2.6.x
cryptography 0.9+
six
Installation
python3 setup.py install
Note: The cryptography library has some extra dependencies to install, you can find detailed instructions here.
Documentation
Current docs live here https://spockbot.readthedocs.org
Examples
Refer to the example bot for instructions on how to write a bot and a plugin that provides some common functionality.
Also see Extra examples and Bat bot for additional examples.
Projects Using SpockBot
Gjum/bat - High level bot
opencog/opencog-to-minecraft - Interface linking Minecraft to OpenCog
Support
Contributing
Instructions for contributing to SpockBot can be found in CONTRIBUTING
Credits
Inspired by remyroy’s COPS, a Minecraft client in Python.
COPS was a service that tracked players on a minecraft server called Civcraft. It looked like this
Protocol implementation based on barneymc.
Legal
This project is licensed under the MIT License which can be found in LICENSE
The NBT parser and the original protocol implementation came from other projects, relevant legal information and attribution can be found in LEGAL
Metadata
Release files for spockbot 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| spockbot-0.1.5.tar.gz | 73.5 kB | Without provenance | Details for spockbot-0.1.5.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| spockbot-0.1.5-py3.4.egg | Legacy Egg format | - | - | Details for spockbot-0.1.5-py3.4.egg |
| spockbot-0.1.5-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for spockbot-0.1.5-py2.py3-none-any.whl |
Total release size: 356.2 kB
Release files / spockbot-0.1.5.tar.gz
| Download URL | spockbot-0.1.5.tar.gz |
|---|---|
| Size | 73.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6f82ed038cc408182c2a0a7066e927b441ec4114e92c6a610a2bdf3d1d6ad205
|
|
BLAKE2b-256 checksum How to use checksums |
f21429ece3b0f6b76540668fcfcf5dc968f3b28c5ef3f0188ecf37f495e15f29
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / spockbot-0.1.5-py3.4.egg
| Download URL | spockbot-0.1.5-py3.4.egg |
|---|---|
| Size | 200.9 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
d08a4ca0a6cdbe3140a4f5054261ff5c2087b04d17c815ebf7dcab97f803b96c
|
|
BLAKE2b-256 checksum How to use checksums |
41fa3823e692f5b3da4bffefcd13b910b1a0caa41ff150f3ab8925e780ff56c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / spockbot-0.1.5-py2.py3-none-any.whl
| Download URL | spockbot-0.1.5-py2.py3-none-any.whl |
|---|---|
| Size | 81.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
4c6178e4bd1871758c2616b80ee5934ec015db1ee1cde336b799dc487957579b
|
|
BLAKE2b-256 checksum How to use checksums |
f96a29de707c6a9a61e57f0c9368bded11dd952944c2795989bb3fdb37f76fc1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for spockbot 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.