A simple tool to download or update Minecraft Java server and launcher.
Project description
"mcget" is a simple tool to download and update the Minecraft server or/and launcher.
Features
- Install or update the Minecraft server (
server.jar) in any directory. - Install or update the Minecraft Java launcher (
launcher.jar) in any directory (This launcher variant was chosen because it works on every OS and only requires Java installed). - Downloads files only if outdated or not installed.
- Uses the SHA1 hash provided by Mojang API to check download integrity and check if a file needs to be updated.
- Performs the operation on server and launcher in parallel to improve update performance.
Installation
"mcget" can be installed using pip and require Python >= 3.6:
pip3 install mcget
Usage
"mcget" is a simple command line utility that support following arguments:
--launcheror-l: If specified, install or update the launcher.--serveror-s: If specified, Install or update the server.--out_diror-o: Output directory. Default to current directory if not specified.--quietor-q: If specified, hide outputs.--version: If specified, return "mcget" version and exit.
Examples
Installing (or updating) the launcher and the server in a the /opt/minecraft
directory:
mcget --launcher --server --out_dir=/opt/minecraft
# Or with a shorter syntax:
mcget -lso /opt/minecraft
Installing (or updating) the server only in the current directory:
mcget --server
# Or with a shorter syntax:
mcget -s
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcget-1.0.3-py3-none-any.whl.
File metadata
- Download URL: mcget-1.0.3-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f9b8aaea366757cd6af175506b85a9cadf73d012ad38db8b215772e77f811aa
|
|
| MD5 |
1be6508bc08261fb0d53a21d5e846ced
|
|
| BLAKE2b-256 |
57b353b28c6bf0a14ec1954d241a70ace23c4860f0630723c06c9f55b952ea40
|