Orebfuscator
Orebfuscator - Anti X-RAY:
For all releases of 1.9/1.9.1/1.9.2/1.9.4/1.10/1.11/1.12.x/1.13.x: Version 4.4.3
Now with support for CraftBukkit 1.9/1.9.1/1.9.2/1.9.4/1.10/1.11/1.12.x/1.13.x!
This plugin is used to counter X-RAY Client mods.
It modifies data that are sent to clients to hide blocks of your choice, such as Ore, chests, dungeons, etc.
It does not manipulate blocks in the world file, thus is safe to use.
ProximityHider is a feature that hides chests that are far from players.
As of 4.3.3, Proximity Hider has been enhanced to use line-of-sight checks, not just proximity! Upgrade today.
Configuration Guide
https://github.com/lishid/Orebfuscator/wiki/How-to-properly-configure-Orebfuscator
https://github.com/lishid/Orebfuscator/wiki/Configuration-File
FAQ
https://github.com/lishid/Orebfuscator/wiki/FAQ
DOWNLOAD
Please read compatibility information before downloading as not all releases work with all versions of CraftBukkit.
Latest version should be on BukkitDev, or as a release on the Github page: https://github.com/lishid/Orebfuscator/releases
Please also download ProtocolLib and install it in the plugins folder.
- Is compatible only with version 4.0.0 or newer.
- For 1.9.4 support, you must use build 277 or newer of Protocollib 4.0
- For 1.10 support, you must use build 293 or newer of Protocollib 4.0
- For 1.11 support, please use latest stable builds of ProtocolLib for 1.11.
- For 1.12 support, please use ProtocolLib 4.3.0 or newer.
- For 1.13 support, please use ProtocolLib 4.4.0 or newer.
- Download link: https://www.spigotmc.org/resources/protocollib.1997/
- Legacy Link: http://dev.bukkit.org/server-mods/protocollib/
Features
- Advanced algorithm that hides ore, chest and and anything you specify in the configuration
- Spout compatible, but optional
- No modifications to CraftBukkit.jar is needed
- Customize the blocks you want to hide
- HIDES DUNGEONS and other blocks that are in the dark
- Different hiding mode, or scrambling.
- Extensive configuration. Change updating methods depending on your bandwidth and processing speed.
- Hide hidden chests and furnaces until a player is close to it.
- Hide hidden chests and furnaces until a player can see it.
Usage
Install:
- Copy "orebfuscator-4.4.3.jar" to your plugins folder
- If you're upgrading from Orebfuscator.jar, move the contents of the "Orebfuscator3" folder to the "Orebfuscator4" folder
- Restart your server.
Configuration
See this: https://github.com/lishid/Orebfuscator/wiki
Commands
See this: https://github.com/lishid/Orebfuscator/wiki
Permissions
See this: https://github.com/lishid/Orebfuscator/wiki
Source Code
Here you go! (Hosted on Github) - please post issues and requests for help there
Metrics
- This plugin utilizes Hidendra's plugin metrics system, which means that anonymous information of your OS and setup will be collected and sent to mcstats.org
- Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true.
Thanks!
- Aleksey_Terzi, single-handedly updating to CraftBukkit 1.9, 1.11, and 1.12!
- DevotedMC for taking over management of the project
- AFFORESS, major help on code optimization and spout support!
- Lishid, for years(!) of maintaining this plugin, and MarioG1 for recent patch support
- raphfrk, helped with packet processing
- Many donators!
Bugs
- See the issues page for any outstanding problems.
TODO
- A command that generates the world cache for the existing chunks.
Changelog
Version 4.4.3
- Support for Minecraft 1.13.2 latest builds (CraftBukkit/Spigot/etc)
Version 4.4.2
- Fixes for reported issues during use -- please update
Version 4.4.1
- Support for Minecraft 1.13 and 1.13x (CraftBukkit/Spigot/etc)
- Some enhancements under the covers, including better support for tile entity hiding and state management
Version 4.3.3
- Includes fixes for portions of #164
- NEW FEATURE: Gaze based proximity hiding. If you can't see it due to blocks in the way, it stays proximity hid, regardless of your physical closeness! For full details, read here: PR#16
- New example configs! Find them here: https://github.com/lishid/Orebfuscator/tree/master/Plugin/src/main/resources/resources
Version 4.3.0
- Support for Minecraft 1.12 (CraftBukkit/Spigot/etc)
Version 4.2.1
- #135 : Resolved issue that plugin doesn't work unless you delete the config and force reload and clear cache after startup
Version 4.2.0
- Support for Minecraft 1.11 (CraftBukkit/Spigot/etc)
- Remove ChunkReloader due to performance issues at scale.
- Addressed #66. Limit Cache retention configuration options added.
- Proximity Hider blocks are by default orebfuscated, if both are active.
- Implemented #62. Per World Configuration -- have unique configurations per world.
- Addressed DevotedMC#8. Allow for unique proximity Y height per material hidden.
- Fixed #113. Item frames sometime disappeared.
- Fixed #124. Glitches when used FastAsyncWorldEdit.
- Fixed #125. Prevent obfuscation for NPC, for ex. NPC from plugin Citizens.
- Fixed #128. EntityChangeBlockEvent was not causing block updates.
Version 4.1.4
- Fixing ChunkLoader error: https://github.com/lishid/Orebfuscator/issues/110
- Improving performance of ChunkReloader
Version 4.1.2
- It is now possible to use Worlds list either as blacklist (i.e. all worlds are subject for obfuscation excluding listed) or as whitelist (i.e. only listed worlds are subject for obfuscation)
- Fixed bug with using ProximityHider and Signs. It is now possible to add WALL_SIGN and SIGN_POST to ProximityHider obfuscation.
- Updated wiki so commands and configuration pages are matching to the current Orebfuscator.
Version 4.1.1
- Various Small fixes
- Fix which might resolves problem described in https://github.com/lishid/Orebfuscator/issues/100
- Config file now supports block names additionally to IDs
Version 4.1.0
- Support for CB 1.10 - thanks Asgarioth!
Version 4.0.14
- Single jar supports all releases of 1.9.x now!
- Some chunk reload issues are corrected (on teleport, etc.)
Version 4.0.12.1
- Add support for 1.9.4 - this release does not support prior versions.
Version 4.0.12
- Fixed entity list reload issue
Version 4.0.11
- Fixed failure to deobfuscate along chunk boundaries under specific conditions.
Version 4.0.10
- Fixed crash for PaperSpigot servers
Version 4.0.9
- Fixed crash when chunk section (16 x 16 x 16) has more than 127 different block types
- Implemented different "transparent block" lists for Engine Mode 1 and Engine Mode 2. For now only difference is with lava block, for mode 1 it is non-transparent, for mode 2 it is transparent.
- Implemented possibility to specify which blocks are transparent and not in the config file, sections: TransparentBlocks and NonTransparentBlocks.
- Fix which may have solved java.util.ConcurrentModificationException
- Fix for phantom blocks (visible after chunk reloaded) when player is digging straight line on the chunk border.
Version 4.0.7-beta
- Corrected transparent block list. For example, lava blocks marked as transparent and therefore adjacent blocks are not obfuscating anymore
- Improved performance of ProximityHider function
Version 4.0.5-alpha
- Fixes teleport / join in the End causing client-side crashes.
- Fixes failure to deobfuscate immediately on join.
Version 4.0.3-alpha
- Updated to MC1.9.
Full release notes: In Github Release
Version 3.0.5
- Updated to MC1.8.3.
Full history: https:github.com/lishd/Orebfuscator/wiki/Version-History
A quick donation is always appreciated :D
Devoted Patreon or General Inquiry
-
View User Profile
-
Send Message
Posted Mar 23, 2014@lishid
Thanks!
-
View User Profile
-
Send Message
Posted Mar 23, 2014@Squawkers13
Uploaded Orebfuscator 2.1.2 to fix that issue.
-
View User Profile
-
Send Message
Posted Mar 23, 2014@Squawkers13
A copy of the error would have been more helpful... I'll look into it.
-
View User Profile
-
Send Message
Posted Mar 23, 20142.1.1 keeps throwing a ClassCastException in the console. Using CB 1.7.5
-
View User Profile
-
Send Message
Posted Mar 23, 2014@Wizel603
@grdgyyr
New version for MC1.7.5 is done. If you can't see the file because bukkitdev reviewing, go ahead to the forum page.
http://forums.bukkit.org/threads/38385/
-
View User Profile
-
Send Message
Posted Mar 22, 2014please update to 1.7.5 . orebfucator failed to load
-
View User Profile
-
Send Message
Posted Mar 22, 2014One of the very recent Bukkit dev builds seems to have become incompatible with Orebfusicator: http://mc.rut.org/paste20140323.txt
EDIT: I failed to notice that they've started on 1.7.5. Well that explains that.
-
View User Profile
-
Send Message
Posted Mar 14, 2014@ThaSourceGaming
I'm not sure I understand how "Chest-Finder cheats usually bypass that". Unless if you configured ProximityHider to have a very large distance, the default 8 is usually enough to prevent people from finding chests.
-
View User Profile
-
Send Message
Posted Mar 14, 2014Hey, lishid, are you planning on making an anti-chest finder included in this? I know you already have proximity, but Chest-Finder cheats usually bypass that :S It would be real nice to have an anti-chest finder tool in oreb, though as me and you both know it may be almost impossible.
-
View User Profile
-
Send Message
Posted Mar 8, 2014The wiki configuration file can use some updating I can't fully configure it without knowing about the entire file. There is a few things missing and most likely outdated as well. Can you please update that.
-
View User Profile
-
Send Message
Posted Mar 7, 2014@szebi1999
That's just the updater... I'll nerf it in the next version.
@Bobcat00
Sure, I don't see why not.
-
View User Profile
-
Send Message
Posted Mar 7, 2014I was thinking of disabling Orebfusicator in The End. Is there any reason not to?
-
View User Profile
-
Send Message
Posted Mar 1, 2014@lishid
Ok, I think I'll leave it at where it is. Thanks again for the help. Your plugin has already helped me thwart one person who was using xray XD
-
View User Profile
-
Send Message
Posted Feb 28, 2014Log: [01:59:12] [Craft Scheduler Thread - 2/WARN]: [Orebfuscator] The updater could not contact curse for updating. [01:59:12] [Craft Scheduler Thread - 2/WARN]: java.io.IOException: Server returned HTTP response code: 504 for URL: https://api.curseforge.com/servermods/files?projectIds=32408 [01:59:12] [Craft Scheduler Thread - 2/WARN]: at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) [01:59:12] [Craft Scheduler Thread - 2/WARN]: at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source) [01:59:12] [Craft Scheduler Thread - 2/WARN]: at com.lishid.orebfuscator.utils.Updater.read(Updater.java:340) [01:59:12] [Craft Scheduler Thread - 2/WARN]: at com.lishid.orebfuscator.utils.Updater.update(Updater.java:396) [01:59:12] [Craft Scheduler Thread - 2/WARN]: at com.lishid.orebfuscator.utils.UpdateManager$1.run(UpdateManager.java:21) [01:59:12] [Craft Scheduler Thread - 2/WARN]: at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftTask.run(CraftTask.java:67) [01:59:12] [Craft Scheduler Thread - 2/WARN]: at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) [01:59:12] [Craft Scheduler Thread - 2/WARN]: at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [01:59:12] [Craft Scheduler Thread - 2/WARN]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [01:59:12] [Craft Scheduler Thread - 2/WARN]: at java.lang.Thread.run(Unknown Source) [01:59:12] [Craft Scheduler Thread - 2/INFO]: [OFC] Update failed, reason: FAIL_DBO
-
View User Profile
-
Send Message
Posted Feb 28, 2014@lBadTouch3l
It usually take a lot more CPU for not much more compressed, which is why level 1 is used. At one point, CraftBukkit turned it to 6 by default, but it lagged pretty hard because of that, so they switched it back.
But if you have a lot of CPU to spare, you could try taking the compression level up, which will save some bandwidth, not sure how much though.
-
View User Profile
-
Send Message
Posted Feb 28, 2014@lishid
Thanks a bunch for the info. This, along with the wiki (which is more competently written than most) has helped me to make some tweaks.
Mainly, I turned off the proximity hider and switched to engine mode #1. My only other question is on compression. I see that compression is at the lowest amount by default in the config. If I were to turn that up would I save on bandwidth at the expense of CPU usage?
-
View User Profile
-
Send Message
Posted Feb 28, 2014@lBadTouch3l
Orebfuscator has this feature called ProximityHider which hides stuff like chests until players are close by to prevent xray from finding those. You can disable it if you don't need that protection.
Orebfuscator does use quite some CPU, but on different cores of the CPU, which means it has no impact on Minecraft. Profilers usually show you all CPU-time that a java process uses, but you should only look at the "Main" game thread to determine which plugin takes CPU away from the server.
Dynmap uses CPU to render an image from the top blocks of each chunk when a chunk is modified, whereas Orebfuscator needs to obfuscate the entire chunk before sending it to the client, every time the client needs a new chunk. This does mean more CPU, but again, it's off the main thread so it should not impact at all.
-
View User Profile
-
Send Message
Posted Feb 28, 2014I am having a problem where chests and certain other objects that orebfuscator protects are showing up as stone until you walk up close to them. This happens to all players regardless of something being in plain site or being underground.
Also, I am using Java VisualVM to determine which plugins are eating up the most resources on my server and while dynmap (my second most resource intensive plugin) eats up 4% of total cpu usage, Orebfuscator will comprise of 13%.
Are there steps I can take to make Orebfuscator run at optimal efficiency?
-
View User Profile
-
Send Message
Posted Feb 27, 2014@lishid
I tried a hack that didn't have a good xray that's why.
-
View User Profile
-
Send Message
Posted Feb 27, 2014@BlackFing85
Try on a normal user account or deop yourself.