Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/answering007/mcms

Send commands remotely to the Spigot server
https://github.com/answering007/mcms

minecraft remote spigot

Last synced: 12 days ago
JSON representation

Send commands remotely to the Spigot server

Awesome Lists containing this project

README

        

# mcms - minecraft message service

[![PyPI - Version](https://img.shields.io/pypi/v/mcms.svg)](https://pypi.org/project/mcms)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mcms.svg)](https://pypi.org/project/mcms)

-----

**Table of Contents**

- [mcms - minecraft message service](#mcms---minecraft-message-service)
- [Overview](#overview)
- [Quick example](#quick-example)
- [Installation](#installation)
- [License](#license)

## Overview
This is an example that uses a [MessageServer](https://github.com/answering007/MessageServer) for Spigot to send commands

Build

## Quick example
```python
# Import section
from mcms.connection import Connection

# Setup connection
connection = Connection("localhost", 8000, ("Admin", "123"))

# Say Hello World to server
response = connection.execute_commands("say hello world!")
print("Command result:", response)
```
Extra examples can be found **[here](https://github.com/answering007/mcms/tree/master/examples)**
## Installation

1. Download latest release
2. Install from wheel file:
```console
pip install "path_to_the_mcms_wheel_file.whl"
```

## License

`mcms` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.