Skip to content

Instantly share code, notes, and snippets.

@phit
Last active November 11, 2024 13:00
Show Gist options
  • Save phit/be5b69b76217bb8bab7b1cd752d4c39e to your computer and use it in GitHub Desktop.
Save phit/be5b69b76217bb8bab7b1cd752d4c39e to your computer and use it in GitHub Desktop.

Updating netty manually for Minecraft 1.12

Get your minecraft_server.1.12.2.jar from the root of your server, download the last bundled jetty 4.1 version https://repo1.maven.org/maven2/io/netty/netty-all/4.1.68.Final/netty-all-4.1.68.Final.jar

Open your server jar with 7zip and navigate to minecraft_server.1.12.2.jar\io\netty\

open the netty jar file you downloaded and go to netty-all-4.1.68.Final.jar\io\netty\

back in the minecraft server jar delete these 6 folders

now simple copy the same 6 folders from the netty package into the minecraft jar

throw the jar back into the root of your server and you are done!

@GewoonJoey
Copy link

The link with the netty download does not work for me. It takes me to a blank page which only says "Forbidden".

Is there any other link I can use to get the right netty version. I tried downloading it from https://github.com/netty/netty/releases/tag/netty-4.1.37.Final but there I was not able to locate the right file I needed.

@joaco1808
Copy link

hello! when I enter the netty file I do not get the 6 files to replace

@PillowOfBricks
Copy link

For anyone struggling to find the jar folder, the latest versions do not have it for some reason... If you grab 4.1.27 on https://javalibs.com/artifact/io.netty/netty-all, you can follow the steps normally; if you don't want that old of a version, you can go up to v68 before the jar portion disappears

@Spreewald1
Copy link

Does anyone know how to find the files required now?

@PillowOfBricks
Copy link

PillowOfBricks commented Nov 11, 2024

@Spreewald1 I love link rot :D
I found a link to a maven repo that has those exact files you need (from my old 4.1.27 comment) here: https://repo1.maven.org/maven2/io/netty/netty-all/4.1.27.Final/

Download netty-all-4.1.27.Final.jar and follow the instructions as normal; I verified they are the complete same with file sizes and last modification date

image

@Spreewald1
Copy link

@PillowOfBricks Thank you so much for responding, especially on a post that’s 2 years old. 🤣

@phit
Copy link
Author

phit commented Nov 11, 2024

Updated the gist, thanks for the heads up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment