GithubHelp home page GithubHelp logo

wolfieboy09 / antixray Goto Github PK

View Code? Open in Web Editor NEW

This project forked from drexhd/antixray

0.0 0.0 0.0 165 KB

Lightweight fabric mod that allows server owners to combat xrayers

License: MIT License

Java 100.00%

antixray's Introduction

Anti Xray

Anti Xray is a lightweight fabric mod that allows server owners to combat xrayers.

Config

enabled = false

[overworld]
enabled = true
engineMode = 2
maxBlockHeight = 256
updateRadius = 2
lavaObscures = false
hiddenBlocks = ["copper_ore", "deepslate_copper_ore", "gold_ore", "deepslate_gold_ore", "iron_ore", "deepslate_iron_ore", "coal_ore", "deepslate_coal_ore", "lapis_ore", "deepslate_lapis_ore", "mossy_cobblestone", "obsidian", "chest", "diamond_ore", "deepslate_diamond_ore", "redstone_ore", "deepslate_redstone_ore", "clay", "emerald_ore", "deepslate_emerald_ore", "ender_chest"]
replacementBlocks = ["stone", "deepslate"]

[the_nether]
enabled = true
engineMode = 1
maxBlockHeight = 128
updateRadius = 2
lavaObscures = false
hiddenBlocks = ["ancient_debris", "nether_quartz_ore", "nether_gold_ore"]
replacementBlocks = ["netherrack"]

Config option overview

enabled if set to true anti xray will be active in the specified world

engineMode can either be 1 or 2, see [Engine Modes](#Engine Modes)

maxBlockHeight controls the max height at which blocks should get obfuscated

updateRadius controls how many blocks away from shown blocks obfuscation should start (if your players see fake ores it is recommended to increase this value)

lavaObscures if set to true blocks next to lava will get obscured

hiddenBlocks is a list of block ids that will get hidden

replacementBlocks is a list of blocks that will get used for block obfuscation

Engine Modes

Info Image
Anti xray disabled: This is just for reference
EngineMode 1: This mode will replace all fully obscured (no air around) blocks from hiddenBlocks with blocks from replacementBlocks
EngineMode 2 (recommended): This mode will replace all blocks from hiddenBlocks and replacementBlocks with random blocks from hiddenBlocks
Legit player view: Legit players wont notice any changes when this mod is installed (unless they have high ping or modify a lot of blocks at once, eg: explosions)

About

This mod is a port of Papers Async Anti Xray Patch from 1.17 and it's 1.14 patch for networking code, to fabric

antixray's People

Contributors

drexhd avatar wesley1808 avatar londiuh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.