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.post1.tar.gz
.
File metadata
- Download URL: bedrockpy-0.1.1.post1.tar.gz
- Upload date:
- Size: 13.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a006144c2156ec97fa895c7eb830219ddbd50d54eb616c208367d5901cb926f |
|
MD5 | 9c83854e6ce63f0ea7212f0d1c5ccdb5 |
|
BLAKE2b-256 | c7c243de72b4c140f69e046c9551b509b012e974dda002298a3ad40d47ff4ee1 |
File details
Details for the file bedrockpy-0.1.1.post1-py3-none-any.whl
.
File metadata
- Download URL: bedrockpy-0.1.1.post1-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 | ef56c0d714484f4e3d2f371471c2d55f789437915011fd571001a71dac700ae4 |
|
MD5 | 1fb228322a5886a8f1de0f7445cdb5a9 |
|
BLAKE2b-256 | ab78f7634815560d4d47cc458e5050279428f17d6e1bd0e4c51e6d6bd7d4c283 |