Giter VIP home page Giter VIP logo

spockbot's Introduction

SpockBot

Build Status Docs Status Coverage Status

SpockBot currently supports Minecraft 1.8.8

Minecraft bot framework written in Python, currently under heavy development.

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

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

Support

#spockbot on Freenode
gamingrobot or nickelpro in #mcdevs on Freenode

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.

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

spockbot's People

Contributors

gamingrobot avatar nickelpro avatar gjum avatar txomon avatar luken avatar jasperbok avatar barneygale avatar jerryhigarr avatar guineawheek avatar nicoxxl avatar beanthemoonman avatar smilechaser avatar pickardjoe avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.