Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upstream test #1

Open
wants to merge 48 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
1b30885
minor adjustments
YouHaveTrouble Sep 19, 2021
58721f8
introduce list of items that often drop in huge amounts
YouHaveTrouble Sep 19, 2021
a5fb016
no-tick chunks respect client render distance
YouHaveTrouble Oct 15, 2021
7d22f10
include new limit for glow squids and axolotls
YouHaveTrouble Oct 18, 2021
10f8c0c
Airplane is no longer updated
encode42 Nov 30, 2021
834b5bf
cpu scaling is really debatable
YouHaveTrouble Nov 30, 2021
8dad9af
general updates
YouHaveTrouble Dec 1, 2021
532fb1d
temporary mid-update notes
YouHaveTrouble Dec 1, 2021
f07cafd
1.18 Change
Pantera07 Dec 5, 2021
7c10540
Merge pull request #61 from Pantera07/patch-2
YouHaveTrouble Dec 5, 2021
f8f64df
deleted tuinity
arsmotorin Dec 5, 2021
9f305c7
adding patinamc
arsmotorin Dec 5, 2021
87af8c6
del patinamc
arsmotorin Dec 5, 2021
0d5c41f
Merge pull request #62 from cubelius/patch-1
YouHaveTrouble Dec 5, 2021
20f8123
Java 17
Pantera07 Dec 6, 2021
180ece8
Merge pull request #63 from Pantera07/patch-3
YouHaveTrouble Dec 6, 2021
2708939
monster-spawn -> monster-spawns
FishyFissh Dec 11, 2021
4a75d3e
Merge pull request #64 from FishyFissh/patch-1
YouHaveTrouble Dec 13, 2021
57a0f84
Fix broken paper.yml link
encode42 Dec 19, 2021
b1d7df3
Clarification on view-distance totals
encode42 Dec 19, 2021
efadb23
view and simulation distance
YouHaveTrouble Dec 25, 2021
a021ff6
Merge remote-tracking branch 'origin/main' into main
YouHaveTrouble Dec 25, 2021
a349296
I messed up a commit, sorry
YouHaveTrouble Dec 25, 2021
cc47156
mojang naming is bad, prove me wrong
YouHaveTrouble Dec 27, 2021
fbead6a
Purpur is now a pufferfish fork.
Pantera07 Jan 5, 2022
b8620b5
Merge pull request #66 from Pantera07/patch-1
YouHaveTrouble Jan 5, 2022
cae7082
Bring back the Lobotomizer
Pantera07 Jan 28, 2022
2aa46e2
Merge pull request #68 from Pantera07/patch-1
YouHaveTrouble Jan 28, 2022
c26f1cb
remove projects not relevant to 1.18
YouHaveTrouble Feb 5, 2022
4d76d69
add ignore-occluding-blocks
YouHaveTrouble Feb 5, 2022
e189de0
Merge remote-tracking branch 'origin/main' into main
YouHaveTrouble Feb 5, 2022
65ca158
Improve Pufferfish sections
encode42 Feb 5, 2022
699906c
Fix typo
Euphillya Feb 19, 2022
9644449
Merge pull request #72 from DoctaEnkoda/patch-2
YouHaveTrouble Feb 19, 2022
aae6997
add axolotls
Pantera07 Feb 22, 2022
6ed81e6
Merge pull request #73 from Pantera07/patch-1
YouHaveTrouble Feb 22, 2022
569fe2b
Add disclaimer to villager.lobotomize
encode42 Mar 8, 2022
4141f2b
Fix typo
heuerleon Mar 18, 2022
016eed3
Merge pull request #74 from heuerleon/main
YouHaveTrouble Mar 18, 2022
5ebe39c
Clarify section notes
encode42 Apr 3, 2022
af1866b
Update URL
Pantera07 Apr 26, 2022
1f583a3
Merge pull request #77 from Pantera07/patch-1
YouHaveTrouble Apr 26, 2022
aa1706f
remove-corrupt-tile-entities no longer exists as an option
YouHaveTrouble May 1, 2022
bd052aa
Update alt-item-despawn-rate
Pantera07 May 5, 2022
a38ba80
Merge pull request #79 from Pantera07/patch-1
YouHaveTrouble May 5, 2022
3dc742f
Add redstone-implementation and Alternate Current
encode42 May 8, 2022
c4b2112
Update explanation wording
encode42 May 9, 2022
d6de5d3
Merge pull request #80 from YouHaveTrouble/redstone-implementation
YouHaveTrouble May 9, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
I messed up a commit, sorry
YouHaveTrouble committed Dec 25, 2021
commit a349296c4596d04ff086e7fc88c068f43048f5d6
42 changes: 18 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -4,8 +4,6 @@ Note for users that are on vanilla, Fabric or Spigot (or anything below Paper) -

Guide for version 1.18. Some things may still apply to 1.15 - 1.17.

**PLEASE KEEP IN MIND THAT SOME THINGS ARE NOT YET UPDATED ON PAPER AND BEYOND**

Based on [this guide](https://www.spigotmc.org/threads/guide-server-optimization%E2%9A%A1.283181/) and other sources (all of them are linked throughout the guide when relevant).

Use the table of contents located above (next to `README.md`) to easily navigate throughout this guide.
@@ -50,20 +48,6 @@ It's key to remember that the overworld, nether and the end have separate world

This allows you to set the cap for the size of a packet before the server attempts to compress it. Setting it higher can save some CPU resources at the cost of bandwidth, and setting it to -1 disables it. Setting this higher may also hurt clients with slower network connections. If your server is in a network with a proxy or on the same machine (with less than 2 ms ping), disabling this (-1) will be beneficial, since internal network speeds can usually handle the additional uncompressed traffic.

#### simulation-distance

`Good starting value: 4`

Currently Paper has not updated no-tick-view-distance patch, but Mojang has given us very similiar option. This is the distance in chunks that will actually be ticked, aka. "things will happen in". This is here temporarily until Paper updates no-tick-view-distance patch.

#### view-distance

`Good starting value: 7`

Currently Paper has not updated no-tick-view-distance patch, but Mojang has given us very similiar option. This is the distance in chunks that will be sent to players, similiar to no-tick-view-distance from paper. 1.18 client now respects server side view-distance, which causes ugly fog to appear it this is set low. This is here temporarily until Paper updates no-tick-view-distance patch.

The total view distance will be equal to the greatest value between `simulation-distance` and `view-distance`. For example, if the simulation distance is set to 4, and the view distance is 12, the total distance sent to the client will be 12 chunks.

### [purpur.yml]

#### use-alternate-keepalive
@@ -79,21 +63,31 @@ You can enable Purpur's alternate keepalive system so players with bad connectio

## Chunks

### [spigot.yml]
### [server.properties]

#### view-distance
#### simulation-distance

`Good starting value: 4`

View-distance is distance in chunks around the player that the server will tick. Essentially the distance from the player that things will happen. This includes furnaces smelting, crops and saplings growing, etc. You should set this value in [spigot.yml], as it overwrites the one from [`server.properties`] and can be set per-world. This is an option you want to purposefully set low, somewhere around `3` or `4`, because of the existence of `no-tick-view-distance`. No-tick allows players to load more chunks without ticking them. This effectively allows players to see further without the same performance impacts.

### [paper.yml]
Simulation distance is distance in chunks around the player that the server will tick. Essentially the distance from the player that things will happen. This includes furnaces smelting, crops and saplings growing, etc. This is an option you want to purposefully set low, somewhere around `3` or `4`, because of the existence of `view-distance`. This allows to load more chunks without ticking them. This effectively allows players to see further without the same performance impact.

#### no-tick-view-distance
#### view-distance

`Good starting value: 7`

This option allows you to set the maximum distance in chunks that the players will see. This enables you to have lower `view-distance` and still let players see further. It's important to know that while the chunks beyond actual `view-distance` won't tick, they will still load from your storage, so don't go overboard. `10` is basically maximum of what you should set this to. View distance will be matched to client client's render distance setting if it's lower than this value.
This is the distance in chunks that will be sent to players, similiar to no-tick-view-distance from paper. 1.18 client now respects server side view-distance, which causes ugly fog to appear it this is set low.

The total view distance will be equal to the greatest value between `simulation-distance` and `view-distance`. For example, if the simulation distance is set to 4, and the view distance is 12, the total distance sent to the client will be 12 chunks.

### [spigot.yml]

#### view-distance

`Good starting value: default`

This value overwrites server.properties one if not set to default. You should keep it default to have both simulation and view distance in one place for easier managemnent.

### [paper.yml]

#### delay-chunk-unloads-by

@@ -111,7 +105,7 @@ Lets you slow down incremental world saving by spreading the task over time even

`Good starting value: true`

When enabled, prevents players from moving into unloaded chunks and causing sync loads that bog down the main thread causing lag. The probability of a player stumbling into an unloaded chunk is higher the lower your no-tick-view-distance is.
When enabled, prevents players from moving into unloaded chunks and causing sync loads that bog down the main thread causing lag. The probability of a player stumbling into an unloaded chunk is higher the lower your view-distance is.

#### entity-per-chunk-save-limit