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.1 - 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.1.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

papermc_updater-0.1.1-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file papermc_updater-0.1.1.tar.gz.

File metadata

  • Download URL: papermc_updater-0.1.1.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for papermc_updater-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f8e5d5be48d84a79860fba5f5189641225db4ebc8c1fad3d788bb5ec9c0243a4
MD5 bde5db846b8806f0a5e0fcd2f4c9a58f
BLAKE2b-256 d5f3fe4efbb5e27aad08ddf3ef2889e5b107ab2a0c009ecbd8c02bc81baf52ba

See more details on using hashes here.

File details

Details for the file papermc_updater-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for papermc_updater-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2295dd8c18d6920410a9660b7a062127e41ba286462e4c6162b99a6024009e7d
MD5 06f64b1e80e7edaa279f0929b96d9ebe
BLAKE2b-256 fc1c7cd022b8a2e9b048dced789af99b67538ca71591cacd78cd85652d451eb1

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