Hosted Minecraft Server Update

This is a little outside my standard realm of topics but you never know who might need it. I run a Minecraft server and with the constant updates lately I’ve noted my process to make a little easier for me not to miss a step in the process. If it helps someone else out there, you’re welcome.

Screen

I use the “screen” command to keep my server running. Whenever I need to update I need to kill the previous “screen” process first.

List server processes

ps aux

From that list you’ll be able to see your “screen” process, get the PID# and kill it.

kill #Screen PID#

Minecraft Server File

Delete the old “minecraft_server.jar” file since we won’t be needing it anymore.

rm minecraft_server.jar

Download the updated “minecraft_server.jar” file from the server.

wget https://s3.amazonaws.com/MinecraftDownload/launcher/minecraft_server.jar

A New Screen

Open up a new “screen” instance.

screen

Start the server back up within “screen”.

java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui

Leave the “screen” instance without exiting it by “detaching” it from the current terminal window.

Ctrl+a then Ctrl+d

2 Comments on “Hosted Minecraft Server Update”

  1. Hello there
    this’s very nice topic

  2. MC Servers says:

    Minecraft Server Finder is a MC Server List that tracks MC Servers that are awesome to play on. It’s crazily easy to sort the list to find the type of server you like.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>