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

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
    #All punishments are toggled to FALSE by default
    toggled-true: "&aEnabled the anti-xray notifications"
    toggled-false: "&cDisabled the anti-xray notifications"

    auto-enable-alerts: false #automatically enable xray alerts for everyone with permissions
    no-permission: "&cNo permission"

    # 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!"

    punishments: false #false by default
    punishment-command: "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

    #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-------------------------------------"

    #You will receive Xray Alerts in the following worlds.
      - "world"
      - "mines"

    ########### 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
    119, Busterb132, Terf and 5 others like this.

Recent Reviews

  1. Xelta
    Version: 3.4.1
    Excellent plugin with a super support, they helped me really quick, would 100% recommend this plugin :)
    1. WolfDev_
      Author's Response
      Thanks for your positive review; I appreciate it! <3
  2. McLeynad
    Version: 3.4.1
    It is an excellent plugin, it works very well and is very efficient, I recommend it 10/10
    1. WolfDev_
      Author's Response
      Thank you, I appreciate the positive review! :)
  3. SoulSteel
    Version: 3.3.1
    An excellent developer that wants to help the community love that plugin and always has a good support
    1. WolfDev_
      Author's Response
      Thanks for the positive review! <3
  4. imsimpmcplayer
    Version: 3.3.1
    Best than other antixray detections i like it its great! i like the reload of the plugin too its not reloading entire server than other plugin
    1. WolfDev_
      Author's Response
      Thanks for your positive review, I appreciate it! <3
  5. Zhaomengran
    Version: 3.3
    I promise, this is the most diligent developer I have ever seen!
    But I have a small suggestion: after exceeding the threshold for mining diamonds, virtual diamonds will be randomly generated in the player's attachment. When the player approaches, they will automatically disappear. If the number of disappeared virtual diamonds reaches a certain number of times, it will be judged as X-ray. Of course, the punishment method can choose to go to jail, waiting for the judge's trial and decision.
    1. WolfDev_
      Author's Response
      Hey, thanks for the positive review. I really appreciate it! I have been thinking about adding fake ores, but I am unsure as it might be heavy for performance.
  6. PJGamer
    Version: 3.2
    Great plugin!
    Is there a way to turn on mineral notifications by default? without having to do / xray toggle every time?
    1. WolfDev_
      Author's Response
      Thanks for the positive review! As of right now, your current setting (toggled on or off) will be saved until there is a server restart, so there is no enabled by default. However, I will look into implementing it in the next update. :)
  7. 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. :)
  8. 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 :)
  9. 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. :)
  10. 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 :).