AMPAntiXray - A tool to catch xrayers
1.3A tool to help monitor players and test if they're xrayers
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
- Customizable messages
- Customizable material messages
- Test a player with a bait
- Toggleable messages
- Custom permission messages.
- Custom broadcast messages and targets.
- Command to check a player's mining statistics
Commands:
/ampxray
Info: Gives the list of commands and their permissions
Permission: ampxray.command
/xrayinfo <player>
Info: Gives info on a player
Permission: ampxray.info
/xraytest <player> <material> <time in seconds>
Info: Creates a vein of a material randomly near a player
Permission: ampxray.test
/xraytoggle <player>
Info: Toggles the chat messages when a player is mining
Permission: ampxray.toggle
Config.yml:
#
#
# ___ ___ _________ ___ _ ___ __
# / _ \ | \/ || ___ \/ _ \ | | (_) \ / /
# / /_\ \| . . || |_/ / /_\ \_ __ | |_ _ \ 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!"Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta