1/8/2024 0 Comments Server minecraft paperYou have Minecraft $mc_version Build $current_build"Įcho "The latest for Minecraft $mc_version is build $latest_build" If thenĮcho "There is a newer build of Paper available. Latest_build=$(curl -s $mc_version | jq -r '.builds | last')ĭownload_url=" $mc_version/builds/$latest_build/downloads/paper-$mc_version-$latest_build.jar" Update check and prompt !/bin/bash VariablesĬurrent_build=$(grep -text 'This server is running Paper version' logs/latest.log | awk '' | sed 's/.*git-Paper-(+)/\1/') This is designed to run on a Linux server so this script will need to be in a bash sh script. I also use the screen command so I can run my server even while I log out so adjust it for your needs. For example, I have my server files in a folder called “Minecraft Server” so adjust that line for your specific server. In the script below, there are a few variables that you will need to adjust to your specific server. Using ChatGPT as a resource to write this, I created an automatic updater and start server script that does this for me. It has been working great but I noticed there are frequent updates to it that require me to manually download and update my server. I have a private Minecraft server that runs Paper. This might be helpful to others so I figure I post this. Join us on Discord for in-depth discussions! Users may make one promotional self-post per month about their own content.ĭirect posts to one of the subreddit megathreads when appropriate. Self-promoted links to revenue generating content are not allowed. Using your server as an example is allowed. Friendly suggestions and constructive criticism are fine. Submit content that's relevant for Minecraft administrators and developers. Hello and welcome to /r/admincraft! This subreddit is for Minecraft administrators and developers who are serious about cultivating a quality server with a quality community. Welcome to /r/admincraft! Read this guide before posting.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |