You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Plugin will resent complete original chunk data if resent block amount exceeds this value.
85
-
Set it to -1 will never resent chunk but keep updating nearby blocks,
86
-
0 to always resent original chunks.
87
-
Set this to a large value can prevent constantly sending block update packets.
88
-
Original chunk is not with anti-xray functionality. It is recommended to leave this value -1 .
89
-
""",
90
-
overrideOld = [
91
-
"""
92
-
Plugin will resent whole chunk data if resent block amount exceeds this value.
93
-
Set it to -1 will never resent chunk but keep updating nearby blocks,
94
-
0 to always resent chunks.
95
-
"""
96
-
])
97
-
valthresholdToResentWholeChunk:Int = -1,
98
-
@Comment("""
99
-
We updates the nearby blocks when a player digs a block immediately.
100
-
If this is enabled, we will check if the block is in the interaction range
101
-
of the player with a rough calculation.
102
-
""")
103
-
valupdateOnLegalInteractOnly:Boolean = true,
104
-
@Comment("How many distance of blocks to update from the center when necessary.")
105
-
valupdateDistance:Int = 2,
106
-
@Comment("""
107
-
The bedrock level(minimal height) is never visible unless you are in void.
108
-
We would skip the check, and if you don't like it you can enable it.
109
-
""")
110
-
valminimalHeightInvisibleCheck:Boolean = false,
111
-
@Comment("""
112
-
Same with minimal-height but it's for nether roof. For out-of-the-box, it's true by default.
113
-
It's highly recommend to set it to FALSE if you don't allow players to get above there.
114
-
""",
115
-
overrideOld = ["Same with minimal-height but it's for nether roof."]
116
-
)
117
-
valnetherRoofInvisibleCheck:Boolean = true,
118
-
@Comment("""
119
-
If a non-occluding block is surrounded by occluding blocks, the center block is invisible.
120
-
But should we consider all surrounded blocks invisible to this block face?
121
-
Unless the player joins the game with their eye in the non-occluding block,
122
-
they will never naturally see those surrounded blocks.
123
-
This step takes extra ~0.02ms, so it's not enabled by default.
124
-
Enable this could help with saving bandwidth in nether, as there's many single-block lava.
125
-
""")
126
-
valdetectInvisibleSingleBlock:Boolean = false,
127
-
@Comment("""
128
-
Detect lava pool, and consider lava blocks which being covered invisible.
129
-
This step takes extra ~0.03ms, so it's not enabled by default.
130
-
It also makes the plugin detect nearby blocks everytime player moves.
131
-
Enable this could help with saving bandwidth, especially in nether.
132
-
""")
133
-
valdetectLavaPool:Boolean = false,
134
-
@RenamedFrom("single-valued-section-block-list")
135
-
@Comment("""
136
-
This feature doesn't support running along with any other anti-xray plugins.
137
-
You must use the anti-xray here we provide.
138
-
139
-
We will send non-visible blocks to one of the random block in this list.
140
-
If you don't like to anti-xray, you can set the list to 'bedrock'.
141
-
""",
142
-
overrideOld = ["Plugin will convert chunks with all non-visible blocks to single-valued palette format,\nThis could save a lot of bandwidth. And since we are conflicting with anti-xray things,\nyou can use this for some kind of substitution.\nWe choose a random block from the list and make it of a 16*16*16 chunk section."]
0 commit comments