Skip to main content

Minecraft Bedrock Edition Websocket Server

Project description

bedrockpy is a library that handles a websocket connection between your Minecraft world and your server. This library allows you to create custom commands and react to several events.

Important

This library is not meant for creating add-ons, plugins or similar things. If you are however looking for creating such creations, you might take a look at Microsofts official Minecraft Bedrock documentation

This library is meant to combine python knowledge with Minecraft or execute Python code on systems that do not provide full add-on support (such as Bedrock Edition on Consoles).

A very small example

This demonstrates the basic structure of a bot Don’t worry, there is way more to create!

import bedrock

app = bedrock.Server(
    "localhost", 6464,
    command_prefix = "$"
)

@app.event
async def on_ready(ctx):
    print("Ready!")

@app.command()
async def hello(ctx):
    """say hello"""
    ctx.tell("Hello, World!")

app.run()

Documentation

NOT AN OFFICIAL MINECRAFT PRODUCT. NOT APPROVED BY OR ASSOCIATED WITH MOJANG.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bedrockpy-0.1.1.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

bedrockpy-0.1.1-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file bedrockpy-0.1.1.tar.gz.

File metadata

  • Download URL: bedrockpy-0.1.1.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for bedrockpy-0.1.1.tar.gz
Algorithm Hash digest
SHA256 53f5e5aa349eaf6c4898a3b85593eabc3f1f6c042cf9d1a9da54834af4a9acd7
MD5 f1946e7f8c84c24f9dd1affd456cf772
BLAKE2b-256 9a91515ba187f1ccd34e879f3ee7923c4ab01c098e31c3f3965c785c85fcf97e

See more details on using hashes here.

File details

Details for the file bedrockpy-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: bedrockpy-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 14.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for bedrockpy-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ba3a5d46ff4b440a32a178f7ba055e2564fb225970f6d705e78067a148eba12c
MD5 107e4fd01be115b953ef60ff7c9c55ba
BLAKE2b-256 b90227543376982bd8a95a4c4db6ec76484399d04093b981eb8ab7a652d5db23

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page