OreReplacer - 100% no more X-ray miners, seriously. 1.0.1.13.16a4

A zero burden plugin that ends Xray-mining forever.

  1. LogoCat
    Tested Minecraft Versions:
    • 1.13
    Source Code:
    https://github.com/kuohsuanlo/orereplacer/
    Contributors:
    LogoCat
    OreReplacer--- Powered by LogoCat
    [​IMG] Jar Download link: Spigot Page

    A zero burden plugin that ends Xray-mining forever. This plugin is a minecraft server-side spigot plugin in order to enhance the experience of:
    • Prevent any method of X-Ray mining 100%.
    • Consume theoratically least network traffic and computational effort.
    • Do not affect any normal player
    This plugin will dynamically generate the ore and stone block that is not connect to the air or water when they get broken. [​IMG] ---> [​IMG] [​IMG] [​IMG] [​IMG] [​IMG] [​IMG] [​IMG] [​IMG]
    So X-Ray players would think they are getting close to the block. But after they break the last stone. They would find the ores disappear. [​IMG] ---> [​IMG]



    Features :
    Enhanced mining mechanism :

    1. Experience : The probability and ore distribution is based on minecraft vanilla settings. Normal player won't notice the transformation.

    2. Efficiency : Blocks are generated only when players reveal them. No excessive fake ores transimitted.

    3. Configurable : All of the ores probability and distribution could be set and revised immediately.

    4. Extendable : Tested on 300 players server, less than 0.1 % TPS occupation.

    5. False-positive Protection :
    If player's block placing action would trigger the plugin, making the ore disappear, the plugin would cancel player's action and notify them.

    Players with permission node "orereplacer.ignore.safemode" will disable the detection.


    Media Demo:

    Environment

    This build is compiled and tested on these environments.


    Hard-Dependency

    This plugin needs to run with the following plugins with the latest version to work properly:
    • none.

    Installation

    1. Drop the plugin jar file in your server folder /plugins/ and run once.
    2. After the plugin folder and default config.yml is generated, stop the server.
    3. Start to set your own config withing config.yml.
    Configuration setting

    Code (Text):

    ENABLED_WORLD: world,world_nether,world_the_end
    PROBABILITY_DIAMOND: 0.001
    # 0.001 means that when a player mine 1000 blocks, the player would "probably" get 1 diamond. (Expected value.)
    MAX_DIAMOND: 4
    #What is the maximum number blocks of the ore veins.
    PROBABILITY_INCREASING_CONSTANT: 1.0
    #You could change this value and hold a mining bonus time!.
    #This number will multiply the probability of ore generation.
    REPLACING_DIAMOND: true
    # true equals replacing such ores.
    # false equals leaving such ores as their original position.
    # Other ore blocks have default setting. Just follow the logic above.

    ORE_PROTECTION_MODE: true
    # true for enabling False-positive Protection.
    ORE_PROTECTION_TEXT: 'Your placing behavior would make the ore disappear due to server anti-xray mechanism. Please remove the ore to place the block.'
     
    suggested settings :

    Code (Text):
    PROBABILITY_DIAMOND: 0.004
    PROBABILITY_GOLD: 0.008
    PROBABILITY_IRON: 0.035
    PROBABILITY_COAL: 0.05
    PROBABILITY_LAPIS: 0.005
    PROBABILITY_REDSTONE: 0.025
    PROBABILITY_EMERALD: 0.003
    MAX_DIAMOND: 4
    MAX_GOLD: 4
    MAX_IRON: 6
    MAX_COAL: 6
    MAX_LAPIS: 4
    MAX_REDSTONE: 6
    MAX_EMERALD: 4
    MIN_DIAMOND: 2
    MIN_GOLD: 3
    MIN_IRON: 3
    MIN_COAL: 4
    MIN_LAPIS: 2
    MIN_REDSTONE: 4
    MIN_EMERALD: 2
    PROBABILITY_INCREASING_CONSTANT: 1.0


    Commands
    command description required permission
    /orereplacer reload
    player with his node could reload the plugin's config.
    op

    Permissions
    Code (Text):
        orereplacer.toggle:
            description: player with his node could toggle the plugin's replacing function.
            default: op
        orereplacer.reload:
            description: player with his node could reload the plugin's config.
            default: op
        orereplacer.ignore.safemode:
            description: player with his node could skip the safe-ore detection.
            default: op


    Development
    Want to contribute? Great! This project is open to everyone as long as it follows the license. You could follow these steps to build up the developing environment :

    1. Click here for instrctions of importing a maven project.
    2. Add the dependent plugin .jar file mentioned above.
    3. Run the project as 'maven install'
    4. The built version would be in /$project_name/target/

    Term of Service
    PERSONAL AND NON-COMMERCIAL USE LIMITATION

    Unless otherwise agreed in a separate written document signed by an authorized representative of mcfallout.net, the plugin and its usage are for your personal and non-commercial use. You may not modify, copy, distribute, transmit, display, perform, reproduce, publish, license, create derivative works for providing a pay-to-win mechanism or providing special powers / perks as a return for donation or payment.

    Images

    1. OR_logo.png

Recent Reviews

  1. ASCII_Guy
    ASCII_Guy
    5/5,
    Version: 1.0.1.13.16a4
    Works exactly as intended. It's all I use for anti x-ray. It may only prevent ore x-ray, but in my situation human moderation prevents the rest. My players wouldn't know it was installed if I didn't tell them. TPS friendly most importantly.
  2. Metclocker
    Metclocker
    5/5,
    Version: 1.0.1.13.16a4
    Love so much this plugin, i use this for making the resource a bit more hard so the economy is not that easy xD.
    And of course for decrease an xrayer.
    Thanks developer for making this plugin!
  3. Simi99
    Simi99
    5/5,
    Version: 1.0.1.13.16a4
    God damn it, 5 star is the maximum... Sorry this deserves more.
    Best working anti x-ray plugin (1.14.3).
  4. MarkIsCool
    MarkIsCool
    5/5,
    Version: 1.0.1.13.16a4
    Plugin is EXACTLY what I needed! It isn't as effective as Orebfuscator, of course, but it stops xrayers from getting ores. They can still find dungeons, chests and all of those things, but it is the reasonable price to pay for such a light-weight plugin.
  5. Hosom
    Hosom
    5/5,
    Version: 1.0.1.13.16a4
    This plugin is just incredible. It solves not only x-rayers once for all, but it also solves the depleting of resources! And also gives to the admin a way to control how rich a world is! You can choose how many ores you want to spawn, you can choose to make the game more or less difficult! This is really incredible, smart and all very lightweight. If i want to increase diamond ores, i don't have to use a custom world generator and regen the whole world. I just need to increase the values in the config and hit reload. Done. If i want to stop xray FOREVER, i just enable this plugin. There is no way to get around it. And it is pretty lagless. And it will make me piss off when xrayers will get mad in chat yelling "WHY ARE DIAMONDS DISAPPEARING?!?". So, it is also a troll plugin!! This should be a vanilla thing!! Seriously!!

    Just a tip: on my server tnt block damage is disabled. But what if people on other servers are mining with tnt? Could it be a way to expoit the plugin? Example: the xrayer gets near the ore, than places a tnt and boom, he gets the ores.
  6. ZXMing10
    ZXMing10
    5/5,
    Version: 1.0.1.13.16a4
    我要去哪回報錯誤呢?
    [21:22:03 ERROR]: [PlaceholderAPI] OreReplacerPlugin is currently using a deprecated method to hook into PlaceholderAPI. Placeholders for that plugin no longer work. Please consult [] and urge them to update it ASAP.
  7. NikitaTheGamer
    NikitaTheGamer
    5/5,
    Version: 1.0.1.13.16a4
    it works, normal players don't get affected, cheaters can't cheat, doesn't hurt tps
  8. comonier
    comonier
    5/5,
    Version: 1.0.1.13.16a4
    It's working fine on 1.14.2 - thanks. No errors on console.
    ******************************************************************
    1. LogoCat
      Author's Response
      Thanks for the positive review.
  9. howtoNhut
    howtoNhut
    5/5,
    Version: 1.0.1.13.16a4
    1. LogoCat
      Author's Response
      please download version with version index - 1.0.1.12
  10. reezreezreez
    reezreezreez
    5/5,
    Version: 1.0.1.13.16a4
    Works well with Paperspigot 1.14.1! I love it. Probably the best xray prevention I've ever seen :p Since Paperspigot doesn't have anti-xray built-in, This is the best alternative anti-xray plugin and it's lightweight! (Note to Author: You should add 1.14 on Tested Minecraft Version so people know that it works on 1.14.x too :D)
    1. LogoCat
      Author's Response
      Thanks for the positive review.