9.4 KiB
About this Fork
This fork adds support for multiple servers with a server switching system
server [servername]
As well as a new config file config.yaml
Servers:
Srv1:
Connection: local
ServerRootPath: C:/Users/USER/Desktop/server
PluginFolderPath: C:/Users/USER/Desktop/server/plugins
SeperateDownloadPath: false
Srv2:
Connection: sftp
ServerRootPath: /
PluginFolderPath: /plugins
SeperateDownloadPath: /plugins/updated
Server: mc.example.com
Username: joe
Password: pass
Port: 22
Srv3:
Connection: ftp
ServerRootPath: /
PluginFolderPath: /plugins
SeperateDownloadPath: false
Server: mc.example.com
Username: joe
Password: pass
Port: 21
AnotherServerName:
Connection: local
ServerRootPath: /srv/mc
PluginFolderPath: /srv/mc/plugins
SeperateDownloadPath: /srv/mc/plugins/downloaded
# more can be added
Features I plan to add in the future
- Improved CLI with support for one word commands
- Modular plugin and serverjar system / more repos
- Batch actions across multiple servers
pluGET
A powerful package manager which updates Plugins and Server Software for minecraft servers.
About
pluGET is a standalone package manager written in python for minecraft Spigot servers and its forks (e.g. PaperMC). The program works with a locally installed servers or with a remote host through SFTP/FTP, when configured in the config. It uses the Spiget API to download and compare plugin versions and download the latest version of plugins from the Spigot site. It can also compare and download the latest update of specific server software (e.g. PaperMC).
Plugin management is the hard part of managing a minecraft server. The time it takes to manually check the Spigot resources page for updates and manually downloading all plugins is too long and daunting. So I built pluGET to automate and ease the plugin handling of a minecraft server and to turn the most time consuming part of managing a minecraft server to an easy one.
This program is suited for minecraft server owners who want to save time and stay on top of their plugin versions. The program input and the associated config file are pretty simple so every server owner and not only the most tech savy ones can use pluGET to ease their plugin handling.
Features
- Works locally or through SFTP/FTP
- Runs directly from the console with command line arguments
- Checks for updates and downloads the latest version of all/specific plugins
- Checks for updates and downloads the latest version of your server software
There are more features in the work. Check Projects for a complete list.
So why do it manually when you can use pluGET to automate it? 🚀
Get the latest release here.
Donations ☕
If you feel like showing your love and/or appreciation for this project then how about buying me a coffee? ☕🤎
Need help?
Installation
1. Python 3.10.4
Python needs to be installed on your machine. Get it here.
2. Dependencies
In order to install dependencies run the install_requirements_WINDOWS/LINUX
file, of course depending on your system.
3. Edit the config
When run pluGET for the first time, the pluGET_config.yaml
file will be created in the main folder and the program will close.
Edit the config to your needs and relaunch pluGET.
Now you are good to go!
4. Running the program
Execute the pluget.py
file with python in the \pluGET
folder.
This will launch pluGET correctly.
# Windows:
py pluget.py
# Linux
python3 pluget.py
Usage
As always, if you update plugins, shut down your server!
Commands:
• Show the information about all commands.
help command [all/command]
• Exit program:
exit .
• Get link to this page:
help .
Manage Plugins
• Download the latest update of a specific package:
get [pluginID/pluginName]
• Check all plugins/one specific plugin for updates with optional changelog output:
check [all/pluginName] [changelog]
• Update all plugins/one specific plugin:
update [all/pluginName]
• Remove a plugin with the ID/Name:
remove [pluginID/pluginName]
• Search for a plugin:
search [pluginName]
Manage Server Software
• Check installed server software for updates:
check serverjar
• Update installed server software to latest/specific version:
update serverjar [Version]
• Download specific paper version:
get-paper [paperBuild] [minecraftVersion]
• Download specific waterfall version:
get-waterfall [waterfallBuild] [minecraftVersion]
• Download specific velocity version:
get-velocity [velocityBuild] [minecraftVersion]
• Download specific purpur version:
get-purpur [purpurBuild] [minecraftVersion]
Command line arguments
pluGET supports all commands directly through the command line. Get the list of all available command line arguments with the -h
argument.
Example direct command line call:
py pluget.py check all
Known problems
Can't get latest version/Update available
Inconsistent Names and Versions
Example:
EssentialsX is a prominent example of inconsisten version naming. The installed version is 2.18.2.0
but on Spigot the version is only described as 2.18.2
.
That's the reason pluGET can't detect it automatically.
There are of course many more plugins which have some sort of inconsistency which makes it sadly impossible for pluGET to detect them all. EssentialsX is used only as an example.
Solution
Download the plugins with the get [pluginName]
command to make them detectable for pluGET.
After downloading EssentialsX with get EssentialsX
and using check all
:
EssentialsX is now detected from pluGET and can update automatically when a new version comes out.
Bukkit plugins
Example:
As you can see the installed version was found but not the latest version for this plugin.
This is because this is a plugin which is not available on Spigot.
pluGET supports currently only plugins from Spigot.
In this example this is a bukkit plugin.