@@ -8,7 +8,7 @@ slug: /anti-xray
8
8
9
9
Paper includes an obfuscation-based Anti-Xray with two modes, configurable on a per world basis.
10
10
11
- :::info Per World Configuration
11
+ :::info[ Per World Configuration]
12
12
13
13
If you aren't already familiar with per world configuration, please take a moment to familiarize
14
14
yourself with the [ Configuration Guide] ( configuration.md ) .
@@ -29,7 +29,7 @@ configuration in both the overworld and nether.
29
29
30
30
[ ^ 1 ] :
31
31
Image design by ` Oberfail ` , initially posted in the
32
- [ PaperMC Discord] ( https://discord.gg/papermc ) .
32
+ [ PaperMC Discord] ( https://discord.gg/papermc ) .
33
33
34
34
![ Overworld Anti-Xray Comparison] ( assets/anti-xray-overworld.png )
35
35
![ Nether Anti-Xray Comparison] ( assets/anti-xray-nether.png )
@@ -40,7 +40,7 @@ by solid blocks will be hidden. Ores exposed to air in caves or water from a lak
40
40
hidden. With ` engine-mode: 2 ` , fake ores obstruct the view of real blocks. If ` air ` is added to
41
41
` hidden-blocks ` , ` engine-mode: 2 ` will effectively hide all ores, even those exposed to air.
42
42
43
- :::caution Anti-Xray Bypasses
43
+ :::caution[ Anti-Xray Bypasses]
44
44
45
45
** Range Extension** : While Anti-Xray alone will prevent the majority of users from Xraying on your
46
46
server, it is not by any means infallible. Because of how Anti-Xray is (and has to be) implemented,
@@ -68,7 +68,7 @@ some players.
68
68
69
69
The recommended configuration for both ` engine-mode: 1 ` and ` engine-mode: 2 ` is as follows:
70
70
71
- :::tip Spacing
71
+ :::tip[ Spacing]
72
72
73
73
YAML cares about whitespace! The example configuration below is already formatted correctly. Ensure
74
74
formatting and indentation remains unchanged by using the "copy" button in the top right of each
@@ -85,7 +85,7 @@ other important changes, it is recommended to make a backup before editing it.
85
85
86
86
Replace the existing ` anticheat.anti-xray ` block in ` paper-world-defaults.yml ` with the following:
87
87
88
- <!-- prettier-ignore -->
88
+ { /* prettier-ignore */ }
89
89
``` yaml title="paper-world-defaults.yml"
90
90
anticheat :
91
91
anti-xray :
@@ -132,7 +132,7 @@ anticheat:
132
132
Copy and paste into your ` paper-world.yml ` within your nether world folder. See the
133
133
[ Configuration Guide] ( configuration.md ) for more information.
134
134
135
- <!-- prettier-ignore -->
135
+ { /* prettier-ignore */ }
136
136
``` yml title="world_nether/paper-world.yml"
137
137
anticheat :
138
138
anti-xray :
@@ -159,7 +159,7 @@ anticheat:
159
159
Copy and paste into your ` paper-world.yml ` within your end world folder. See the
160
160
[ Configuration Guide] ( configuration.md ) for more information.
161
161
162
- <!-- prettier-ignore -->
162
+ { /* prettier-ignore */ }
163
163
``` yml title="world_the_end/paper-world.yml"
164
164
anticheat :
165
165
anti-xray :
@@ -176,7 +176,7 @@ anticheat:
176
176
177
177
Replace the existing ` anticheat.anti-xray ` block in ` paper-world-defaults.yml ` with the following:
178
178
179
- <!-- prettier-ignore -->
179
+ { /* prettier-ignore */ }
180
180
``` yaml title="paper-world-defaults.yml"
181
181
anticheat :
182
182
anti-xray :
@@ -239,7 +239,7 @@ anticheat:
239
239
Copy and paste into your ` paper-world.yml ` within your nether world folder. See the
240
240
[ Configuration Guide] ( configuration.md ) for more information.
241
241
242
- <!-- prettier-ignore -->
242
+ { /* prettier-ignore */ }
243
243
``` yml title="world_nether/paper-world.yml"
244
244
anticheat :
245
245
anti-xray :
@@ -278,7 +278,7 @@ anticheat:
278
278
Copy and paste into your ` paper-world.yml ` within your end world folder. See the
279
279
[ Configuration Guide] ( configuration.md ) for more information.
280
280
281
- <!-- prettier-ignore -->
281
+ { /* prettier-ignore */ }
282
282
``` yml title="world_the_end/paper-world.yml"
283
283
anticheat :
284
284
anti-xray :
0 commit comments