FAntiXRay
FAntiXRay
ATTENTION: This plugin has to be completely rewritten to work on newer versions of craftbukkit. I dont have time to do this right now, dont expect an update any time soon. I'll update, but not right now.
FAntiXRay is a powerfull and lightweight tool designed to provide protection against x-ray mod. This plugin will rewrite the chunk before it is send to the client providing full protection against almost all x-rays mods out there. This doesn't modifies the world in any kind of way.
Pages: Tips and Configuration | Engine Modes | Benchmarks | Source | Jenkins
Features
- Highly Configurable
- 5 different engine modes
- Hide Chests from chestfinders
- Generate fake caves
- Hide blocks based on light level
- Nether obfuscation
- Efficient cache system
- Threaded block update
- more...
Permissions
- FAntiXRay.Deobfuscate - Disable the obfuscation to a player/group
- FAntiXRay.Quiet.Deobfuscate - Disable the obfuscation to a player/group
- FAntiXRay.Updates - Receives in-game update notifications
- FAntiXRay.ClearCache - Permission to clear the cache
- FAntiXRay.SeeCache - Permission to see the cache status
- FAntiXRay.Reload - Permission to reload the configuration
Commands
- /axr reload - Reload the configuration
- /axr cache - Show cache information
- /axr cache clear - Clear the cache
Attention
This plugin hooks directly into CraftBukkit, as result, it may not work with plugins that do the same (e.g NoLagg, ProtocolLib, Spout, I'll try to make it compatible with most of them), also it will break between minecraft patches, which means a 1.4.7 release will not work with 1.5 or 1.4.6.
Know Bugs
- Let me know if you find any!
NEVER post full error in the comments, use paste, pastebin or pastie. Found a way to bypass the plugin? Send me a private message!
A few config options you set will be collected with metrics by Tyler Blair! To disable it, set opt-out to true at PluginMetrics/config.yml, currently tracked settings:
- Engine Mode Number, Update Radius, Fake Caves Settings, Fake Caves Intensity, Cache Settings, Cache Compression Level, Darkness Obfuscation Settings, Explosion/Piston Update Settings, Proximity Settings and Proximity Radius.
If I have a SSD driver, what should my WritesPerSec be?
Btw here is the correct sentences for Engine Modes page, from top to bottom.
"This mode will hide EVERY block that is listed in the configuration, even if there is nothing blocking your view from it."
"This mode will hide all blocks listed in the configuration, but if it has air in one of its sides it will not be obfuscated."
"This mode will replace every block that doesn't have air in one of its sides by a random block."
You are welcome ☺
@nhoclesnar
Thanks for the feedback and the english tips, especially the english tips. haha.
Oh btw, you should fix the grammar errors in the Engine Modes page. For example, in this sentence you wrote, "This mode will hide all blocks listed in the configuration, but if he have air in one of his sides he will not be obfuscated." I believe "he" here should be "it", as you are referring to the block and not the player. If that is true, then "his" will become "its". It makes much more sense to me that way. Also, "have" should be "has" because "it" is a singular subject.
Tested. V1.3 works awesomely well with Spigot build #269, AntiCheat v1.4, and pTweaks v5.0. It blocks X-ray from Nodus, the infamous Xray Mod, and the beloved Emerald X-ray Texture from minecraftforum. Thanks for such great plugin.
It's awesome plugin
thank you :D
@levisn1
yeah, the cache is not auto-updated when config changes are made C:
@FurmigaHumana
ok fixed the problem with the chests, maybe was the cache folder the problem :D i deleted it and restarted the server :)
v1.2 uploaded with a possible fix to the "too many open files" problem, I don't have the required environment to test if the problem was fixed, but is closing files properly now!
@lucasdidur
I'll think in something to fix that asap, for now I recommend you to leave the cache disabled.
My server has 125 slots, and when cache is enabled, I have this error and server crashes.
@levisn1
might be the cache try deleting the cache folder.
<<reply 1094202>>
im using enginemode: 0 as i said but i stil have the problem of the chests that when someone teleport appear like stone
Lists:
## Random Blocks, list here, all the blocks used on engine mode 2
RandomBlocks:
- 15
- 56
## Hidden Blocks, list here, all the blocks that will be obfuscated by engine mode 0 and 1
HiddenBlocks:
- 14
- 56
## Disabled Worlds, list here, all the worlds that will not be protected by this plugin.
DisabledWorlds:
- world_nether
@levisn1
remove the chest id (54) from the hidden blocks list. it is there by mistake.
Looks like you have HDD, so I recommend to something next to 30.
@FurmigaHumana
ok now works good.. =) but im using the engine 0..and i have some problem with the chests because when someone teleport, for example to his home, he can't see the chests, but see only stones. There is a way to fix this little problem?
Which is the best value for my dedicated of the option WritePerSec?
Kernel and CPU Linux 2.6.32-220.17.1.el6.x86_64 on x86_64
Processor information Intel(R) Xeon(R) CPU E31270 @ 3.40GHz, 8 cores
System uptime 11 days, 9 hours, 16 minutes
Running processes 200
CPU load averages 0.03 (1 min) 0.11 (5 mins) 0.28 (15 mins)
CPU usage 2% user, 0% kernel, 4% IO, 94% idle
Real memory 31.31 GB total, 8.10 GB used
Virtual memory 1.95 GB total, 86.89 MB used
Local disk space 1.79 TB total, 158.97 GB used
this refers to the night when I have a few users.20/12
@levisn1
I uploaded v1.1 right before v1.0 to fix this problem, but bukkit team takes forever to accept the file...
01:16:15 [SEVERE] [FAntiXRay]: Error while reading the data file: null
01:16:15 [SEVERE] [FAntiXRay]: This error is avaliable at: plugins/FAntiXRay/error/29-11-2012-01-16-15
01:16:15 [SEVERE] [FAntiXRay]: Error while reading the data file: null
01:16:15 [SEVERE] [FAntiXRay]: This error is avaliable at: plugins/FAntiXRay/error/29-11-2012-01-16-15
01:16:15 [SEVERE] [FAntiXRay]: Error while reading the data file: null
01:16:15 [SEVERE] [FAntiXRay]: This error is avaliable at: plugins/FAntiXRay/error/29-11-2012-01-16-15
01:16:15 [SEVERE] [FAntiXRay]: Error while reading the data file: null
01:16:15 [SEVERE] [FAntiXRay]: This error is avaliable at: plugins/FAntiXRay/error/29-11-2012-01-16-15
01:16:15 [SEVERE] [FAntiXRay]: Error while reading the data file: null
01:16:15 [SEVERE] [FAntiXRay]: This error is avaliable at: plugins/FAntiXRay/error/29-11-2012-01-16-15
01:16:15 [SEVERE] [FAntiXRay]: Error while reading the data file: null
01:16:15 [SEVERE] [FAntiXRay]: This error is avaliable at: plugins/FAntiXRay/error/29-11-2012-01-16-15
01:16:15 [SEVERE] [FAntiXRay]: Error while reading the data file: null
01:16:15 [SEVERE] [FAntiXRay]: This error is avaliable at: plugins/FAntiXRay/error/29-11-2012-01-16-15
01:16:15 [SEVERE] [FAntiXRay]: Error while reading the data file: null
01:16:15 [SEVERE] [FAntiXRay]: This error is avaliable at: plugins/FAntiXRay/error/29-11-2012-01-16-15
01:16:15 [SEVERE] [FAntiXRay]: Error while reading the data file: null
01:16:15 [SEVERE] [FAntiXRay]: This error is avaliable at: plugins/FAntiXRay/error/29-11-2012-01-16-15
01:16:15 [SEVERE] [FAntiXRay]: Error while reading the data file: null
01:16:15 [SEVERE] [FAntiXRay]: This error is avaliable at: plugins/FAntiXRay/error/29-11-2012-01-16-15
@nhoclesnar
probably will not work, I have not tested.
@FurmigaHumana
This plugin will not work with plugins that alter the chunk sending method, correct?
V 1.1 uploaded, fix compressed cache.
== I love this plugin, is already an essential plugin from my server, Plugin Perfect no Lag Yeaah Good. Thank you for providing ==