Mirage - The best solution against xray users

Show me your logs (here or in private) and your configuration, I will tell you if something is wrong :slight_smile: . Also be aware that by default, Mirage hides only ores that are not next to a block of air or anything transparent, which is the case of most ores. To improve protection you will need to enable the random modifier.

Thanks for the answer! I played with the modifiers (indeed type=random fixed my problem).
Could you please explain to me how the weight parameter works?

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
            }

The probability that a specific block is chosen when choosing a random one in the list is proportional to his weight. If you want to calculate the exact probability, divide each weight by the sum of all weights. In your example, probability of coal ore = 1 / 14 = 0.071 = 7.1% , probability of stone = 7 / 14 = 0.5 = 50%.

1 Like

Nice! Thanks you for the explanation @Yeregorix! =)

A new version has been released for Mirage, it is available for download here.


  • Tested on SpongeForge and SpongeVanilla 7.3.0
  • Disable obfuscation when config fails to load to avoid console spam
  • Improve container capture check message
  • Isolate palettes and stop propagating block changes on resize
  • Fix fake blocks appearing

I highly recommend to delete mirage-cache directory to increase protection of existing chunks.

Hey! I am using version 1.3.17 which I got from here Index of /smoofymirage
Because I am running FTB revelations 3.4.0
The plugin works fine… But I can’t find the config anywhere, it’s literally just nonexistent. Tried using search to look for content that resembles anything that mirage contains and literally nothing. Tried restarting the server as well, still nothing. However, the cache for mirage is in the files.

This file has a different plugin id. The config folder should be config/smoofymirage/. If you still can’t find the folder, send me your logs so that I can investigate.

I have found it! Thank you so very much!

A new version has been released for Mirage, it is available for download here.


  • Tested on SpongeForge and SpongeVanilla 7.3.0
  • Change update check mechanism
  • Improve WeightedList performance with large sets
  • Remove preobfuscation
  • Deny sending chunk when obfuscation is not ready yet
  • Remove empty modifier
  • Change modifier ids for better clarity
  • New config system: a same config file can now be reused for different worlds
  • Automatic backup and upgrade from old configs
  • Refactor cache version load
  • Seed is no longer an option
  • Improve API
  • Refactor some parts of dynamism

A new version has been released for Mirage, it is available for download here.


This version is outdated.

Please use the latest version.

  • Updated to API 8 !
  • Tested on SpongeVanilla 8.0.0-RC1062
  • Change cache directory path
  • New pack format
  • Disable invalid config only in memory, not on disk

If upgrading from a previous version, I highly recommend to regenerate all mirage config files (backup and delete config/mirage/).

A new version has been released for Mirage, it is available for download here.


  • Tested on SpongeForge 8.1.0-RC1185
  • Add Forge support
  • Fix pattern matching of block states
  • Update checker is now platform specific

If upgrading from 1.4.0 or earlier, I highly recommend to regenerate all mirage config files (backup and delete config/mirage/).

A new version has been released for Mirage, it is available for download here.


  • Tested on SpongeVanilla 8.1.0-RC1185
  • Fix pattern matching of block states
  • Update checker is now platform specific

If upgrading from 1.4.0 or earlier, I highly recommend to regenerate all mirage config files (backup and delete config/mirage/).

A new version has been released for Mirage, it is available for download here.


  • Tested on SpongeForge 8.1.0-RC1185
  • Add hashed seed protection
  • Remove random bedrock modifier from the default config
  • Fix dynamism after player respawn
  • Fix cache deletion on update
  • Fix onTrackChunk NPE

If upgrading from 1.4.0 or earlier, I highly recommend to regenerate all mirage config files (backup and delete config/mirage/).

A new version has been released for Mirage, it is available for download here.


  • Tested on SpongeVanilla 8.1.0-RC1185
  • Add hashed seed protection
  • Remove random bedrock modifier from the default config
  • Fix dynamism after player respawn
  • Fix cache deletion on update
  • Fix onTrackChunk NPE

If upgrading from 1.4.0 or earlier, I highly recommend to regenerate all mirage config files (backup and delete config/mirage/).