You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GitPull: A self-explanatory Paper plugin for Minecraft 1.21 by Calverin
Setup
Download the plugin from the GitHub releases page.
Put the plugin in your server's plugins folder.
Create a gitpull.config file in your server's root folder, see below for an example. Fill it in with your repository's information.
Create an ssh file called id_ecdsa.
Use ssh-keygen -t ecdsa -b 521 -m PEM -C "<your-email>" to generate one.
Run chmod 600 id_ecdsa to fix the file permissions.
Put the id_ecdsa file in the .ssh folder in your server's root folder.
Run cat id_ecdsa.pub and copy the output.
Go to your repository's settings page on GitHub.
Click on "Deploy Keys" in the sidebar.
Click on "Add Deploy Key".
Paste the output from the cat command into the key field.
Give it a name and click "Add Key".
Start your server! Check the console for any errors.
Syntax
/gitpull - Pulls the latest changes from the configured default branch.
/gitpull [branch] - Pulls the latest changes from the specified branch.
GitPull Config Example File
# GitPull Configuration# world: The name of the world foldergitpull.world=world
# ssh: The SSH URL of the repositorygitpull.ssh=git@github.com:<Username>/<Repo>.git
# branch: The default branch to pull fromgitpull.branch=main
About
A self-explanatory Paper plugin for Minecraft 1.21 by Calverin