This set of small python scripts is aimed to help you manage your server plugins.
It is primarily used by me to automatically update my server. Expect breaking changes when I want to make some or broken software (since I don't test before I commit...)
- Every plugin has a "version requirement" - and a plugin will only get copied into servers supporting the "
requirements".
- The plugin is also able to detect "increments" of these requirements automatically.
- Can auto-detect if a file has been changed locally or a new build has been released
- Task system
- Convenient WebAccessField syntax
- Clone the repository. (
git clone https://github.com/Qrashi/minecraft-plugin-downloader.git
) - Install the requirements:
pip install -r requirements.txt
- Execute
update.py
. This will generate all default configurations, create the default servers directory and download information about current minecraft versons from the paper-api.
- Download your software / dependency / plugin.
- Put the dependency into the software folder (name of folder can be changed in
config.json
) - Execute
manager.py
and follow the given instructions.
If you would like for the script to auto-download new versions of pugins, please refer to data_info.md
and examples.md
.
Otherwise,
- replace the old software with the new one (in the software folder).
- If you want to specify that this version of the software has other version compatibility than the old one, please run
manager.py
and follow the on-screen instructions. - Next time you execute
update.py
, the program will notify that it has detected changes to the software.
- If you would like to remove a dependency, please delete it from the software folder.
- Run
manager.py
and follow the on-screen instructions.
TODO
For a more detailed overview of the different json files, please view the data_info.md
file in "data/"