OS Name/Version: Linux Ubuntu (Intel i5-7500T) (16GB RAM) (512GB SSD)
Product Name/Version: Minecraft Java 1.21.5
Problem Description: I have started my first Minecraft world and made my Small PC as the Server Host, but it seems really laggy whenever I was in the server, alongside with my friends. All of our eating would be delayed, gathering blocks takes a second for it to spawn the block, mobs lag while moving around. Chunks also is very slow to load, and I don’t know what to do to fix the issue. I have 500MB/s up and down ethernet, but it seems to not work.
Steps to reproduce:
* Step 1
* Step 2
* Step 3
Actions taken to resolve so far:
That would most likely be due to the server’s TPS dropping, which is common on lower end hardware due to MC being mostly singlethreaded.
You can try disabling Use Synchronous IO
to see if that helps at all, otherwise make sure the server-side render distance is reasonable (the default is 10) and use the Spark plugin/mod to diagnose things further.
Sorry if I’m kinda stupid, but where would I be able to find that option?
Use the search box in the top right of AMP to find anything.
Ah cool thanks. I tried that but the mobs and everything still has a delay. Could it be playit.gg’s end or my hardware?
Wouldn’t be their hardware, but that would certainly introduce some latency when connecting to the server. It’s nearly always preferable to port forward in your router when you’re able to.
Well my router is connected to my modem, but I don’t think that’s an issue. My Internal IP Address is the same IP Address as my server PC. Is there anything I need to change at all?
Internal/private IP addresses aren’t sensitive info, since they can only be used inside your home network.
You’ll want to google “what is my IP address”, then enter that IP address into this site to test if things work:
https://mcsrvstat.us/
Also note, if you’re playing the game at home, you can use that internal IP address to connect to the server.
Well I entered my public IP on that website, nothing showed up.
I assume I put my primary endpoint minus the port on Internal IP Address?
If the port is anything other than 25565
you put your public IP plus the game port, eg:
1.2.3.4:25566
And if it’s anything other than 25565
you must port forward the new game port as well
I tried putting my public IP Address in the external port. Guess that wasn’t the right answer.
I meant to use your public IP when using that MC status checker website.
Generally your internal and external ports should be the same, and when testing to see if the port forward works you use some external test using your public IP and the external port.
Sorry about that. I put my public IP:Port onto the website and nothing showed up.
Double check to see if the WAN IP in your router matches the Public IP you got from googling “What is my IP”.
If it doesn’t match, or if your WAN IP starts with 100
, then you may be behind a CGNAT (meaning you share a public IP and can’t port forward over IPv4).
If the WAN IP does match, you might want to contact your ISP to see if they’d know what’s going on with the port forwarding.
My public IP that’s with a different number than my WAN IP. How would I be able to access CGNAT?
Using a tunneling service such as playit.gg (back to square one), or asking your ISP to see if they can give you the ability to port forward regularly.