Skip to main content

Better Minecraft Remote Console

This library utilizes SQLLite3 and Prompt Toolkit to improve upon the mccron package. Several improvements have been made to include history, word completion, and an extensive database for many Minecraft console commands.

The database is required in order to run this tool.

Cloning the Repository

You must have git installed.

git clone https://newgit.inuxnet.org/devel/bettermcrcon.git

Installation

You can install this library locally by issuing the following command. It is recommended to use a python virtual environment.

Setting up and activating the Python Virtual Environment

It is recommended to install within a Python Virtual Environment, please review your specific OS instructions to install VirtualEnv on your system.

From the directory of the repository:

python3 -m venv venv

Depending on your OS you may need to source different files. These are located in venv\scripts on Windows and venv/bin on Unix, Linux and OSX.

Windows Command Line:

venv\scripts\activate.bat

Windows Powershell:

. venv\scripts\activate.ps1

Unix, Linux, OSX:

. venv/bin/activate

To exit the Virtual Environment:

deactivate

Installing using the setup.py

All commands should be run from the root directory of the repository.

pip install -r requirements.txt
python3 setup.py install

Installing from PyPi

pip install mcterm

Usage

Installation will install mcterm inside the bin path and should be accessible. The database must be created or installed. If the database cannot be found, mcterm will attempt to create by locating or downloading the SQL Dump of the database. If this fails, the program will not run.

Usage: mcterm [--host <value>] [--port <value>] [--password <value>] [--prompt <value>]

    --host     - The hostname or IP of the Minecraft Server
    --port     - The port of the Minecraft Server is listening on for Console.
    --password - The password for the server.
    --prompt   - Custom Prompt (Defaults to '<host>:<port> >>> ')

Non-MC Commands:

<host>:<port> >>> ? <command> # Launches a browser tab for online help
<host>:<port> >>> exit        # Exits the console
<host>:<port> >>> quit        # Exits the console

Example Usage:

$ mcterm
Server Hostname or IP: 192.168.1.3
Server Port: 11111
Enter Password: secretpassword
Database is valid.
192.168.1.3:11111 >>> ? enchant
$ mcterm --host 192.168.1.3 --port 11111
Enter Password: secretpassword
Database is valid.
192.168.1.3:11111 >>> help advancement
$ mcterm --host 192.168.1.3 --port 11111 --password 'secretpassword'
Database is valid.
192.168.1.3:11111 >>> give bob iron_block 64
$ mcterm --host 192.168.1.3 --port 11111 --password 'secretpassword' --prompt 'MyServer >>> '
Database is valid.
MyServer >>> ? advancement

Metadata

Release files for mcterm 0.9.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcterm 0.9.7
File Size Uploaded Provenance
mcterm-0.9.7.tar.gz 7.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mcterm 0.9.7
File Interpreter ABI Platform
mcterm-0.9.7-py3-none-any.whl Python 3 none any Details

Total release size: 15.8 kB

Release files / mcterm-0.9.7.tar.gz

Download URL mcterm-0.9.7.tar.gz
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5cc42f223421d8f7457a6981db60a6142e59a73142c82f37532d0ba5d1bd6f98
BLAKE2b-256 checksum
How to use checksums
aa03efac0368f5ea6b44321c1513000fa600b468f5961552be0d982f38281ff2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.2

Release files / mcterm-0.9.7-py3-none-any.whl

Download URL mcterm-0.9.7-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b46609e2e8081c916b9197708fb91dcd120505cfc622e2495e7d04ac2cbb4315
BLAKE2b-256 checksum
How to use checksums
ca5bf9252e1d0ec87a6abaa90da15b308ffabe030518ead4409f9a9feb1d3e5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.2

Security for mcterm 0.9.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page