Skip to main content

A command-line tool to update PaperMC server .jar file (in-place)

Project description

papermc-updater

GitHub version PyPI version GitHub license

A command-line tool to update a PaperMC server .jar file (in-place) to the latest build. Supports latest and previous MC versions.

Installation

Requires Python 3.10+.

From PyPI

$ python -m pip install papermc-updater

or

$ pip install papermc-updater

From source

$ git clone https://github.com/tjkessler/papermc-updater
$ cd papermc-updater
$ python -m pip install .

Usage

Warning: this tool replaces the existing PaperMC server .jar file!

Command line

$ update-papermc $PATH_TO_EXISTING_JARFILE

The default MC version is 1.20.2 - specify a different MC version with:

$ update-papermc $PATH_TO_EXISTING_JARFILE --version 1.19.4

Python script

from papermc_updater import update_paper_to_latest

update_paper_to_latest("$PATH_TO_EXISTING_JARFILE", version="1.20.1")

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

papermc_updater-0.1.3.tar.gz (6.7 kB view hashes)

Uploaded Source

Built Distribution

papermc_updater-0.1.3-py3-none-any.whl (7.6 kB view hashes)

Uploaded Python 3

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