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
AMAZING SIR.
I love you man, this is an amazing plugin!
Answers to some questions: Yes, it works on 1.00. Yes, it works on latest CB dev build just fine. Yes, there is a SLIGHT increase in CPU use, but not that much to matter. The benefits far outweigh the CPU use negatives.
15:24:30 [SEVERE] Error occurred while enabling Orebfuscator v1.1.3 (Is it up to date?): null java.lang.NullPointerException at org.bukkit.plugin.java.JavaPlugin.getResource(JavaPlugin.java:156) at org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:133) at org.bukkit.plugin.java.JavaPlugin.getConfig(JavaPlugin.java:125) at lishid.orebfuscator.utils.OrebfuscatorConfig.GetInt(OrebfuscatorConfi g.java:248) at lishid.orebfuscator.utils.OrebfuscatorConfig.Load(OrebfuscatorConfig. java:297) at lishid.orebfuscator.Orebfuscator.onEnable(Orebfuscator.java:31) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:183) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader .java:957) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage r.java:280) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:176) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:159 ) at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:337) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:324) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:161) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:388) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457) 15:24:30 [INFO] Server permissions file permissions.yml is empty, ignoring it 15:24:30 [INFO] Done (0.278s)! For help, type "help" or "?" 15:24:55 [INFO] /127.0.0.1:53409 lost connection
i am running Build #1465 and thats the only plugin i have installed Thanks! also i dont have spout installed either.
Works great on CB#1547. No spout installed. My server tick per second using LagMeter /lag fell from 20tps to 13-15tps when Orebfuscator is activated. It using a lot CPU power?
Edit: Users not experiencing any lag in-game tho.
So having mixed results on the plugin. Showing that sometimes it works other time it only does one chunk as seen in this picture:
http://i.imgur.com/UhecY.png
Using spout so not sure if thats interfering.
EDIT:: Confirmed that Spout is interfering. Great plugin though.
once this is MC 1.0.0 compatible I'll be utilizing this, thank you!
Broken in bukkit for minecarft 1.0.
This seems to work nice, in exception for the severe block lag it causes to clients. (no server lag) Any suggestions?
This makes CFbanner stop working... but obfuscates ores
Edit: unless you rename CFbanner zCFbanner and load it last.
Heya folks,
First off, I LOVE this plugin.
2nd, Recently I'm getting this error:
I'm getting extreme client-side lag, at the point it completely stops, when I teleport from one place to another. I really need your plugin, please fix!
I was using OTC before, and now I want to use this one, but when I put it into the server and as you can remember, OTC just replaces ores for Iron and Diamond in the default engine , so when I put Orebfuscator I get all replaced but for stone only, not randomly :(
Why is this happening?
Yes your plugin temporary broke our world,and while it was extremely funny because everyone was falling into the void, we were forced to remove the plugin from the server until further notice. Here the the log of terrifying screams, of men and little men falling into the void, and never dieing.
011-11-07 22:24:32 [INFO] <*Demons Y_U_DUMB> wtf is happening?! 2011-11-07 22:24:33 [INFO] <GhostSkyPirates 7007King0770> DUDE 2011-11-07 22:24:36 [INFO] <GhostSkyPirates 7007King0770> THIS IS INSANE 2011-11-07 22:24:40 [INFO] <Elites elite9446> im going to listin to some music k? 2011-11-07 22:24:47 [INFO] <GhostSkyPirates 7007King0770> this is void survival yep 2011-11-07 22:24:49 [INFO] <Zhone> there you go cameron 2011-11-07 22:24:51 [INFO] <unknown Michael1121> LOL 2011-11-07 22:24:53 [INFO] <Elites elite9446> zhone how do u show u music on steam? 2011-11-07 22:24:57 [INFO] <slamrod> im stuck :/ 2011-11-07 22:25:00 [INFO] <Zhone> idk elite 2011-11-07 22:25:01 [INFO] <Zhone> i dont 2011-11-07 22:25:02 [INFO] <unknown Michael1121> someone give me wool 2011-11-07 22:25:06 [INFO] <GhostSkyPirates Zryn> help 2011-11-07 22:25:07 [INFO] <Zhone> and im not on steam nor will i be 2011-11-07 22:25:10 [INFO] <GhostSkyPirates 7007King0770> im going to search for land 2011-11-07 22:25:14 [INFO] <unknown Michael1121> and ill build an airship and get us down 2011-11-07 22:25:14 [INFO] <Elites elite9446> king how do i show people stuff on steam?> 2011-11-07 22:25:16 [INFO] <*Demons Y_U_DUMB> king i cant move 2011-11-07 22:25:18 [INFO] <slamrod> woah 2011-11-07 22:25:19 [INFO] <Zhone> king 2011-11-07 22:25:20 [INFO] <GhostSkyPirates 7007King0770> erm 2011-11-07 22:25:20 [INFO] <slamrod> look 2011-11-07 22:25:21 [INFO] <Elites elite9446> pokemon come to me! 2011-11-07 22:25:23 [INFO] <Zhone> the world loaded for me 2011-11-07 22:25:23 [INFO] <GhostSkyPirates 7007King0770> I think the map is broken 2011-11-07 22:25:27 [INFO] <GhostSkyPirates Zryn> someone build under me 2011-11-07 22:25:29 [INFO] <GhostSkyPirates 7007King0770> anyone else agree? 2011-11-07 22:25:29 [INFO] <Zhone> ITS FINE 2011-11-07 22:25:30 [INFO] <slamrod> Yeah its def broken 2011-11-07 22:25:32 [INFO] <Zhone> I CAN SEE 2011-11-07 22:25:34 [INFO] <unknown Michael1121> zryn 2011-11-07 22:25:35 [INFO] <Zhone> EVERYTHING IS FINE 2011-11-07 22:25:37 [INFO] <GhostSkyPirates 7007King0770> you can? 2011-11-07 22:25:39 [INFO] <unknown Michael1121> give me the wool 2011-11-07 22:25:39 [INFO] <GhostSkyPirates 7007King0770> I cant 2011-11-07 22:25:39 [INFO] <Zhone> yeah 2011-11-07 22:25:40 [INFO] <slamrod> I had 1 dirt block in my inven 2011-11-07 22:25:41 [INFO] <GhostSkyPirates Zryn> yes 2011-11-07 22:25:41 [INFO] <Elites elite9446> pokemon come to me! 2011-11-07 22:25:43 [INFO] <slamrod> and i placed it 3 times 2011-11-07 22:25:46 [INFO] <slamrod> and it turned into stone 2011-11-07 22:25:47 [INFO] <Zhone> how about now? 2011-11-07 22:25:49 [INFO] <GhostSkyPirates 7007King0770> WAIT? 2011-11-07 22:25:50 [INFO] <slamrod> so yeah, thats broken 2011-11-07 22:25:50 [INFO] <*Outcasts pokemon_freak> help! 2011-11-07 22:25:52 [INFO] <GhostSkyPirates 7007King0770> I THINK 2011-11-07 22:25:55 [INFO] <GhostSkyPirates 7007King0770> I KNOW THE PROBELM 2011-11-07 22:25:58 [INFO] <Elites elite9446> someone help im floating in air! 2011-11-07 22:25:58 [INFO] <*Outcasts pokemon_freak> O.o 2011-11-07 22:26:01 [INFO] <*Outcasts pokemon_freak> wow... 2011-11-07 22:26:01 [INFO] <GhostSkyPirates Zryn> what? 2011-11-07 22:26:03 [INFO] <Elites elite9446> slam 2011-11-07 22:26:05 [INFO] <slamrod> ? 2011-11-07 22:26:08 [INFO] <Elites elite9446> behind u! 2011-11-07 22:26:11 [INFO] <Elites elite9446> im stuck in air 2011-11-07 22:26:12 [INFO] <slamrod> AHHHH I FELL IN 2011-11-07 22:26:12 [INFO] <unknown Michael1121> pokemon 2011-11-07 22:26:18 [INFO] <GhostSkyPirates 7007King0770> the anti-x-ray mod 2011-11-07 22:26:21 [INFO] <GhostSkyPirates 7007King0770> is doing this 2011-11-07 22:26:24 [INFO] <*Outcasts pokemon_freak> yes? 2011-11-07 22:26:25 [INFO] <Zhone> ? 2011-11-07 22:26:28 [INFO] <Elites elite9446> my stuff! 2011-11-07 22:26:31 [INFO] <GhostSkyPirates 7007King0770> 100% SAFE MY ASS 2011-11-07 22:26:33 [INFO] <Elites elite9446> king someone put lava! 2011-11-07 22:26:34 [INFO] <GhostSkyPirates 7007King0770> WE JUST LOST THE WORLD 2011-11-07 22:26:37 [INFO] <*Demons Y_U_DUMB> yes i stoppped jumping 2011-11-07 22:26:38 [INFO] <Zhone> elite 2011-11-07 22:26:38 [INFO] <unknown Michael1121> can i have some 2011-11-07 22:26:40 [INFO] <Zhone> i didnt 2011-11-07 22:26:42 [INFO] <GhostSkyPirates Zryn> ty 2011-11-07 22:26:45 [INFO] <unknown Michael1121> slam 2011-11-07 22:26:45 [INFO] <Elites elite9446> king someone put lava and i lost my stuff! 2011-11-07 22:26:48 [INFO] <Zhone> i world edited wood that you fell through 2011-11-07 22:26:49 [INFO] <slamrod> YOU FOOLS! YOU BLEW UP TEHE WHOLE WORLD! 2011-11-07 22:26:52 [INFO] <Zhone> and there was lava under it... 2011-11-07 22:27:04 [INFO] <GhostSkyPirates 7007King0770> anything happen? 2011-11-07 22:27:10 [INFO] <unknown Michael1121> WHO BLEW UP THE WORLD 2011-11-07 22:27:10 [INFO] <slamrod> uh 2011-11-07 22:27:13 [INFO] <GhostSkyPirates Zryn> i lagged 2011-11-07 22:27:14 [INFO] <Elites elite9446> u got to be kidding me! 2011-11-07 22:27:14 [INFO] Connection reset 2011-11-07 22:27:14 [INFO] pokemon_freak lost connection: disconnect.endOfStream 2011-11-07 22:27:16 [INFO] <Elites elite9446> my diamonds! 2011-11-07 22:27:19 [INFO] <slamrod> the game froze for 2 minutes 2011-11-07 22:27:20 [INFO] <Elites elite9446> my wool! 2011-11-07 22:27:23 [INFO] <slamrod> or 5 seconds rather 2011-11-07 22:27:24 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'ofc' in plugin Orebfuscator v1.0.0 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:355) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:757) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715) at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92) at net.minecraft.server.NetworkListenThread.a(SourceFile:108) at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374) at net.minecraft.server.ThreadServerApplication.run(SourceFile:417) Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -2 at java.lang.String.substring(Unknown Source) at lishid.orebfuscator.utils.OrebfuscatorConfig.disabledWorlds(OrebfuscatorConfig.java:145) at lishid.orebfuscator.commands.OrebfuscatorCommandExecutor.onCommand(OrebfuscatorCommandExecutor.java:185) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 12 more 2011-11-07 22:27:24 [INFO] <Zhone> yeah we all lagged 2011-11-07 22:27:26 [INFO] <GhostSkyPirates Zryn> some 1 2011-11-07 22:27:26 [INFO] <GhostSkyPirates 7007King0770> OMG 2011-11-07 22:27:27 [INFO] <slamrod> and then nothing changed 2011-11-07 22:27:31 [INFO] <GhostSkyPirates 7007King0770> I TYPED OFC STATUS 2011-11-07 22:27:31 [INFO] <GhostSkyPirates Zryn> build under me 2011-11-07 22:27:32 [INFO] [CommandBook]Michael1121 told slamrod: give me wool 2011-11-07 22:27:33 [INFO] pokemon_freak [/65.24.249.30:57995] logged in with entity id 8826 at ([world] -344.1875, 83.0, 146.65625) 2011-11-07 22:27:37 [INFO] <*Demons Y_U_DUMB> how did the world die?! 2011-11-07 22:27:41 [INFO] <slamrod> WHAT 2011-11-07 22:27:42 [INFO] <GhostSkyPirates 7007King0770> IT SAYS IM SORRY I CANT LET YOU DO THAT JENSON 2011-11-07 22:27:44 [INFO] <GhostSkyPirates Zryn> YAY! 2011-11-07 22:27:48 [INFO] <GhostSkyPirates 7007King0770> THE MACHINES ARE TAKEING OVER 2011-11-07 22:27:51 [INFO] <GhostSkyPirates 7007King0770> MUST TURN THEM OFF 2011-11-07 22:27:53 [INFO] 7007King0770 lost connection: disconnect.quitting 2011-11-07 22:27:53 [INFO] Connection reset 2011-11-07 22:27:55 [INFO] <GhostSkyPirates Zryn> ...
I'm having the same issues as IshE200 and LEOcab
I tried OTC and never had this issue, all I know is that it is something to do with the chunks loading.
I've had this plugin for weeks. I've noticed that I have the same problem that IshE200 mentions. I don't know if it's always been there and I just didn't notice it because I never explored, or if it started happening at a specific version. Right now I'm wide open to x-rayers - PLEASE fix this issue! I don't want to use Anti-Xray because I've seen how dangerous it can be, and Ore-to-Client needs a Bukkit JAR patch which is annoying. I'm willing to provide a test server if you need so I can show you the problem. Thanks!
[edit] I'm using CB#1337 and I tried running the server with just this plugin, and also on a brand new world. Problem was present in all scenarios. [/edit]
Hey I have a big problem! Everytime a Player (also Admins) is exporing, he freezes for some seconds. Not the Server also no Lags. He just freezes for some seconds. If I disable Orebfuscator, it dosent. This is the only good AntiXray plugin I know. I realy need it. Can anyone help me? Is there a option which updates orebfuscator while exploring after some seconds when map generated and not immediatly?
(Sry for my bad englisch)
If you would like some help, you need to give a little more information than that. CB version? Did you try restarting the MC server? Are you using Spout? Were there any errors at the console when you started the server? Have you tried any commands? Have you tested it with an xray mod?
"Not working. Is red on my plugin list" is like telling a doctor, "Called in sick. Do not feel well" and expecting a diagnosis.
Not working. Is red on my plugin list.
New update v1.0.0
- per world enable/disable - allowed initialradius to be 0
actually that'd be a pretty cool feature. Nice idea.
I do lag :\
Could you add a section in config to disable the plugin in certain world (because that would save CPU, right?)