HomeJavaModsAMPAntiXray - A tool to catch xrayers
AMPAntiXray - A tool to catch xrayers
ModsJava

AMPAntiXray - A tool to catch xrayers

⬇ Download on Spigot
This plugin was created for a small survival server and needed a check to see if a player that is playing is an xrayer or not,
so I said why not to publish this plugin since the server is closed.

If you need support make sure to check my discord server!
https://discord.gg/dtmh6XY44u

AMPAntiXray.png


Commands:

/ampxray

Info: Gives the list of commands and their permissions
Permission: ampxray.command
upload_2021-10-12_16-22-26.png

/xrayinfo <player>

Info: Gives info on a player
Permission: ampxray.info
upload_2021-10-12_16-21-14.png

/xraytest <player> <material> <time in seconds>

Info: Creates a vein of a material randomly near a player
Permission: ampxray.test
upload_2021-10-15_19-12-8.png

upload_2021-10-15_19-12-45.png

/xraytoggle <player>

Info: Toggles the chat messages when a player is mining
Permission: ampxray.toggle
upload_2021-10-12_16-21-35.png

Config.yml:

Code (YAML):
#
#
#      ___  ___  _________  ___        _   ___   __
#     / _ \ |  \/  || ___ \/ _ \      | | (_) \ / /
#    / /_\ \| .  . || |_/ / /_\ \_ __ | |_ _ \ V / _ __ __ _ _   _
#   |  _  || |\/| ||  __/|  _  | '_ \| __| |/   \| '__/ _` | | | |
#   | | | || |  | || |   | | | | | | | |_| / /^\ \ | | (_| | |_| |
#   \_| |_/\_|  |_/\_|   \_| |_/_| |_|\__|_\/   \/_|  \__,_|\__, |
#                                                            __/ |
#                                                           |___/
#
#    Hello there user! here you can configure the messages and the mechanics overall of
#    the plugin have fun configuring to your liking!
#    If you need help or you have any kind of suggestion to add to the plugin than suggest/request it in my discord channel:
#
#    Link: https://discord.gg/dtmh6XY44u
#


PREFIX
: "&8[&f&lAMP&bAntiXray&8]&7"

XRAY
:
  NOTIFY
: "%prefix% Player %player% broke %ore% at x: <x> y: <y> z: <z> in world <world>"
  CONSOLE_LOGGING
: true #Do you want to log block breaking to console?
  CONSOLE_LOG
: "[AntiXray] %player% broke %ore% at x: <x> y: <y> z: <z> in world <world>"
  MATERIALS_LIST
:
   - IRON_ORE
    - GOLD_ORE
    - DIAMOND_ORE
    - EMERALD_ORE
    - ANCIENT_DEBRIS

# Command: /ampxray
AMPXRAY
:
  NO_PERM
: "%prefix% Sorry but you don't have the required permission!"
  COMMAND
:
   - ""
    - "&f&lAMP&bAntiXray &7Help:"
    - ""
    - "&f/xrayinfo <player>&8- &7Gives info on a player"
    - "&fPermission&8
: &7ampxray.info"
    - ""
    - "&f/xraytest <player> <material> <time in sec> &8- &7Creates a vein of a material randomly near a player"
    - "&fPermission&8
: &7ampxray.test"
    - ""
    - "&f/xraytoggle <player> &8- &7Toggles the chat messages when a player is mining"
    - "&fPermission&8
: &7ampxray.toggle"
    - ""

# Command: /xrayinfo <player>
XRAYINFO
:
  USAGE
: "%prefix% Usage: /xrayinfo <player>"
  NO_PERM
: "%prefix% Sorry but you don't have the required permission!"
  TARGET_NOT_EXIST
: "%prefix% Please check that you wrote the player correctly."
  PLAYER_INFO
:
   - ""
    - "%prefix% %player%'s xray info"
    - ""
    - "&7Iron ore mined&8
: IRON_ORE "
    - "
&6Gold ore mined&8 : GOLD_ORE "
    - "
&bDiamond ore mined&8 : DIAMOND_ORE "
    - "
"

# Command: /xraytoggle
# I suggest to let only high staff to toggle because if every staff will disable the xray messages than xrayers can mine all the time and no one will get notified.
XRAYTOGGLE:
  ENABLED: "
%prefix% You have turned &aon&7 the xray messages"
  DISABLED
: "%prefix% You have turned &coff&7 the xray messages"

# Command: /xraytest <player> <ore> [sec]
XRAYTEST
:
  CAN_SELF
: false # Can they test on themselves the xray test? Remember! it spawns the block they want and gives coords!
  ONLY_LIST
: true # Do you want them to be able to set all materials in minecraft or just what in the material list
  MATERIAL_LIST
:
   - IRON_ORE
    - GOLD_ORE
    - DIAMOND_ORE
    - EMERALD_ORE
    - ANCIENT_DEBRIS
  DEFAULT_TIME
: 120 #If you don't specify a time what should the time be at its default?
  TIMES
:
   - 10
    - 30
    - 60
    - 90
    - 180
    - 270
    - 360
  RADIUS
: # Randomizes how far to put the bait
    max-x
: 10
    min-x
: 6
    max-y
: 3
    min-y
: 1
    max-z
: 10
    min-z
: 6
  USAGE
: "%prefix% Usage: /xraytest <player> <ore> [sec]"
  NO_PERM
: "%prefix% Sorry but you don't have the required permission!"
  DENY_SELF
: "%prefix% Sorry but you can't perform the command on yourself!"
  BAIT_SUCCESSFUL
: "%prefix% The bait has &aSuccessfully &7created at x: <x> y: <y> z: <z> in world <world> on %player%"
  BAIT_ACTIVATED
: "%prefix% The player %player% has activated the bait!"
 

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

AMPAntiXray - A tool to catch xrayers is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.16, 1.17. Downloaded 692 times (via Spigot). Download it and open it directly in the game.

Explore more