An async Python client for Minecraft 1.12.2 Java Edition servers (offline-mode)
Project description
actmc
An async Python client for Minecraft Java Edition 1.12.2 servers that run in offline mode.
Key Features
- Modern async/await API.
- Comprehensive protocol support.
- Optimised in both speed and memory.
Installing
Python 3.12 or higher is required
To install the library, you can just run the following command:
# Linux/macOS
python3 -m pip install -U actmc
# Windows
py -3 -m pip install -U actmc
To install the development version, do the following:
$ git clone https://github.com/mrsnifo/actmc
$ cd actmc
$ python3 -m pip install -U .
Quick Example
from actmc import Client
from actmc.ui import chat
client = Client(username='Steve')
@client.event
async def on_ready():
print('Connected as', client.user.username)
@client.event
async def on_system_message(message: chat.Message):
print("Server:", message)
client.run('localhost', 25565)
Documentation
For more detailed instructions, visit the actmc Documentation.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file actmc-1.12.2.post3.tar.gz.
File metadata
- Download URL: actmc-1.12.2.post3.tar.gz
- Upload date:
- Size: 88.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2fdb3cf9250c49ef46f70f80cb424a45af4eb3c216af6608d2a4f2182d14c852
|
|
| MD5 |
2f11dcf40f800288d3277c71b23da294
|
|
| BLAKE2b-256 |
5365cad9f2bfb7e2ed5b01852945b5a59dea5919347a363c80544af711079a72
|
File details
Details for the file actmc-1.12.2.post3-py3-none-any.whl.
File metadata
- Download URL: actmc-1.12.2.post3-py3-none-any.whl
- Upload date:
- Size: 126.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab44cac94ac90adcedcde93d2c73ab7952355d7e602ef742514be0fc2caa631e
|
|
| MD5 |
750f244ff4874e408ccaf33929a37d8a
|
|
| BLAKE2b-256 |
9e0f081c16ff3fbec3cf91b95b3e3af09d207c78cbb6403dcbaa6757f5e8321f
|