Skip to main content

Better Minecraft Server Terminal

Project description

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

You must have Python Virtual Environment installed, 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 bettermcrconsole

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> >>> ')

Example Usage:

mcterm
mcterm --host 192.168.1.3 --port 11111
mcterm --host 192.168.1.3 --port 11111 --password 'secretpassword'
mcterm --host 192.168.1.3 --port 11111 --password 'secretpassword' --prompt 'MyServer >>> '

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

mcterm-0.9.2.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

mcterm-0.9.2-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file mcterm-0.9.2.tar.gz.

File metadata

  • Download URL: mcterm-0.9.2.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.20

File hashes

Hashes for mcterm-0.9.2.tar.gz
Algorithm Hash digest
SHA256 fb3105e42623dc8ce5adb7ed4d362e82189a70dc5a58d9456b2217d20bfb1a08
MD5 afa6a5e6f42d8dd092edc0bfe0e69799
BLAKE2b-256 223b9e84de96095b27ab2c90c9b344fd82ab580457b2d6cd2978dda0964606f8

See more details on using hashes here.

File details

Details for the file mcterm-0.9.2-py3-none-any.whl.

File metadata

  • Download URL: mcterm-0.9.2-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.20

File hashes

Hashes for mcterm-0.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a69b9f4a1ad15108641585d184cf84de2a1dbfb98d47f078791d8919a2598056
MD5 18dce0e39e7718002e5bece0d70a30e8
BLAKE2b-256 b0cfd5d9207ad7c798977c7408f31b3d26358945375066a0231d980d5f07a963

See more details on using hashes here.

Supported by

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