Skip to main content

An async Python client for Minecraft 1.12.2 Java Edition servers (offline-mode)

Project description

actmc

PyPI - Version License: MIT Python 3.12+

An async Python client for Minecraft 1.12.2 Java Edition servers (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 and Support

For more detailed instructions, visit the actmc Documentation.

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

actmc-1.12.2.post2.tar.gz (86.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

actmc-1.12.2.post2-py3-none-any.whl (124.9 kB view details)

Uploaded Python 3

File details

Details for the file actmc-1.12.2.post2.tar.gz.

File metadata

  • Download URL: actmc-1.12.2.post2.tar.gz
  • Upload date:
  • Size: 86.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for actmc-1.12.2.post2.tar.gz
Algorithm Hash digest
SHA256 ad5c37ba86fab08594b16ae380f95e077543a6b51166bf3aae1cc6c987862673
MD5 06904d84b1e3182889976a23a4d29201
BLAKE2b-256 936d1a88b77d89463fd6e39283b372575a560dc56679ada670cd076e54faf2c2

See more details on using hashes here.

File details

Details for the file actmc-1.12.2.post2-py3-none-any.whl.

File metadata

  • Download URL: actmc-1.12.2.post2-py3-none-any.whl
  • Upload date:
  • Size: 124.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for actmc-1.12.2.post2-py3-none-any.whl
Algorithm Hash digest
SHA256 c60d81e444a07cd68157f5b7fa1a05ed80bb623afb629b265d34843f6aa8b215
MD5 02d5a8f2d525d3ec3fb73a7ee525aae2
BLAKE2b-256 6cd67b91c27d9aa276894e7e7988085e09caa6520e1c3ca88d4b99bf60857a22

See more details on using hashes here.

Supported by

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