This is a Paper plugin made for 1.20.1+, it allows you to automatically synchronize your ItemsAdder contents folder with a public or private GitHub repository that you own. It will automatically create a webhook on your repository using the given configuration to know exactly when a new release is published and update your server's contents folder and resource pack — it is made to work on multiple server at the time.
Showcase
config.yml
Code (YAML):
webhook_url
: https://example.com:8080/github-release
# a public IP to update your server as soon as a new release is published
webhook_port
: 8080
# the available port you want to use
use_webhook
: true
# If false, the plugin will not use the webhook to update the content folder. You will have to restart the server to update it.
github_token
:
# The GitHub that will be used to manage webhooks and download the releases
repo_owner
: owner
repo_name
: repo
# it can be private
exclude_folders
:
# folders that will not be deleted or updated
- _iainternal
# You can also put '.idea' '.vscode' etc. if needed
Setup Tutorial
![[IMG]](//proxy.spigotmc.org/666cbe1397ad0d144b3b29f56cd3eaa12e0141f8/68747470733a2f2f6273746174732e6f72672f7369676e6174757265732f62756b6b69742f4974656d734164646572436f6e74656e7453796e6368726f6e697a65722e737667)