• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

SpockBotMC/SpockBot: High level Python framework for building Minecraft clients ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

SpockBotMC/SpockBot

开源软件地址(OpenSource Url):

https://github.com/SpockBotMC/SpockBot

开源编程语言(OpenSource Language):

Python 100.0%

开源软件介绍(OpenSource 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.

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




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap