⚠️ XRay Detection [1.8-1.17] ⚠️ 24/7 Support | SQLite | Frequent Updates | DiscordSRV | GUI Support 3.2

Advanced X-Ray detection

  1. WolfDev_
    Native Minecraft Version:
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    • 1.17

    XRay Detection
    This is an Xray Detection plugin. Get notified whenever a player mines an ore. This plugin is very configurable. You can choose which blocks alert you or which blocks don't. It also allows you to see how big of a vein a player found. You can also check how many of each ore a player has mined. For this feature, we use SQLite storage! Everything is configurable via an in-game GUI as well.

    You can now also detect if a player mines a spawner.

    1.17 Support
    We now fully support 1.17! You will be notified if any of the new ores are mined as well!

    DiscordSRV Support!
    How to use it?
    1) Download DiscordSRV and follow the steps on their page:
    2) Inside the config.yml, look for the string "Channels" and create a new channel with the name "XrayDetection"

    You should have 1 channel with the name "XrayDetection" it should look something like this.​

    Code (Text):
    Channels: {"global": "855004274542247977", "XrayDetection": "855029656872943626"}

    /xraydetection toggle - Toggles whether you receive notifications or not.
    /xraydetection - This is the main command.
    /xraydetection help - This is the help command.
    /xraydetection stats <ign> - Shows the total ores mined by the specified player.
    /xraydetection settings - Toggle which blocks you get notifications for in an ingame GUI.

    (You can use "xray" as an alias for these commands)

    xray.admin - This permission node allows users to use the main, help and /xray settings command.
    xray.notify - Allows a user to use the /xraydetection toggle command.
    xray.stats - Allows a user to use the /xray stats <ign> command.
    xray.ignore - Users with this permission won't be notified. (OP's do not have this by default)

    Code (Text):

    #The ores per time uses the SAME TIME as the alert timer
    toggled-true: "&aEnabled the anti-xray notifications"
    toggled-false: "&cDisabled the anti-xray notifications"

    no-permission: "&cNo permission"

    punishments: false #false by default
    punishment-commnd: "kick {player} mining too much ores in too little time"
    ores-per-alert-timer-punishment: 30 #If a player mines more than this number of ores per time set for the "alert timer" they will be punished

    # Settings menu titles

    oretoggle-menu-title: "&bOre Toggle Settings"
    settingmenu-title: "&bXray Detection Settings Menu"
    value-editor-menu-title: "&bValue Editor Settings"

    required-ores: 10 #In this example a player must have atleast mined 10 ores in the time set below order to notify staff
    mine-duration: 30 #The time range a player has to mine the "required-ores" to send out a notification (10+ ores in 30seconds to notify in this example)
    total-ore-notification: "&c[ALERT] &b{player} &7has mined a total of &b{totalores} ores &7in the last &b{time} &7seconds!"

    #Toggle ore notifications
    console-notifications: true

    spawner: true
    mined-spawner: "&c[X-Ray] &c{player} has mined a spawner! &7[{world}, {x}, {y}, {z}]"

    copper: true
    mined-copper: "&c[X-Ray] &c{player} &7Mined &fCopper, &7the total vein was &8{amount} &7[{world}, &7{x}, &7{y}, &7{z}]"

    coal: true
    mined-coal: "&c[X-Ray] &c{player} &7Mined &8Coal, &7the total vein was &8{amount} &7[{world}, &7{x}, &7{y}, &7{z}]"

    iron: true
    mined-iron: "&c[X-Ray] &c{player} &7Mined &fIron, &7the total vein was &f{amount} &7[{world}, &7{x}, &7{y}, &7{z}]"

    gold: true
    mined-gold: "&c[X-Ray] &c{player} &7Mined &6Gold, &7the total vein was &6{amount}&7[{world}, &7{x}, &7{y}, &7{z}]"

    redstone: true
    mined-redstone: "&c[X-Ray] &c{player} &7Mined &4Redstone, &7the total vein was &4{amount} &7[{world}, &7{x}, &7{y}, &7{z}]"

    lapis: true
    mined-lapis: "&c[X-Ray] &c{player} &7Mined &1Lapis, &7the total vein was &1{amount} &7[{world}, &7{x}, &7{y}, &7{z}]"

    diamond: true
    mined-diamond: "&c[X-Ray] &c{player} &7Mined &bDiamonds, &7the total vein was &b{amount} &7[{world}, &7{x}, &7{y}, &7{z}]"

    emerald: true
    mined-emerald: "&c[X-Ray] &c{player} &7Mined &aEmerald, &7the total vein was &a{amount} &7[{world}, &7{x}, &7{y}, &7{z}]"

    ancient-debris: true
    mined-ancient-debris: "&c[X-Ray] &c{player} &7Mined &8Ancient Debris, &7the total vein was &8{amount} &7[{world}, &7{x}, &7{y}, &7{z}]"

    nether-gold: true
    mined-nether-gold: "&c[X-Ray] &c{player} &7Mined &6Nether Gold, &7the total vein was &6{amount} &7[{world}, &7{x}, &7{y}, &7{z}]"

    nether-quartz: true
    mined-nether-quartz: "&c[X-Ray] &c{player} &7Mined &fNether Quartz, &7the total vein was &f{amount} &7[{world}, &7{x}, &7{y}, &7{z}]"
    deepslate-copper: true
    mined-deepslate-copper: "&c[X-Ray] &c{player} &7Mined &fDeepslate Copper, &7the total vein was &8{amount} &7[{world}, &7{x}, &7{y}, &7{z}]"

    deepslate-coal: true
    mined-deepslate-coal: "&c[X-Ray] &c{player} &7Mined &8Deepslate Coal, &7the total vein was &8{amount} &7[{world}, &7{x}, &7{y}, &7{z}]"

    deepslate-iron: true
    mined-deepslate-iron: "&c[X-Ray] &c{player} &7Mined &f&lDeepslate &fIron, &7the total vein was &f{amount} &7[{world}, &7{x}, &7{y}, &7{z}]"

    deepslate-gold: true
    mined-deepslate-gold: "&c[X-Ray] &c{player} &7Mined &5Deepslate &6Gold, &7the total vein was &6{amount} &7[{world}, &7{x}, &7{y}, &7{z}]"

    deepslate-redstone: true
    mined-deepslate-redstone: "&c[X-Ray] &c{player} &7Mined &4Deepslate Redstone, &7the total vein was &4{amount} &7[{world}, &7{x}, &7{y}, &7{z}]"

    deepslate-lapis: true
    mined-deepslate-lapis: "&c[X-Ray] &c{player} &7Mined &1Deepslate Lapis, &7the total vein was &1{amount} &7[{world}, &7{x}, &7{y}, &7{z}]"

    deepslate-diamond: true
    mined-deepslate-diamond: "&c[X-Ray] &c{player} &7Mined &3Deepslate &bDiamonds, &7the total vein was &b{amount} &7[{world}, &7{x}, &7{y}, &7{z}]"

    deepslate-emerald: true
    mined-deepslate-emerald: "&c[X-Ray] &c{player} &7Mined &2Deepslate &aEmerald, &7the total vein was &a{amount} &7[{world}, &7{x}, &7{y}, &7{z}]"

    # /xray stats <ign> message
      - "&7&m-------------------------------------"
      - "&c{player}'s stats"
      - "&8Coal: {coal}"
      - "&fIron: {iron}"
      - "&6Gold: {gold}"
      - "&4Redstone: {redstone}"
      - "&1Lapis: {lapis}"
      - "&bDiamonds: {diamonds}"
      - "&aEmeralds: {emeralds}"
      - "&fQuartz: {netherquartz}"
      - "&7&m-------------------------------------"

    stats-message-including-deepslate: #1.17 only
      - "&7&m-------------------------------------"
      - "&c{player}'s stats"
      - "&fCopper: {copper}"
      - "&8Coal: {coal}"
      - "&fIron: {iron}"
      - "&6Gold: {gold}"
      - "&4Redstone: {redstone}"
      - "&1Lapis: {lapis}"
      - "&bDiamonds: {diamonds}"
      - "&aEmeralds: {emeralds}"
      - "&fQuartz: {netherquartz}"
      - "&8Ancient Debris: {ancientdebris}"
      - "&6Nether Gold: {nethergold}"
      - " "
      - "&fDeepslate &7Copper: {deepslatecopper}"
      - "&8Deepslate &7Coal: {deepslatecoal}"
      - "&fDeepslate &7Iron: {deepslateiron}"
      - "&6Deepslate &7Gold: {deepslategold}"
      - "&4Deepslate &7Redstone: {deepslateredstone}"
      - "&1Deepslate &7Lapis: {deepslatelapis}"
      - "&bDeepslate &7Diamonds: {deepslatediamonds}"
      - "&aDeepslate &7Emeralds: {deepslateemeralds}"
      - "&7&m-------------------------------------"

    ########### Permission nodes ###########
    # xray.admin --> allows a player to use the main command
    # xray.notify --> allows a player to toggle xray notifications
    # xray.stats --> allows a player to view another player's stats
    # xray.ignore --> Players with this permission won't set off any x-ray alerts

    Servers using this plugin
    Dawn of the Craft

    Top Donators


    If your server is using this plugin, feel free to let me know on discord and I will add you to the list. :)

    If you have any questions or suggestions, feel free to join my discord, I'd love to hear them! I will also post all of the updates in the discord. Please do not leave any bug reports in the review section but start a conversation with me or report them in the discord instead.​


    1. upload_2021-6-10_18-7-29.png
    Busterb132, Terf, Flawlessinq and 4 others like this.

Recent Reviews

  1. rockit7
    Version: 3.1
    Brilliant plugin! Been looking for a decent plugin for ore alerts for a while, and this one works great! Great developer. Excited to see future updates.
    1. WolfDev_
      Author's Response
      Thanks for this positive review! If you have any suggestions for future updates, feel free to let me know. :)
  2. reletivminecraft
    Version: 3.0
    Great plugin the integration with discord is really handy.
    Would love the option to reload configs without restarting the whole server though!
    1. WolfDev_
      Author's Response
      Thanks for the review! I will work on this for a future update :)
  3. Avexator
    Version: 3.0
    The plugin is great, I have not found bugs I recommend it, but I have only one problem which is when I enter my server and the xray notifications are not activated automatically and I have to activate it always, is there a way that it is always active for me? I am admin
    1. WolfDev_
      Author's Response
      Hey, thanks for the great review :)! And that is for everyone. If you leave the server, you'll have to re-enable it. :)
  4. RuffNeck
    Version: 2.8.3
    your plugin is really great, thanks for the frequent fixes in it! this is very adorable!
    1. WolfDev_
      Author's Response
      Thanks for the positive review! I'm glad you like the plugin :).
  5. IronicDeGawd
    Version: 2.8.2
    I would say undoubtly the best anti xray plugin..even better than most paid ones <3
    1. WolfDev_
      Author's Response
      Thanks for the positive review! I appreciate it a lot. <3
  6. BoolyStudy
    Version: 2.8
    this good but you could put to reload without having to reload, and translate the messages that arrive at discord, I am Spanish. good complement
    1. WolfDev_
      Author's Response
      Hey, thanks for the positive review <3! I will implement a reload command in one of the future updates, and I will also try to implement different languages.

      However, you can always change the messages in the config to Spanish as well. :)
  7. naunaud84820
    Version: 2.5
    A perfect plugin for mining stats, the developer is active on discord and responds quickly when you need help!
    1. WolfDev_
      Author's Response
      Thanks for the positive review. I appreciate it a lot! <3
  8. Lebrzy
    Version: 2.3.2
    The developer did a great job with this plugin, it detects xrayers and helped a lot on my server :D
    1. WolfDev_
      Author's Response
      Thanks for the positive review <3. I'm glad this helps you catch xrayers :)
  9. sadasdasda412332
    Version: 2.2
    [17:05:53] [Server thread/ERROR]: Error occurred while enabling XrayDetection v2.2.0 (Is it up to date?)
    java.lang.NoSuchFieldError: COPPER_ORE
    at me.wolf.xraydetection.listener.BlockBreakListener.<init>(BlockBreakListener.java:28) ~[?:?]
    at me.wolf.xraydetection.XrayDetectionPlugin.registerListeners(XrayDetectionPlugin.java:107) ~[?:?]
    at me.wolf.xraydetection.XrayDetectionPlugin.onEnable(XrayDetectionPlugin.java:83) ~[?:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[GTAWEANR.jar:git-Spigot-cbd1a1b-009d8af]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:352) [GTAWEANR.jar:git-Spigot-cbd1a1b-009d8af]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:417) [GTAWEANR.jar:git-Spigot-cbd1a1b-009d8af]
    at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugin(CraftServer.java:461) [GTAWEANR.jar:git-Spigot-cbd1a1b-009d8af]
    at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugins(CraftServer.java:375) [GTAWEANR.jar:git-Spigot-cbd1a1b-009d8af]
    at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:449) [GTAWEANR.jar:git-Spigot-cbd1a1b-009d8af]
    at net.minecraft.server.v1_14_R1.DedicatedServer.init(DedicatedServer.java:266) [GTAWEANR.jar:git-Spigot-cbd1a1b-009d8af]
    at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:775) [GTAWEANR.jar:git-Spigot-cbd1a1b-009d8af]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_291]
    1. WolfDev_
      Author's Response
  10. DrBlender
    Version: 1.8.1
    The dev tries to eleminate every bug. you can send him a message and he tries to make this plugin 100% bug free. also the plugin works very well. sure, with 1.17 are some bugs but the dev is great! i very recommend this plugin to everyone who needs a xray hack eleminator
    1. WolfDev_
      Author's Response
      Thanks for the positive review <3! I indeed try to work on getting rid of all bugs :P. I appreciate the support!