Yeregorix / Mirage

The best solution against xray users
13
Download

Modifiers

Empty

This modifier is the fastest but is not really useful except for developers since it doesn’t modify anything.

The minimum configuration to activate it:
{
        Type=empty
}

HideAll

This modifier is really fast as well but a bit extreme since all ores will be hidden. Not useful for most servers.

The minimum configuration to activate it:
{
        Type=hideall
}
The configuration generated by default:
{
        Type=hideall
        Options {
            # Blocks that will be hidden by the modifier
            Blocks=[
                "minecraft:redstone_ore",
                "minecraft:chest",
                "minecraft:portal",
                "minecraft:emerald_ore",
                "minecraft:diamond_ore",
                "minecraft:end_portal",
                "minecraft:end_portal_frame",
                "minecraft:gold_ore",
                "minecraft:mossy_cobblestone",
                "minecraft:trapped_chest",
                "minecraft:mob_spawner",
                "minecraft:iron_ore",
                "minecraft:lapis_ore",
                "minecraft:coal_ore",
                "minecraft:monster_egg"
            ]
            # The maximum Y of the section to obfuscate
            MaxY=255
            # The minimum Y of the section to obfuscate
            MinY=0
            # The block used to replace hidden blocks
            Replacement="minecraft:stone[variant=stone]"
        }
}

Obvious

This modifier is used by default, it aims to be fast and efficient. It hides most ores except ores that are exposed to the view of normal people.

The minimum configuration to activate it:
{
        Type=obvious
}
The configuration generated by default:
{
        Type=obvious
        Options {
            # Blocks that will be hidden by the modifier
            Blocks=[
                "minecraft:redstone_ore",
                "minecraft:portal",
                "minecraft:mossy_cobblestone",
                "minecraft:diamond_ore",
                "minecraft:monster_egg",
                "minecraft:end_portal",
                "minecraft:mob_spawner",
                "minecraft:emerald_ore",
                "minecraft:trapped_chest",
                "minecraft:end_portal_frame",
                "minecraft:lapis_ore",
                "minecraft:gold_ore",
                "minecraft:chest",
                "minecraft:iron_ore",
                "minecraft:coal_ore"
            ]
            # The dynamic obfuscation distance, between 0 and 10
            Dynamism=4
            # The maximum Y of the section to obfuscate
            MaxY=255
            # The minimum Y of the section to obfuscate
            MinY=0
            # The block used to replace hidden blocks
            Replacement="minecraft:stone[variant=stone]"
        }
}

Random

This modifier is the most efficient against malicious users. It behaves the same way as Obvious but in addition it generates random fake ores to hide caves, bases and remaining ores. This one can be a bit slower when first obfuscating because it’s generating thousands of fake ores but will be negligible the remaining of the time thanks to the caching system.

The minimum configuration to activate it:
{
        Type=random
}
The configuration generated by default:
{
        Type=random
        Options {
            # Blocks that will be hidden by the modifier
            Blocks=[
                "minecraft:redstone_ore",
                "minecraft:chest",
                "minecraft:portal",
                "minecraft:emerald_ore",
                "minecraft:diamond_ore",
                "minecraft:end_portal",
                "minecraft:end_portal_frame",
                "minecraft:gold_ore",
                "minecraft:mossy_cobblestone",
                "minecraft:trapped_chest",
                "minecraft:mob_spawner",
                "minecraft:iron_ore",
                "minecraft:lapis_ore",
                "minecraft:coal_ore",
                "minecraft:stone",
                "minecraft:monster_egg"
            ]
            # The maximum Y of the section to obfuscate
            MaxY=255
            # The minimum Y of the section to obfuscate
            MinY=0
            # Blocks and their weight used to randomly replace hidden blocks
            Replacements {
                "minecraft:coal_ore"=1.0
                "minecraft:diamond_ore"=1.0
                "minecraft:emerald_ore"=1.0
                "minecraft:gold_ore"=1.0
                "minecraft:iron_ore"=1.0
                "minecraft:lapis_ore"=1.0
                "minecraft:redstone_ore"=1.0
                "minecraft:stone[variant=stone]"=7.0
            }
        }
}

Bedrock

This modifier is used by default. Some xray clients use the patterns of bedrock generated in your world to calculate your seed and then use this seed to know where ores have been generated. This modifier alters the bedrock to prevents them from calculating your seed.

The minimum configuration to activate it:
{
        Type=bedrock
}
The configuration generated by default:
{
        Type=bedrock
        Options {
            # The ground type used to hide real bedrock
            Ground="minecraft:stone[variant=stone]"
            # The maximum layer where bedrock can be generated
            Height=5
        }
}

FakeGen

This modifier does not hide any ore. Thus, in most cases, it should be applied after an Obvious modifier. Instead of hiding ores this modifier generates new veins of ores using the same algorithm as the natural generation to deceive the cheaters.

The minimum configuration to activate it:
{
        Type=fakegen
}
The configuration generated by default:
{
        Type=fakegen
        Options {
            # Blocks that will be generated by the modifier
            Blocks=[
                "minecraft:gold_ore",
                "minecraft:coal_ore",
                "minecraft:iron_ore",
                "minecraft:redstone_ore",
                "minecraft:diamond_ore",
                "minecraft:lapis_ore",
                "minecraft:emerald_ore"
            ]
            # The density of generated blocks, between 0.1 and 10
            Density=1.0
            # The dynamic obfuscation distance, between 0 and 10
            Dynamism=4
            # The maximum Y of the section to obfuscate
            MaxY=128
            # The minimum Y of the section to obfuscate
            MinY=0
        }
}

These example configurations were generated in the overworld. They might differ in other dimensions.

Category: Protection

Published on Jun 5, 2018

8795 views

13 stars

2,279 total downloads

Licensed under MIT

Members