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 May 31, 2012The CPU load and Memory is low but this plugin causes lag, (when you hit the block it repairs then breaks 1-2 seconds later) any setting to decrease this? i have set the threads to 4. The server has a 100Mb/s link and a Core2 Duo with 2GB of ram dedicated to MC
-
View User Profile
-
Send Message
Posted May 30, 2012@Patolord
Read the configuration guide in the description.
-
View User Profile
-
Send Message
Posted May 30, 2012Im currently hunting for a Resource Intensive Plugin on my server (CPU) and as usual i was checking orebfuscator, i have seen the many improvements but there is anyway on my config to reduce CPU usage, or the plugin itselfs needs alot of it?
-
View User Profile
-
Send Message
Posted May 30, 2012@daego
Can be ignored safely.
-
View User Profile
-
Send Message
Posted May 30, 2012ok thx,
and i have a error, i think thats for u , not sure,
http://pastebin.com/Affj2cgm
-
View User Profile
-
Send Message
Posted May 30, 2012@asofold
Oh there's a new feature... I forgot i was testing it. It automatically adjust procssing threads up on high load and low on lower loads. You can disable it in the config.
-
View User Profile
-
Send Message
Posted May 30, 2012[OFC] Adjusting processing threads to 2
Why does this happen ?
It is low memory (memory leak for sure somewhere, with few players, server laternating from 5 mb to 100 free, while it should be more like 300 mb), but i have never seen this - it is the temp version from one of your recent posts...
-
View User Profile
-
Send Message
Posted May 30, 2012@daego
Sorry, i didn't see...
It happens because orebfuscator doesn't hide them. Orebfuscator only affects non-transparent blocks, and transparent blocks are ignored. This is because if you replace transparent blocks with non-transparent blocks, players will not be able to cross on their client but the server thinks there is a hole. It's impossible to know when to show the player the real block without complex calculations that will lag the server to death.
-
View User Profile
-
Send Message
Posted May 30, 2012yeah lishid ignore me...
-
View User Profile
-
Send Message
Posted May 30, 2012@ultimateowner56
No, but it might crash at one point saying too many files open.
@dretax
Not sure if using bukkitForge will make this plugin dependant on it. Plus, it's a lot of extra work, remind me in a month...
@Chromana
Engine 2 makes hackers go crazy while engine 1 makes hackers find much less ores by hacking than they can.
-
View User Profile
-
Send Message
Posted May 30, 2012Engine 2 uses more cpu but better hides ores
-
View User Profile
-
Send Message
Posted May 29, 2012What is the benefit of using engine 2 over engine 1?
-
View User Profile
-
Send Message
Posted May 29, 2012@lishid
Your right I did notice slight flashing once i disabled the update on damage but my fix for that was to increase the initial radius and update radius to 2. While the CPU had increased their is zero block lag or server lag even when the server is packed. There is just something about update on damage is very noticable at least on my server.
-
View User Profile
-
Send Message
Posted May 29, 2012@daego
how can i fix that ?
-
View User Profile
-
Send Message
Posted May 29, 2012I set the max cache files to 9999999. Is that going to make my server lag?
-
View User Profile
-
Send Message
Posted May 29, 2012@lishid hey can u support this to mod called simpleores and netherrocks?
It can be done by using bukkitforge http://www.mcportcentral.co.za/
-
View User Profile
-
Send Message
Posted May 29, 2012@only1man1
You probably have permission or is an OP.
@andrewkm
Hmmm I think i know why. try this temp version https://dl.dropbox.com/u/18947504/Orebfuscator.jar
@FatFreeSMP
Thanks!
@CVRipley
Most people have a decent server, but a medium connection. This means that block damage update is necessary to not see blocks 'flashing' from the fake ore Orebfuscator provides. The damage update is only done once, the first time the block is hit.
-
View User Profile
-
Send Message
Posted May 28, 2012I wanted to share my thoughts and opinion of the mod. It works well and does what its intended to do. At first i has severe block lag even with a very powerfull dedicated rack xeon server and then I disabled some of the block updates in the config. Most of them are unnecessary and cause redundant ofc updates and processing on most servers. I highly suggest server owners evaluate which checks are necessary and disable the others. (if you have explosions disabled on the server then disable the updates for it) The one that seems to cause the most lag is the update on block damage. Its really not necessary unless you have initial radius set to 0 or darkness is enabled because blocks will update on break anyway. The blocks have between .5 to 1.5+ second extra delay for the block to pop off and become an item with this enabled. It dosnt make it unplayable but its noticable and makes the server fell laggier then it actually is specially with effeciancy 5 picks. If the author could tweak this one aspect i would have nothing to note about the plugin. I THINK what happens is every time a point of damage occures while your mining a block it repeatidly reupdates the radius over and over till the block breaks. If there was a time delay of how often a block radius is reupdated (based on that blocks coordinates) it would probably correct the lag. However like i said i dont use damage updates so once i turned it off there was zero lag even when increasing the block initial and update radius's beyond the recomended. I do have a feature request that might make the plugin less laggy is to let the server owner specify what levels the orebfuscaton to begin. Some owners only care about the levels where the rare ores diamond, gold, lapiz occure. It might be beneficiant if the server only had to make calculations below the levels that the owner chooses. That way server owners can make a further compromize of performance vs anti-cheat if needed.
-
View User Profile
-
Send Message
Posted May 28, 2012This plugin is in 10th place for WORLD WIDE USE! Soooo Cool!
http://mcstats.org/
Lishy your a pimp and a scholar!
-
View User Profile
-
Send Message
Posted May 28, 2012@lishid
As in we normally have around 20,000 chunks loaded during 220-260 players and suddenly at one point we noticed 2-3 tps (horribly laggy) - and at the same time noticed this was caused due to chunks staying in memory. (Over 80,000 loaded) - meaning it was not unloading chunks.