in

How to Update Minecraft Server

How to Update Minecraft Server

When Minecraft gets updated, it’s essential to update your server so that players can continue their block-building journey without interruptions and using the latest features. Thankfully, updating your Minecraft server is easy as pie. Even better is the fact that you can easily do it no matter which system the server uses, be it Windows, Linux, or OS X. Without further ado, here’s how to update Minecraft server!

How to Set Time in Minecraft

How to Update Minecraft Server Using Windows

  1. First, open your Minecraft server folder, which contains all the files related to your server.
  2. Next, you should make a copy of your server’s configuration files so that you can restore them after the update. These files are:
  • Banned-ips.txt
  • Banned-players.txt
  • txt
  • properties
  1. Make a copy of the “World” folder. It will also be restored once the update is complete.
  2. If you use a script, make a copy of its files.
  3. Once you’ve taken care of the backup process, delete everything in the server’s folder.
  4. Head over to the Minecraft Server Download page and download the new version of the server. Download the EXE file if you’re using a Windows server and the JAR file if you’re using Linux or OS X.
  5. Rename the server file by removing the version number so that your old scripts remain compatible.
  6. Move the new server file to your Minecraft Server folder.
  7. Run the server file.
  8. Close the server as soon as the files finish installing.
  9. In the folder, you’ll find a file named eula.txt. Open it.
  10. Find the eula=false line and change it to eula=true. Save the file and exit the text editor.
  11. Congratulations! The update is now complete! You may start your server now.
  12. How to Update Minecraft Server Using Linux’s Command Line

You’ll pretty much follow the same steps specified above but using the command line instead of the visual interface of Windows. Here’s how to update your game server using the command line:

  1. Open the Minecraft server folder using the following command: cd /Minecraft
  2. Create a backup of the “World” folder using the following command: sudo cp -r world world-backup
  3. Create a copy of the current Minecraft server file using the following command: sudo cp minecraft_server.jar minecraft_server.jar-backup
  4. Head over to the Minecraft Server Download page and copy the link of the new version.
  5. Download the new version to your server using the following command: sudo wget [URL]
  6. Next, you need to stop the server. To do so, attach to the screen session using the command “screen -r” then press CTRL + C.
  7. Install the new server version using the following command: sudo mv minecraft_server.X.jar minecraft_server.jar. Replace X with the version’s number.
  8. Start a new screen session using the command: screen -r
  9. Finally, use the following command to restart your server: java -Xms1G -Xmx1G -jar minecraft_server.jar nogui
  10. You can use CTRL + A, CTRL + D to detach from this session.

What do you think?

Written by Siddhesh Jain

My name is Siddhesh Jain, and I'm the fastest man alive (when it comes to learning, that is). I've been acquiring knowledge and learning new strategies for years, and I'm here to share my vast experience with you. What's my goal? Simple, I want to help every young entrepreneur succeed. Follow me on my journey!