Just posted this thread for me to copy and replace the default anti-xray values,
and for others to use or refer this config too.
Thwarts XRAYING for buried ores not near 2 blocks of air. Effective against xray miners and runs fast.
This is just a part of Paper's configuration, not the full PaperMC config.
To use this, copy the all text from below code, and go to your paper.yml file.
Click on the editor, press Ctrl+F and search for "anti-xray." Then replace the default values to these by selecting the whole anti-xray group, and paste.
Code
anti-xray:
enabled: true
engine-mode: 1
max-chunk-section-index: 3
update-radius: 2
lava-obscures: true
use-permission: false
hidden-blocks:
- gold_ore
- iron_ore
- coal_ore
- lapis_ore
- mossy_cobblestone
- obsidian
- chest
- diamond_ore
- redstone_ore
- clay
- emerald_ore
- ender_chest
- barrel
- ancient_debris
- nether_quartz_ore
- nether_gold_ore
- gravel
- stone_monster_egg
replacement-blocks:
- stone
- gravel
Display More