Anti-Xray 1.6.6

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


    [​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 Showcase!


    Check out my YouTube Channel


    [​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]



    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!









    *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.
    tripalink, Eth1, VICBIECK and 16 others like this.

Recent Reviews

  1. MutatedNut
    MutatedNut
    4/5,
    Version: 1.6.6
    A very good plugin but for some reason the punishments don't work for me. I have put the command I want it to run after 1 kick, but it just kicks every single time instead of going to the next command.
  2. Innocent
    Innocent
    5/5,
    Version: 1.6.6
    Great plugin for catching x-rayers! Although I do have an issue where every time I join my server I keep getting an update message, even though I already updated to the latest version.
    1. SoulStriker_
      Author's Response
      Thank you for the review! I'm sorry, I have updated that so it should be good now.
  3. Carl0Jonshon
    Carl0Jonshon
    5/5,
    Version: 1.6.6
    The author write me a discord, I have an excellent source of the best protection I will wait
    0X-XionioX-0X#6436
    1. SoulStriker_
      Author's Response
  4. DannySykes_
    DannySykes_
    4/5,
    Version: 1.6.6
    Good afternoon from the updata the plugin stopped working and I would like to know if something is creating conflict I get the following message

    Error>> That Player has never joined!

    :C
    1. SoulStriker_
      Author's Response
  5. Xdlob9
    Xdlob9
    5/5,
    Version: 1.6.6
    This is one of the best free Anti-XRay plugins that i had tested.
    The support on Discord is very friendly and they constantly talk to you if you have any problem with the Skript its-self.

    PS: Been using since March and its perfect ^^
    Keep the good work!
    1. SoulStriker_
      Author's Response
      Thank you very much for the review :) Glad it's working how it should!
  6. zelopec
    zelopec
    5/5,
    Version: 1.6.5
    Very good resource. It works perfectly and the creator's support is TOP. I recommend using on paper instead of spigot to activate the fake ores!
    1. SoulStriker_
      Author's Response
      Thank you for the review zelopec! I'm glad you like it :)
  7. 6085kevin
    6085kevin
    5/5,
    Version: 1.6.5
    ------------------------------------------------
    THX FOR UPDATE 1.16, GUY! <3
    -----------------------------------------------
    1. SoulStriker_
      Author's Response
      Thank you for the review!
  8. Norge100
    Norge100
    1/5,
    Version: 1.6.4
    If they mining 1 diamond, they get banned immediately
    ..........................
    1. SoulStriker_
      Author's Response
      That is on your settings. Means that your didn't follow or read how to set it up. Either disable auto-detection or change the count.
  9. rawnes
    rawnes
    5/5,
    Version: 1.6.3
    The plugin works perfect also hes discord support is 10/10 thanks for everything
    1. SoulStriker_
      Author's Response
      Thank you for the review!
  10. luxandre
    luxandre
    5/5,
    Version: 1.6.3
    it works 100% fine!!!!!!!!! now my players will never escape the ban hammer...............
    1. SoulStriker_
      Author's Response
      Thank you for the review! Glad you are enjoying it :)