added extra lag fixing information for client lag

This commit is contained in:
Alexander Bell 2025-05-06 21:44:35 +02:00
parent 2d59781193
commit d44159fd3e

View File

@ -1,12 +1,23 @@
# How to Improve Lag # How to Improve Lag
## Client Lag
If the `TPS` (Press Tab to see it) is `20` then the server is *not* lagging and it's your client. You can try the following to troubleshoot your client connection:
- Restart your router.
- Try joining the server with [Raknetify](./Features/raknetify.md).
- Using a VPN to Germany might also help.
- If everyone on the server has a bad ping (type `[ping]` in chat) then immediately inform the server owner!
## Server Lag
We're all playing on the same server and sharing the same ressources. If everyone makes just very small changes to their farms and redstone, it can have a huge impact on server performance. We're all playing on the same server and sharing the same ressources. If everyone makes just very small changes to their farms and redstone, it can have a huge impact on server performance.
Better performance allows us to build even crazier Redstone contraptions and use a larger simulation distance without lagging the server. Better performance allows us to build even crazier Redstone contraptions and use a larger simulation distance without lagging the server.
Below are a few things that you can do to improve server lag without having any impact on your gameplay: Below are a few things that you can do to improve server lag without having any impact on your gameplay:
## Disable villager AI ### Disable villager AI
:::danger[High Impact] :::danger[High Impact]
::: :::
<details> <details>
@ -18,7 +29,7 @@ Villagers often contribute to 60-80% of the entity lag on a server. That's becau
2. Put the lectern (or other workbench) in front of it. 2. Put the lectern (or other workbench) in front of it.
3. Put a magma block underneath the lectern. 3. Put a magma block underneath the lectern.
## Optimize hoppers ### Optimize hoppers
:::danger[High Impact] :::danger[High Impact]
::: :::
<details> <details>
@ -29,7 +40,7 @@ Hoppers can contribute to server lag because they constantly check for items to
- Put a composter or furnace above every hopper that has no other hopper above it and does not need to pick up items. - Put a composter or furnace above every hopper that has no other hopper above it and does not need to pick up items.
- Avoid very long hopper chains. Use water instead. - Avoid very long hopper chains. Use water instead.
## Avoid light-level changes ### Avoid light-level changes
:::warning[Medium Impact] :::warning[Medium Impact]
::: :::
<details> <details>
@ -42,7 +53,7 @@ When a light source is added, removed, or changes state (e.g., turning on a reds
- Use as little Redstone wire as possible (observers are often more efficient) - Use as little Redstone wire as possible (observers are often more efficient)
- Light up the area around the contraption! If the light level is above 7 at the Redstone (which is the light level of powered Redstone) then the light level changing algorithm won't be triggered. - Light up the area around the contraption! If the light level is above 7 at the Redstone (which is the light level of powered Redstone) then the light level changing algorithm won't be triggered.
## Turn off gravity of decorational armor stands ### Turn off gravity of decorational armor stands
:::warning[Medium Impact] :::warning[Medium Impact]
::: :::
<details> <details>
@ -55,7 +66,7 @@ Armor stands have gravity by default and can be moved by water and other physics
3. Right-Click 3. Right-Click
4. Click the ghast tear to toggle the gravity. 4. Click the ghast tear to toggle the gravity.
## Avoid building many farms at one spot ### Avoid building many farms at one spot
:::info[Low Impact] :::info[Low Impact]
::: :::
<details> <details>
@ -65,7 +76,7 @@ If all of your farms are at one spot they are all being loaded at the same time
- Build **multiple** farm districts for your farms. Only have a selective set of farms at your base. - Build **multiple** farm districts for your farms. Only have a selective set of farms at your base.
## Avoid having too many entities in your base ### Avoid having too many entities in your base
:::info[Low Impact] :::info[Low Impact]
::: :::
<details> <details>