Skip to main content

Simple CLI tool to manage minecraft plugins on your server

Project description

What is Mineager?

It's a plugin manager for your Minecraft server, but not in it's traditional sense. It provides a simple CLI to check if there are plugin updates available, and can download them for you.

Current state

Mineager is in alpha - bugs are expected.

How to use

See mineager --help for more information.

Install a new plugin from URL

Mineager tries to automatically detect plugin information from URLs.

To install new plugin, run mineager plugin install <URL>. It'll try to detect the name of the plugin, but it can be overwritten by --name option.

If you want to track the plugin, but don't want to download it, run mineager plugin add <URL>. The plugin will be added to the config, and can be later downloaded with mineager plugin update.

Important note

Some plugin types can extract all necessary information just from the plugin page, but some, i.e. Jenkins, require direct link to jar file. It's always safer to use full download URL.

Install a new plugin directly

Github.com releases

All github repositories are in https://github.com/<OWNER>/<REPO_NAME>. Mineager uses <OWNER>/<REPO_NAME> part, to identify the resource.

Let's say you want to install WanderfulAdditions plugin which has GH releases. Head over to github page: https://github.com/Prof-Bloodstone/WanderfulAdditions Copy resource identification (Prof-Bloodstone/WanderfulAdditions), and run:

mineager plugin manual install --type github --name 'WanderfulAdditions' --resource 'Prof-Bloodstone/WanderfulAdditions'

The latest release will automatically be downloaded and installed.

Spigot.com

Unfortunately, Spigot download page is behind CloudFlare, which makes it not possible to automatically download plugins.

Mineager will still provide information about plugin status, and give direct download links to manually download it.

All spigot resources are under: https://www.spigotmc.org/resources/<NAME>.<ID>/. Mineager uses <ID> to identify the plugin.

Let's say you want to install EssentialsX from Spigot website for some reason. From https://www.spigotmc.org/resources/essentialsx.9089/, the resource id is 9089. Install it by running:

mineager plugin manual install --type spiget --name 'EssentialsX' --resource '9089'

Adding new plugins, without installing

If you want to add new plugin to config list, without downloading it first, use the add command. Its usages is just like for install command.

Checking for plugin updates

If you want to check, if there are any updates available, simply run: mineager plugin status

Updating all plugins

After checking that there are plugin updates available and you want to download newer versions, simply run mineager plugin update. If you have a plugin that needs to be downloaded from CloudFlare protected site, you'll be given a direct download link for it.

Developing Mineager

I HIGHLY recommend using a virtualenv - I personally prefer using pyenv with the pyenv-virtualenv module. It also has an easy to use pyenv-installer.

I'm developing it on Python 3.7.6, but it should work on Python 3.6+.

To install newest version of all packages and be able to use mineager command with all the changes you make, I recommend using pip install --editable ..

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

mineager-0.1.0.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

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

mineager-0.1.0-py3-none-any.whl (37.6 kB view details)

Uploaded Python 3

File details

Details for the file mineager-0.1.0.tar.gz.

File metadata

  • Download URL: mineager-0.1.0.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.6

File hashes

Hashes for mineager-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6f53768f902142960ff024d44b85a1b3132c02236813405ebfa550733a12cf4c
MD5 a382c753bbd045fa16cbc5bb1230f46d
BLAKE2b-256 0a0fc130ee621db1cfe68f27d655c42572cd4503ae2207ae0986351da73c3fb4

See more details on using hashes here.

File details

Details for the file mineager-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mineager-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 37.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.6

File hashes

Hashes for mineager-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d05b0b2263b53544dfc3ada2fdc6ba1b8ee738f5273f260797b356f16cd39baf
MD5 429a98856745c71641a73cb1ba339791
BLAKE2b-256 c66e296d1606e3026b308185f0d87f35402aa8512a0c9926584b6eb5e56d8019

See more details on using hashes here.

Supported by

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