1. We are planning scheduled maintenance on this website on Friday 5 March (tomorrow) at 4:00 am UTC. It is estimated that this maintenance will last 15 minutes. You can view this time in your local timezone here. Thanks.
    Dismiss Notice

Anti-Xray 2.0.0

Anti Xray Skript with [Alerts] [Punishments]

  1. SoulStriker_
    Native Minecraft Version:
    1.14
    Tested Minecraft Versions:
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    If download doesn't work - use this

    [​IMG]






    [​IMG]


    Join my DISCORD if you have issues! Please do not leave a bad review if something doesn't work. I can help fix it, if you come to me first!





    [​IMG]
    Need custom builds? Check out Odyssey Builds for 10% off using "STRIKER10"!
    [​IMG]


    Get $5 off when buying a domain from Name.com



    Video





    FAQ's
    Where is the config? Found in the top of the axr.sk

    Why is it giving me this error?
    Code (Text):
    ERROR Can't compare a player with 'in world "world"' (axr.sk, line 949: if player is in world "{@enabled_world}":')
    Select the world name in the GUI.

    How do I get fake ores? This is only used with paper spigot; open the "readme" file and you can use the paper.yml provided in the .zip.

    How come I don't see alerts? If you are testing it yourself make sure of ALL the following:
    • Enable ore alerts
    • Have the correct world enabled in in the gui
    • Have the correct permissions (axr.alerts)
    • If you are OP, you need to negate the (axr.exempt) permission
    • Not in creative
    • Mined the amount of (x) ore in the timer amount
    • Not mining placed ores. Use natural generated ores to test or set blocks with world edit.
    What versions does it work on? Spigot or PaperSpigot 1.9.4 - 1.16.x are the official tested versions. Anything below 1.9.4 will not be supported.

    How do I get Placeholder's to work? Be sure you have PlaceholderAPI and type /papi ecloud download Skript.
    Code (Text):
    PlaceHolders with PlaceHolderAPI: "/papi ecloud download Skript"

    Iron Ore = %skript_iore.{player}%
    Gold Ore = %skript_gore.{player}%
    Lapis Ore = %skript_lore.{player}%
    Redstone Ore = %skript_rore.{player}%
    Diamond Ore = %skript_dore.{player}%
    Emerald Ore = %skript_eore.{player}%
    upload_2019-9-30_14-34-1.png


    Alert Commands: Add commands you want to execute when you click on the alert message (Version 1.3.4 & higher). For this use `/` in front of the command. Make sure whoever can see the alerts via "axr.alerts" has access to the command you choose.


    Timer: This sets the timer for when you want to get ore alerts. When a player is mining, every X seconds that is set in the config, alerts will send to staff or players with the "axr.alerts" permission node; saying ["Player has mined "ores" in "x" amount of time.]

    Ores mined in a x seconds: Sets the alerts for each specific ore. Example: If 15+ gold is mined, it will notify staff with the permission! Whatever ore and the quantity of the ore that is set in the config, it will notify staff of ores mined in the Timer amount. Ore alerts must be enabled in the GUI!


    Detect ores in mined x seconds: This is used for the auto detection if it is enabled. Set specific ore numbers within the Timer settings. If a player mines 13 diamonds in 30 seconds. The auto-detection will kick them because that is alot of diamonds within 30 seconds. (ALL OF THIS CAN BE CHANGED!)

    AutoKickTime: This is set if a player is auto kicked twice from the detection. On the 3rd time a player has mined more ores than set in the config. It will go on to the next command.

    Commands for Auto Detection: Add whatever command you want to execute. Do not use `/` in front of the command. Do not change the variable names or else it won't work!
    Code (Text):

    #CONFIG
    options:

        #CONFIG STARTS BELOW!
        #=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
        #MESSAGES:
     
        #!!If you want to disable certain ores alerts, put a "#" in front.
        #IE: --> #iron_alert_msg: &e%arg-player% &7found &fIron: %{icounter.%arg-player%}% &7in &e%{timer}% &7seconds!
     
        #!DO NOT change variables in brackets  ie --> %{dcounter.%arg-player%}% <--!
        #ONLY change colorcodes and other words :)

        enabled_world: world
     
        prefix: &8[&6Anti-Xray&8]
     
        truemsg: &7[&a✔ Enabled&7]
     
        falsemsg: &7[&c✘ Disabled&7]
     
        iron_alert_msg: &7found &f%{icounter.%arg-player%}% Iron &7in &e%{timer}% &7seconds!
     
        gold_alert_msg: &7found &6%{gcounter.%arg-player%}% Gold &7in &e%{timer}% &7seconds!
     
        diamond_alert_msg: &7found &b%{dcounter.%arg-player%}% Diamonds &7in &e%{timer}% &7seconds!
     
        emerald_alert_msg: &7found &a%{ecounter.%arg-player%}% Emeralds &7in &e%{timer}% &7seconds!
     
        #message that will appear when you hover over the alert message
     
        alert_hover_msg: &7Click to &6teleport &7to (&e%arg-player%&7)
     
     
        #Command to execute when you click on the alert message.
        #Whoever clicks on the alerts will need permission for the following command(s).
     
        #to disable commands put `#` in front. It might load with an error, but it will still work properly!
        #example -> #alert_command1: vanish %player% <-
     
        alert_command1: /tp %arg-player%
        #only use a "/" in front for the 1st command!
     
        alert_command2: gamemode spectator %player%
        alert_command3: vanish %player%
     
        #=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
        #SOUNDS:
        #Make sure you have the right sounds for your server version!
        #https://www.planetminecraft.com/blog/all-minecraft-sound-id-s-1-11-2/
     
        enabled_sound: entity.player.levelup
        disabled_sound: entity.item.break
        error_sound: entity.villager.no

        #=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
        #AUTO DETECTION SYSTEM:
     
        #Auto-detection must be enabled in the GUI for this to work!
        #autokick for which ore type and how many is mined within the timer amount.
        #if it reaches that amount spefic amount for any ore, they will get punished.
     
        #!!USE "%arg-player%" for the player's name!!
        auto_alert_message: &e%arg-player% &6might be xraying!
     
        auto_command1: kick %arg-player% &8[&6Anti-Xray&8] &c&lPlease remove xray, you have been warned!
        auto_command2: add another command
        auto_command3: add another command
        auto_command4: add another command
     
        #how many times should autokick happen before the next punishment.
        #example: two times the autokick will happen, then on the 3rd time, it will go to the next punishment.
     
        autokicktime: 2
     
        auto_next_message: &e%arg-player% &chas reached the limit for warnings!
     
        auto_next_command1: clearinventory %arg-player%
        auto_next_command2: tempban %arg-player% 2h &8[&6Anti-Xray&8] &4&lRemove your xray!
        auto_next_command3: add another command here
        auto_next_command4: add another command here
     
        #=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
     



    [​IMG]
    Special Thanks to:
    @6085kevin - 1st donator!
    @Rayk - 2nd donator!









    *Dependencies are in the zip folder*
    Skript Download Site
    SkQuery Download




    Want to see plugin showcases?
    Check out my
    YouTube Channel


    [​IMG]



    TOS:
    1. You are permitted to adjust code to your liking but I do not support any damage you may cause while doing so.
    2. You are not permitted to sell, give or redistribute this skript as your own in any way.

    3. You can't claim this skript as your own.
    Vovencio, DuckyBlender, SkoZ and 20 others like this.

Recent Updates

  1. GUI Updates & Offline Ore Updates
  2. 1.7.1-B
  3. Version 1.7.1

Recent Reviews

  1. Sgaddux
    Sgaddux
    5/5,
    Version: 2.0.0
    Creator is extremely diligent and it works flawlessly. Helped me a lot! Great performance compared to Orebfuscator.
  2. FearTheArchitect
    FearTheArchitect
    5/5,
    Version: 2.0.0
    AMAZING plugin but a suggestion would be to add your own custom ores/ other valuable stuff. For example maybe you added a plugin that adds a ore that's not in the game you could add that are to the anti-xray.
  3. BaD-NeWs-Latino
    BaD-NeWs-Latino
    5/5,
    Version: 2.0.0
    Compatible with the Overworld and the Nether. All Ores protected from xrayers. Probably the best plugin and support out there! the discord support was fast and they made it easy to understand, even taught me some new things about server configs. The support was better than most of my college teachers, lol but for real, the best plugin!
  4. Amazed420
    Amazed420
    5/5,
    Version: 2.0.0
    Had a problem setting it up, the support was AMAZING, responded quickly and fixed my problem with one message. Plugin works perfectly
  5. AngstySnow
    AngstySnow
    5/5,
    Version: 2.0.0
    Very fast support and one of the best anti-xray plugins out there. super customizable!
  6. Rishaik
    Rishaik
    5/5,
    Version: 2.0.0
    This is the best plugin I've ever used! If the plug-in changes to pay, I'm willing to buy it! Thank you very much! :)
  7. Deltaspae
    Deltaspae
    5/5,
    Version: 2.0.0
    Awesome plugin for stopping Xray! Very customizable, from alerts to auto warning players.
  8. Themarwik
    Themarwik
    5/5,
    Version: 2.0.0
    its a very good plugin and a exellent support. so thanks for all help ypu have given
  9. xGhostnice
    xGhostnice
    2/5,
    Version: 2.0.0
    When putting /axr and to add a world to activate the AntiXray and write it in the chat it does not recognize it and stays in <none> and I tried it several times and it continues like this, I also make sure that the name of the world is correct, please fix that, or is there another way to add a world to AntiXray
    1. SoulStriker_
      Author's Response
  10. kondug007
    kondug007
    5/5,
    Version: 1.7.1-B
    Awesome plugin! I loved so much. I hope it will be better next times... Good work.