Metadata-Version: 2.1
Name: actmc
Version: 1.12.2.post1
Summary: An async Python client for Minecraft 1.12.2 Java Edition servers (offline-mode)
Author-email: Snifo <Snifo@mail.com>
License: MIT
Project-URL: Homepage, https://github.com/mrsnifo/actmc
Project-URL: Issue tracker, https://github.com/mrsnifo/actmc/issues
Project-URL: Repository, https://github.com/mrsnifo/actmc
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Games/Entertainment
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
Classifier: Typing :: Typed
Classifier: Framework :: AsyncIO
Requires-Python: >=3.12.0
Description-Content-Type: text/markdown
License-File: LICENSE

# actmc

[![PyPI - Version](https://img.shields.io/pypi/v/actmc?color=%234CAF50)](https://pypi.org/project/actmc)
[![License: MIT](https://img.shields.io/badge/License-MIT-4CAF50.svg)](https://opensource.org/licenses/MIT)
[![Python 3.12+](https://img.shields.io/badge/python-3.12+-blue.svg)](https://www.python.org/downloads/)

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:

```bash
# Linux/macOS
python3 -m pip install -U actmc

# Windows
py -3 -m pip install -U actmc
```

To install the development version, do the following:

```bash
$ git clone https://github.com/mrsnifo/actmc
$ cd actmc
$ python3 -m pip install -U .
```

**Quick Example**

```python
from actmc import Client
from actmc.ui import chat

client = Client(username='MyBot')

@client.event
async def on_ready():
    print('Connected as', client.username)

@client.event
async def on_system_message(message: chat.Message):
    print("Server:", message)

client.run('localhost', 25565)
```
