- check_circle Functions
- 37,471 views, 7 today
- 4,617 downloads, 0 today
12
An Anti-xray pack for 1.17.1:
I couldn't find a simple anti-xray datapack that worked properly for me so i decided to create it myself.
What does it do?
It logs how many diamonds and ancient debris a player has mined.
The maximum is 20 valuables each ~10 minutes and if the player reaches this count all people with the OP tag will be notified.
The xrayer will get the tag 'XRAY_WARNING_[RESOURCE]' so if all moderators are offline, they can check for the tag once they're online.
How do i give someone OP?
OP in this pack isn't the same as the /op command; It's just a tag.
You give this tag to someone with the command /tag [username] add OP
To remove it, type /tag [username] remove OP
How to install?
1. Download the .zip file
2. Drag the file into %appdata%\.minecraft\saves\yourworldnamehere\datapacks
3. Extract the .zip (for some reason my packs never work while zipped)
4. Open your minecraft world and type /reload
How to uninstall?
1. Type '/function ax:uninstall'
2. Remove the Anti-Xray pack
About this pack:
It is definitely not my intention to copy people who created similar packs; it's just that i made a really simple one myself and wanted to share it on here.
I know that there are plugins out there that do the job way better, but this pack is aimed at small servers/realms.
I couldn't find a simple anti-xray datapack that worked properly for me so i decided to create it myself.
What does it do?
It logs how many diamonds and ancient debris a player has mined.
The maximum is 20 valuables each ~10 minutes and if the player reaches this count all people with the OP tag will be notified.
The xrayer will get the tag 'XRAY_WARNING_[RESOURCE]' so if all moderators are offline, they can check for the tag once they're online.
How do i give someone OP?
OP in this pack isn't the same as the /op command; It's just a tag.
You give this tag to someone with the command /tag [username] add OP
To remove it, type /tag [username] remove OP
How to install?
1. Download the .zip file
2. Drag the file into %appdata%\.minecraft\saves\yourworldnamehere\datapacks
3. Extract the .zip (for some reason my packs never work while zipped)
4. Open your minecraft world and type /reload
How to uninstall?
1. Type '/function ax:uninstall'
2. Remove the Anti-Xray pack
About this pack:
It is definitely not my intention to copy people who created similar packs; it's just that i made a really simple one myself and wanted to share it on here.
I know that there are plugins out there that do the job way better, but this pack is aimed at small servers/realms.
Compatibility | Minecraft 1.17 |
Tags |
4 Update Logs
Patch 4 : by BruceVII 11/22/2021 6:04:49 amNov 22nd, 2021
+ Upgraded the pack to 1.17.1, it can handle deepslate diamonds as well now
+ Made the pack less resource intensive by checking scores every 5 ticks instead of every tick
+ Improved the color scheme of the messages
+ The ax:uninstall function actually works now
+ Made the pack less resource intensive by checking scores every 5 ticks instead of every tick
+ Improved the color scheme of the messages
+ The ax:uninstall function actually works now
LOAD MORE LOGS
tools/tracking
4750013
119
anti-xray
Create an account or sign in to comment.
Does this work on 1.18 ?
And if not do you will update it ?
How do I enable it? I put it in singleplayer, did /reload and tested and didnt get any tags...
However, here's a version of the pack which will work on 1.16.5:
https://www.planetminecraft.com/data-pack/anti-xray-1-16-5/
Also, keep in mind whilst testing that placing ores and mining them won't give you a tag (because you placed them first). You have to mine ores you didn't place for the counter to go up (this is to prevent false-positives from people who mine a lot of diamonds with silk touch, place them down, and mine all of them with fortune 3).
Thanks