Skip to main content

mserv

A simple wrapper for managing your Minecraft servers.

What is it?

Mserv is a little commandline utility I wrote in Python to help me better manage my, and my friends' Minecraft servers.

Mojang offers a DIY server.jar file which you can execute and host a server on your own PC for free. But, what if I wanted separate servers? What if I don't care to go to the Minecraft website and download the file myself? Or, what if I don't care to remember the server execution parameters?

Mserv serves to simplify many of these processes, and should make efforts to help those less tech-savvy.

What can it do?

This is a wrapper around the official server.jar from Mojang As of right now, it can...

  • Download and generate files from the official server executable
  • Start and shutdown the server
  • Displays network connection information (public ip, port number) so others can join your server
  • Can update the server executable (This is still in testing)
  • Update itself (just run pip install --upgrade mserv)

What can it NOT do?

This script can not:

  • Port forward for you (You have to do that yourself)
  • Execute multiple servers at the same time

Requirements

  1. Java
  2. Python version 3.8 or above

Installation

  1. EASY - Use Python's package manager pip:
pip install mserv

or

  1. TRICKY - Clone this repository:
git clone https://github.com/mexiquin/mserv.git

Then execute mserv.py located in the mserv directory

python3 ./mserv/mserv/mserv.py

Generated Help Page

Usage: mserv.py [OPTIONS] COMMAND [ARGS]...

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  run
  setup   Create a new server.
  update  Download a fresh server.jar file from Mojang.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mserv-0.8.4.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mserv-0.8.4-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file mserv-0.8.4.tar.gz.

File metadata

  • Download URL: mserv-0.8.4.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.9.1 Linux/5.4.0-65-generic

File hashes

Hashes for mserv-0.8.4.tar.gz
Algorithm Hash digest
SHA256 53cbc5c8fae5ccd5b92c43a1cb04fd2eb186c95dce8164234dc7d18157c7dcbd
MD5 f62087e6b47355e3fdef443afb7dbd6d
BLAKE2b-256 d85a9c231b688e7aa58b8f84bf801bdcfa009343830a0e0c8069a95da000c62e

See more details on using hashes here.

File details

Details for the file mserv-0.8.4-py3-none-any.whl.

File metadata

  • Download URL: mserv-0.8.4-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.9.1 Linux/5.4.0-65-generic

File hashes

Hashes for mserv-0.8.4-py3-none-any.whl
Algorithm Hash digest
SHA256 11a04e74f1a68e61ece118a5228cd57ac22531a63a903281a69e293589432657
MD5 2d576828c98e249d859e265f04404f00
BLAKE2b-256 3365dfbffb87d4d09bc5ed3148d8139eeb986747197d65243e1049a1d1c61aff

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.8.4 This release

2 files

0.8.2

2 files

0.8.1

2 files

0.8

2 files

0.6

2 files

0.5

2 files

0.4

2 files

0.3

1 file

0.2

1 file

0.1

3 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page