AntiXray - Warn staff of possible xrayers AND troll them! icon

AntiXray - Warn staff of possible xrayers AND troll them! -----

Warn staff if players seem to be using xray




Added
- The xray alert message now supports a click to TP feature that teleports you to the suspected player. Please note that in order to use this feature, the user clicking the message must have the essentials.tpo permission node
----------, Mar 24, 2021

Improvements
- Added a new option in the TrollCommand section called "RemoveOnLogout". If true, players who are being trolled will no longer be trolled if they log out and back in
- You can now remove offline players from the troll list

Config Changes
Please change the TrollCommand section of the config to this:
Code (Text):
# This is a fun feature to troll xrayers. If you you have this enabled then you are able to do /axtroll add [player].
# If a player is added to the troll list then whenever they mine diamond ore, it will drop what you set the "Drop:"
# item to below instead of diamonds. To stop trolling them, simply use /axtroll remove [player]. If "RemoveOnLogout"
# is set to true, then when a player logs out, it will automatically remove them from the troll list so you don't
# have to. When they rejoin they will not be getting trolled anymore.
TrollCommand:
  Enabled: false
  Drop: COAL
  RemoveOnLogout: true
----------, Mar 23, 2021

Added troll command
A fun misc feature if you want to have fun with xrayers before you punish them! You can enable / disable the trolling feature in config and if it is enabled you can set what you want ores to drop if they are mined by people you add to the troll list.

New commands
- /axtroll add [player] - Add someone to the troll list so ores defined in the config drop troll items instead of the actual drops
- /axtroll remove [player] - Remove someone from the troll list (resets every restart anyway though)

New permissions
antixray.troll - Allow someone to add / remove people from the troll list

Config update
Please either reset your config or add this section to the bottom
Code (Text):
# This is a fun feature to troll xrayers. If you you have this enabled then you are able to do /axtroll add [player].
# If a player is added to the troll list then whenever they mine diamond ore, it will drop what you set the "Drop:"
# item to below instead of diamonds. To stop trolling them, simply use /axtroll remove [player]
TrollCommand:
  Enabled: false
  Drop: COAL
If you like this update please leave a good review!
----------, Mar 18, 2021

Added
- The alert message sent if someone is suspected of using xray is now configurable with internal placeholders

Either reset your config or add this to the bottom:
Code (Text):
# Set the alert message that is sent to all players with the "xray.alerts" permission. You can use the following placeholders:
#   %player% - Returns the player suspected of xraying
#   %world% - Returns the name of the world the player is possibly xraying in
#   %xcord% - Returns the X-cord of the location the player is possibly xraying
#   %ycord% - Returns the Y-cord of the location the player is possibly xraying
#   %zcord% - Returns the Z-cord of the location the player is possibly xraying
AlertMessage: "&c%player% might be using xray at %world%: %xcord%, %ycord%, %zcord%"
If you like this plugin please give it a good review! If you need support feel free to DM me :)
----------, Mar 14, 2021

Bug Fix
- Fixed an issue where it wouldn't send the xray alert message to players who are part of a group with the permission. It would only send if the player had the permission

If you like this plugin I would massively appreciate leaving a review! If you need any support feel free to PM me :)
----------, Mar 14, 2021

Bug fix from previous version
- Fixed a major issue with v1.3 where it would spam the xray message and causing the /axalerts command not to work
----------, Mar 14, 2021

Improvements
- Removed how many blocks were mined in the xray message since it will always been the threshold (as the message gets sent as soon as the threshold is hit)

- Added new /axalerts (or /axa) to toggle seeing xray alerts (everyone with the permission xray.alerts will be able to do this
----------, Mar 14, 2021

Improvements
- If a player breaches the threshold inside the time set, instead of it waiting until the time is over to say they might be xraying (which has resulted in players not even being at the site anymore when the message appears), it cancels the task and says it immediately so you are notified as soon as they breach

- The cords given in the message no longer say the cords of the 1st block broken, but cords of the last
----------, Mar 14, 2021

Added
- Added a world blacklist if you don't want players to flag up in specific worlds
- Added a creative mode check if you want to enable / disable people getting flagged in creative mode
- Added new antixray.bypass permission if you want to prevent people flagging up

Reset / update your config
You can either reset your config or add this at the bottom of your current config:

Code (Text):
# Worlds in this list will not flag anyone for possible xray
World-Blacklist:
  - world1
  - world2
  - world3

# If this is false, players in creative mode will not get flagged for possible xray. It is recommended to keep this false
CheckCreative: false
 
----------, Mar 13, 2021

Resource Information
Author:
----------
Total Downloads: 737
First Release: Mar 13, 2021
Last Update: Mar 24, 2021
Category: ---------------
All-Time Rating:
3 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings