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()
NOT AN OFFICIAL MINECRAFT PRODUCT. NOT APPROVED BY OR ASSOCIATED WITH MOJANG.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53f5e5aa349eaf6c4898a3b85593eabc3f1f6c042cf9d1a9da54834af4a9acd7 |
|
MD5 | f1946e7f8c84c24f9dd1affd456cf772 |
|
BLAKE2b-256 | 9a91515ba187f1ccd34e879f3ee7923c4ab01c098e31c3f3965c785c85fcf97e |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba3a5d46ff4b440a32a178f7ba055e2564fb225970f6d705e78067a148eba12c |
|
MD5 | 107e4fd01be115b953ef60ff7c9c55ba |
|
BLAKE2b-256 | b90227543376982bd8a95a4c4db6ec76484399d04093b981eb8ab7a652d5db23 |