Hello! This is my first plugin for paper. It’s really simple, all it does is update the jar when you close the server. It only has one command, which is
/paperautoupdate update. It theoretically works on all versions of Paper and all OS’, but it’s only formally been tested on 1.15.2 and Windows. You can find all the source code and download the jar here.
This is the config file. You must replace the default values with your own before your first update, or else it will not work.
PathToStartup: The absolute path to your startup script. If you don’t have a separate startup script, leave this blank.
PathToJar: The absolute path to your paper.jar or paperclip.jar.
PathToServer: The absolute path to the folder your server is in.
RestartAfterUpdate: true if you want to restart the server after it updates, false if not. If you left PathToStartup blank, set this to jar.
If you set this as true or jar, always use the stop command and not restart.
SecondsBetweenUpdateChecks: The amount of seconds between update checks. Don’t set this too low. Anything above 20 is probably safe.
Thank you for reading, and if you have any issues, please post them on the GitHub.