Inactive [SEC] AntiXRay v0.6.10 - protecting ore from XRay mod and transparent texturepacks [1000]

Discussion in 'Inactive/Unsupported Plugins' started by asdaarg, Apr 11, 2011.

  1. Offline

    asdaarg

    AntiXRay
    Version:v0.6.10

    Reporting Errors the follow things have to be mentioned:
    • CB Version and AXR version
    • Whether you started the AXR version with a fresh ore file or not (doing /axr off before upgrade)
    • If not, since what version you've been using the same ore file.
    • If you get any errors in console, check the debug.log for "Error"s and "Warning"s. and post those.

    Upcoming features for 0.7:
    - AXR Chest chest hiding feature developed by MrSelfDestrukt
    - New advanced visibility test (almost done, only need to test it now and decide whether its going to replace or be an alternative to the original light based test) Details here and here



    Description:

    AntiXRay hides ores from players by turning them into stone until they have been exposed, thus making it impossible for any client side hacks to detect them, as their location is not sent to the client.

    Backup your world(s) I cannot guarantee that ore doesn't disappear from them due to this plugin. Even if you did not backup, there is a foolproof solution here. If you decide to uninstall, type /axr off, and not delete the ore data file before your ore is restored unless your intention is to strip your worlds from ore.



    Downloads:
    If you upgrade from 0.5.21 it is recommended that you do /axr off first flush out errors from the ore file. If you do not have enough RAM, you can do this in steps using 0.6.9 but you need to set lenient=true in the config file to allow the file to be loaded
    NSCommand <-- Required
    AntiXRay
    Source and old versions

    Features:
    - Specify what ores to hide(works with non ore blocks too as long as they don't use data values or extra data such as chests and signs (use some chest locking plugin for keeping your chests from xrayers)
    - Multi world support
    - Permissions support
    - Stores ore data in binary files (one per world) and only keeps data about loaded chunks in physical memory. It is on average 400 bytes per chunk in and guesstimatedly around 450 in physical memory, so it is reasonably small, but some people might play on huge worlds and want to conserve memory.
    - Saves data about chunks immediately on any changes (they are assumed to be by far sufficciently rare that any performance is won by buffering is neglible. As such it also prevents potential ore duplication on server crashes)
    - chunk and world statistics
    - ingame map of loaded chunks
    - background processes that does not freeze the server
    - dump ore statistics into file and compare them to see the changes in ore content.
    - lots of configuration options

    Ores will become visible under any of these circumstances:
    - A surrounding block is lit by torch and player is within the chunk or adjacent chunk and within 16 blocks to player on Y axis.
    - A surrounding block is lit by a third block broken falling or removed by explosion and player is within the chunk or adjacent chunk and within 16 blocks to player on Y axis (occurs once every 2 seconds, but configurable).
    - A surrounding block is broken or falls or removed by explosion
    - A surrounding block is changed by another plugin (can be cpu intensive if you worldedit a big area for instance - might do a workaround for this)

    Current Limitations:
    - Ores at light level above pitch black on chunk generation will not be hidden e.g. near lava or surface cave entrances.
    - Ores will not be found exploring caves in pitch black (who does that anyway?) These two limitations was to allow a light based visibility test that relies on a test already built into the server, thus avoiding extra performance overhead as well as headache of coding it myself. Despite these limitations, AntiXRay should make it far beyond pointless to search for ores using XRay or transparent textures.
    - Gravel and sand dropping on chunk generation may expose ore. This is assumed to be rare enough to have neglible effect.
    - The data file will not repack itself. The ratio between generated ore and mined ore is assumed to be very high, and the file size is considerably small but nonetheless, should you want to "repack" it, just turn axr off and on and the new file will be smaller excluding the gaps between chunk entries. But again, do some basic math and count the amount of ore blocks mined in total, multiply that by 2 bytes. After a month of mining 10000 ore blocks, you shaved 20k off that 3M file.
    - If you place a torch there is a tiny delay as seen in the video due to client side prediction and lag between the time the info of the ore to get back to the client from the server. This can seem unnatural so I might make a better vision test later that doesn't rely on light. However it would be more expensive in terms of cpu cycles.
    - If you have a slow server or a lot of players, you might want to remove coal from the config list. It speeds it up at least 200%. There are some optimizations I can do that I might add later that will speed up things further.

    Commands:

    /axr on - hides all unlit ore
    /axr off - reveals all hidden ore (and deletes the data file!)
    /axr on <world> - hides all unlit ore in specified world
    /axr off <world> - restores ore in specified world
    /axr worlds - world statistics
    /axr chunk - chunk statistics at chunk player is on
    /axr chunk <x> <z> - chunk statistics at specified chunk
    /axr map -shows map of loaded chunks in current world
    /axr map <world> -shows map of loaded chunks in specific world
    /axr map <zoom>
    /axr map <world> <zoom>
    /axr map <x> <z>
    /axr map <world> <x> <z>
    /axr map <zoom> <x> <z>
    /axr map <world> <zoom> <x> <z>
    /axr show
    /axr show <world>
    /axr hide
    /axr hide <world>
    /axr dump <world> <file>
    /axr diff <filein1> <filein2> <fileout>
    /axr gen <world> <x1> <z1> <x2> <z2> command for generating a rectangular area of chunks
    /axr gen copy <world1> <world2> command for generating all the chunks in world2 that are registered in world1
    /axr pack <world> - removes dead space in ore file (not that there is much from just mining but the axr chest will create significant amount of dead space.
    Auto-backup, that will backup your ore file on startup
    /axr backup <world> - backs up the ore file of the world if and only if the file passes the corruption test
    /axr test <world> - test the ore file and memory for errors for a specific world
    /axr test - test the ore file and memory for errors for all worlds
    /axr mirrorworld <world1> <world2> - creates a world world2 with the same seed as world1.
    These functions are not recommended for use unless you know what you're doing: (they can be destructive of tile entites)
    /axr chunk regen - regenerate chunk (to as it was when world was initially generated)
    /axr chunk regen <x> <z> - same but for specified chunk
    /axr chunk regen <x1> <z1> <x2> <z2> - same but for axis aligned rectangular area
    /axr chunk regen ore - only regenerate ores in chunk at player position
    /axr chunk regen ore <x> <z> - same but for specified chunk
    /axr chunk regen ore <x1> <z1> <x2> <z2> - same but for axis aligned rectangular area

    Note about regeneration: ores, trees, flowers and mushrooms are random each time and not tied to world seed (bukkit/mc issue)

    permissions:

    antixray.axr.on
    antixray.axr.off
    antixray.axr.worlds
    antixray.axr.chunk
    antixray.axr.chunk.regen
    antixray.axr.chunk.regen.ore
    antixray.axr.map
    antixray.axr.show
    antixray.axr.hide
    antixray.axr.dump
    antixray.axr.diff
    antixray.axr.gen
    antixray.axr.gen.copy
    antixray.axr.test
    antixray.axr.pack
    antixray.axr.backup
    antixray.axr.mirrorworld
    config.txt:

    timerms - the time between light check by broken third block in milliseconds.
    maxdep - buffer size for number of ores that can occur in a chunk - don't change unless you have another plugin that adds tons of ore.
    maxheight - is the number of Y-levels in your map.
    ChunkFileBuffer - sets how much is buffered for new chunks to be stored until the index is rewritten (at the end of the file.)
    Materials - what ores you want to hide. (has to have same number of elements as maxys)
    maxys - the first Y level from bottom they cannot occur at. (has to have same number of elements as Materials)
    worlds - what worlds are loaded at startup (comma separated)
    autostart=all (normal) worlds are loaded at startup (unless CFGworlds is set)
    nounload = keeps all ore data in physical memory
    debug - turning on writes to a debug file keeping track of important info that may be needed to solve bugs or figure out why lag occurs
    fileindexdebug - turning on debug file needed as a quick check of the consistency of your ore file
    mapcol - the chatcode colour of each type of block in ascending order, shown in /axr map
    mapwidth - the width of the map shown in /axr map
    mapheight - the height of the map shown in /axr map
    schedulerload - 0-100 percentage of time going to execute any background process.
    schedulerstatustimer - time in millisecs between each status report of a background process
    filterorenotinstone - filters ore upon exposition that is not in stone (can be used to restore ore from a backupped ore file or ore file generated from a fresh world with same seed)
    autorepack - pack ore files automatically at startup - on by default
    autobackup - backup ore files automatically at startup(requires autorepack) - on by default
    maxfaces - specify max amount of exposed faces per chunk before error occurs
    lenient - ignore lindex errors when loading file (useful if you have them from before and want to filter them out)
    All CMD_... options are for redefining the commands so you can type something else.


    changelog:
    v0.6.10
    • Fixed Array index out of bounds in listindex accessing materials that has not been loaded yet.
    v0.6.9
    • Added /axr mirrorworld <world> <mirrorworld> command
    v0.6.8
    • Fixed NPE when trying to expose ores in world hole.
    v0.6.7
    • checking whether wrong file exist during repack.
    v0.6.5
    v0.6.6
    • fixed NPEs in some commands that can occur if you use it and the world is off.
    v0.6.5
    • fixed open file pointers during repack.
    v0.6.4
    • fixed NPE during repack when load fails.
    v0.6.3
    • fixed NPE when running test on all worlds and not all worlds are on
    • added various memory checks and chunk data entry overwrite checks
    v0.6.2
    • fixed NPE when trying to flush the debug file when debug file is turned off.
    v0.6.1
    • added lenient config option to ignore lindex errors when loading file (useful if you have them from before and want to filter them out)
    • added more information on error when loading from file
    • added config option maxfaces to specify max amount of exposed faces per chunk before error occurs
    v0.6
    • /axr off now gradually unregisters chunks - as a workaround to what appears to be a problem with chunks not getting fully removed from memory despite trying both unloadchunk calls through bukkit. This allows one to shut down the server and continue restoration after a restart if one does not have enough RAM
    • /axr pack <world> - removes dead space in ore file (not that there is much from just mining but the axr chest will create significant amount of dead space.
    • /axr backup <world> - backs up the ore file of the world if and only if the file passes the corruption test, also packs the new file.
    • /axr test <world> - test the ore file and memory for errors for a specific world
    • /axr test - test the ore file and memory for errors for all worlds
    • autorepack config option - pack ore files automatically at startup (if and only if the file passes the corruption test) - on by default
    • autobackup config option - backup ore files automatically at startup(if and only if the file passes the corruption test, and also requires autorepack) - on by default
    • new .ore extension for ore files (rename your old files)
    • removed glowing redstone ore from default ore list (never occurs naturally anyway)
    • fixed faulty scanning issue
    • fixed hopefully last exposed ore face index error
    • fixed false positive in memory check
    • debug.log flushed when error occurs (it is otherwise flushed once in a period of time)
    • more details in debug log when error occurs
    • removed lindex spam in debug log until lindex error occurs
    v0.5.21
    • Fixed /axr gen not triggering scan anymore
    • Fixed /axr gen not unloading chunks
    • Fixed (workaround) huge memory leak during /axr off /axr show /axr hide and /axr gen caused by bukkit's unloadchunk function
    v0.5.20
    • Additional file corruption checks that will make noise as soon as something goes wrong
    v0.5.19
    • Fixed another potential index derangement bug.
    v0.5.18
    • Fixed array out of bounds exception during previous fix
    v0.5.17
    • Fixed a couple of bugs offsetting exposed ore face indicies when mining adjacent block potentially causing array out of bounds exceptions at a later stage and the revealing of wrong ores when exposed to light.
    • Added debug logging of exposed ore face indices when found, as well as fault intolerant check that will warn you about any corruption of the indices after the event.
    v0.5.16
    • fixed half of ore not being hidden when a chunk is generated on load.
    • removed various unnecessary details to be logged in debug.log
    v0.5.15
    • fixed bug restoring ore, hiding and showing in wrong world
    • revert hack to set block material of a chunk to physical updates due to lacking javadocs to figure out what function to call
    v0.5.14
    • Switched to non physics updating block material setting hack
    • Updated to #733
    v0.5.13
    • Added detailed debug logging of background processes.
    • removed logging of filepointer
    v0.5.12
    • fixed failed scan after /axr gen unloading chunks that were originally not loaded, consequently also /axr gen causing server to freeze and timeouts on clients.
    v0.5.11
    • fixed /axr gen not unloading chunks that were originally not loaded
    v0.5.10
    • /axr gen and /axr gen copy now actually usable
    v0.5.9
    • ore in stone filter now also applies to /axr off and /axr show (not just when it is found by light detection)
    v0.5.8
    • added /axr gen command for generating a rectangular area of chunks
    • added /axr gen copy command for generating all chunks that are registered in another world
    v0.5.7
    • Configuration option CFGfilterorenotinstone implemented, that allows filtering of ores not in stone (can be useful in recovering lost ore from a world with the same seed)
    v0.5.6
    • fixed ore regen not working when axr is off in that world
    • removed physics lock spam
    v0.5.5
    • fixed more concurrency errors during background processes (hopefully for the last time)
    v0.5.3
    • fixed more concurrency errors during background processes
    v0.5.2
    • fixed concurrency errors during background processes
    v0.5.1
    • fixed debug off in config file causing unable to start (again! although different place now)
    v0.5
    • ore stats dump - listing all chunks ore counts into a text file
    • ore stats diff - showing difference between two ore stats dump files (these two tools are useful if you are worried that your ores might disappear)
    • show command - reveals the ore but does not unregister them or delete the file
    • hide command - hides again ore that was revealed with show.
    • show, hide and ore stat dump are background processes that does not freeze the server.
    • axr off is now a background process
    • load percentage of background processes can be configured
    • specify map zoom and center
    v0.4.1
    • Fixed file index debug listing not showing
    • file index debug listing can be turned off in config.txt (fileindexdebug)
    • area regeneration functions now tolerate any two coorner in rectangle in any order.
    • fixed debug off in config file causing unable to start
    v0.4
    • added axr map command for showing map of loaded chunks
    • fixed light expose unmapped material (probably why you got grass/smooth stones)
    • fixed light expose restored block being block at exposed face
    • fixed light expose no chunk location offset (why you got it at spawn)
    • fixed exposed face location wrong axis (probably floating blocks)
    • removed unnecessary cacheing of chunks at startup by not using chunks as keys for file index(probably solve memory problems for large worlds)
    • bypassing unnecessary cacheing of blocks using minecraft hackery.
    • revised scan algorithm, bypassing bukkit wrapcode resulting in at 5-10 times faster scanning.
    • fixed queries on unloaded sidechunks during scan resulting in loading and even generation of chunks that on top of it due to eventlock get ignored by onChunkLoad, thus leaving chunks of unhidden ore.
    • fixed light expose filling 0s after removed index
    • probably more bug fixes, can't remember them all
    v0.3.3
    • world statistics: type axr world - shows also what worlds are on/off
    • chunk statistics when axr is off no longer causes world to be registered without any chunks being loaded
    • axr on doesn't show NaN when there is nothing to hide
    • proper colouring
    • empty chunks are no longer ignored.
    v0.3.2
    • Fixed potential ore type shift bug
    • Moved listindex before file is loaded so debug info can be displayed even if it crashes while loading.
    • added rectangular area regen functions
    v0.3.1
    • Fixed silly nullpointer exceptions
    v0.3
    • Specify what worlds to turn on and off
    • Specify what worlds to load at startup
    • option to keep all ore data in memory
    • chunk statistics (useful for checking that your ore doesn't disappear or duplicate)
    • chunk regenertaion (restore a chunk to state at world generation)
    • chunk ore regenertaion (restore only ore)
    v0.2.5
    • Fixed some other bugs related to exposed-face-to-ore index
    • Index debug file working again (it was still expecting 0.1.5 files)
    • Added potential ore file corruption warnings to debug file output
    v0.2.4
    • Fixed bug locating exposed-face-to-ore index elements having no array bounds check.
    v0.2.3
    • Fixed bug exposed-face-to-ore index elements not being removed
    v0.2.2
    • Fixed bug exposed-face-to-ore index not being updated when ores are recovered and removed from hidden ore list (new bug in 0.2)
    • Fixed bug at y levels above 128-16 looking for ores above the map
    v0.2.1
    • Uses NSCommand now (it did right from the start but its now a separate plugin)
    • auto-creation of config files
    • defaults to ops only when permissions is not present
    v0.2
    • Light detection optimization based on a separate list of faces exposed to nonsolid materials (this might not work with all materials yet such as stairs and singlesteps, but its not like the world generator puts them in the caves anyway) resulting in at least 10 times faster execution of light checks. This should reduce all lag that's not due to scanning new chunks for ore.
    • Once again more detailed debug log
    v0.1.5
    • Fixed bug in ore restoring function causing large veins of ore to be generated out of nothing
    • More detailed debug log
    v0.1.4
    • Removed file corruption check that's hogging up some cpu cycles during file load and write events (the latter occured during scan event) - so this should speed up scan events.
    • pseudo error "load error 1" moved to debug log.
    • Added 1 tick delay of scan in onload event since it appears bukkit fires it before the chunk is populated with ore. This fixed the bug of ore appearing if you teleport or walk far away from initially scanned chunks.
    • removed physics event logging since it appears to always be neglible.
    • Added message at startup informing you about the waiting time of scanning all loaded chunks may take a while.
    v0.1.3
    • Fixed bug starting server without plugin data folder causing it unable to write debug file
    • Added more debug file details (when its scanning, loading from file, or just loading from memory when neither is shown)
    • Those who who don't hide coal, should experience faster chunk scanning now
    v0.1.2
    • Fixed bug due to player location being null for some weird reason
    • Added debug logging of time spent on the main time consuming procedures.
    v0.1.1
    • Fixed config file not loading properly
    • Removed wtfexception spam
    v0.1
    • Initial Release
    Donate (Not necessary but appreciated)
     
  2. Offline

    Mhalkyer

    Couple questions you missed:
    1. Could you add a "resuming restoration process" message if it detects a previous restore?
    2. Once "/axr off" is finished, do you prevent someone from using "/axr off" again?
    3. Could you please, please, please, add a separate tool to re-add the ores? I've tried all night, and this morning and can't get it to work. I would gladly email you my world folder as well
    Thanks again.

    EDIT: I'm getting reports that my players are finding ores finally, but I have no clue if the restoration process is complete. Everytime I restart it the "_ out of _" is the same.
     
  3. Offline

    asdaarg

    1. No. It just removes the chunk entries from the ore file as it goes, and has no idea whether there has been previous restoration.
    2. Once /axr off is done doing /axr off again does nothing.
    3. No, but I will add a feature in a bit that will make it easier. I saw there was a feature to set the seed of the world to create in the newest bukkit API, so I'm going to add the abiltiy to "mirror" a world that is have it create a world with the same seed.
     
  4. Offline

    Mhalkyer

    Thanks for your quick replies, but I wouldn't recommend this plugin to anyone in it's current state because:
    • It isn't update to date with CB #860
    • It causes large amounts of lag with few players, which is probably caused by constant IO (could be fixed with SQL).
    • It's entirely too easy to strip your entire world of ores
    • The 'restoration' of ores causes massive memory spikes and most likely will crash any large world (as it did mine - repeatedly)
    • You seem to be unwilling to fix obvious flaws with the "/axr off" process
     
  5. Offline

    Jastro

    Please can you add to this plugin, the possibility of hide the Chests, furnaces, torchs, etc... I Don´t like when the noobs use the textures for found secret´s chest. Thanks for you work :D
     
  6. Offline

    LucidLethargy

    So there is still a warning in the OP, but is 6.9 more stable or reliable than 0.5.21? I'm still on that old version and i'm wondering when the good time to update is! I'm too busy to test so much these days, so i just want something that wont provide much headaches :p
     
  7. Offline

    asdaarg

    I've suspended developement on this plugin for now. I simply don't have time to do the testing required to ensure that 0.6.x is stable. If anyone is willing to help me with this, I may continue on it and eventually release 0.7.
     
  8. Offline

    compgurusteve

    If anyone can help. I am looking for a very lightweight configuration for anti ray. Currently I am getting heap errors and running off of 2 gigs of ram. Any suggestions would be appreciated.
     
  9. Offline

    sukosevato

    I hope someone finds the time to continue / update this plugin. Would be awesome.

    Till then there really isn't an alternative.
     
    compgurusteve likes this.
  10. Offline

    compgurusteve

    Agreed, this is pretty close to being inactive, and it's a shame to see this plugin fail as it's detrimental to legit gameplay.
     
  11. Offline

    The PC Tech Guy

    0.6.9 is working fine for me on 860.
     
  12. Offline

    asdaarg

    Well, that's good to hear. I've been sort of waiting for anyone to tell me that, but just seemed like people only say something when they encounter a bug. And since its quitened since about 0.6.5 I wasn't sure if it was because the previous instability was actually fixed (with the open file pointers) or whether people are just not using it anymore because of it or just gone back to 0.5.21. What complicates it all is that if you upgrade from 0.5.21 you are likely going to instantly get errors because 0.5.21 ore files still has certain type of errors that although aren't very critical, are not tolerated by 0.6.x. If you've been running 0.6.9 for a longer time and restarted the server in between without problems, I suppose I could declare it stable and continue development. I would like to hear from others too.

    Materials are just comma separated integers. Its the ids of the materials you want to hide, but it does not work with chests (yet). I haven't heard anything from the guy who developed the AXR chest add on, but I suppose I could add it in, since he is after all worked under GPL terms, since my code is released under GPL. Maxys are also the same format.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  13. Offline

    zmshotz

    0.6.9 is also working great for me. (860) :D
     
  14. Offline

    compgurusteve

    Same here, but still is a memory hog, don't know if it's possible to make this lightweight in any shape or size.
     
  15. Offline

    RazMaTaz

    I'm still using 0.6.9 for my tiny server, seems my friends got tired of playing so it just me playing on there.. albeit very little as well. :(
     
  16. Offline

    Klaz48

    can anyone help me? when i put NS commands and anti xray, none make there own folder..

    im using pdermissions 3

    and i mean after i restart the server.
     
  17. Offline

    asdaarg

    I declare 0.6.9 stable, and will continue working on 0.7. Regarding AXR being a memory hog, I've ran tests before and there is hardly any noticable difference. Whether you run AXR or not, CB/MC is a memory hog. Some commands will inevitably use up a lot of memory, but this seems to be due to unloading chunks using any of the commands bukkit provides not working correctly.
     
    CoolOppo likes this.
  18. Offline

    Monkz

    I am running 0.6.9 on 860 but it seems to kind of work but i am still seeing ores near lava pools and randomly if a few spots. Is there something i need to change?

    nevermind i see it. They were because they had an exposed side.

    It mostly shows the ores sticking out in caves but it hides the rest so thats pretty cool

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  19. Offline

    Slez

    All ores in my world are now gone, unless they are exposed. I'm getting this error on plugin load.



    20:48:22 [INFO] AXR: Loading/Scanning Chunks
    20:48:22 [SEVERE] Error occurred while enabling AntiXRay v0.6.9 (Is it up to date?): 6
    java.lang.ArrayIndexOutOfBoundsException: 6
    at com.asdaarg.bukkit.antixray.AWorld.ListIndex1(AWorld.java:605)
    at com.asdaarg.bukkit.antixray.AWorld.ListIndex(AWorld.java:535)
    at com.asdaarg.bukkit.antixray.AWorld.LoadInit(AWorld.java:334)
    at com.asdaarg.bukkit.antixray.AWorld.<init>(AWorld.java:93)
    at com.asdaarg.bukkit.antixray.AXR.makeWorld(AXR.java:29)
    at com.asdaarg.bukkit.antixray.AntiXRay.axr_on(AntiXRay.java:329)
    at com.asdaarg.bukkit.antixray.AntiXRay.CMD_axr_on(AntiXRay.java:268)
    at com.asdaarg.bukkit.antixray.AntiXRay.onEnable(AntiXRay.java:126)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:799)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:140)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:118)
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:345)
    at com.earth2me.essentials.commands.Commandreloadall.run(Commandreloadall.java:19)
    at com.earth2me.essentials.commands.EssentialsCommand.run(EssentialsCommand.java:60)
    at com.earth2me.essentials.commands.EssentialsCommand.run(EssentialsCommand.java:55)
    at com.earth2me.essentials.Essentials.onCommandEssentials(Essentials.java:450)
    at com.earth2me.essentials.Essentials.onCommand(Essentials.java:343)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:287)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:712)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:678)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:671)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  20. Offline

    asdaarg

    Fixed.
     
  21. Offline

    Slez

    So just redownload the jar and it should be all set?
     
  22. Offline

    asdaarg

    Yes.
     
  23. Offline

    Slez

    Awesome, thanks for the FAST fix :)

    Blocks only seem to be showing when they themselves are exposed, and ignoring all other of the criteria, causing 1 seconds delay of lag before the block shows you what it actually is.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  24. Offline

    KrazyBonez

    I tried to use this on my world, it worked out ok, hid all the ores, but then when anyone mined, they would have dissapearing blocks and not find any ore, ever! Nobody could find any! Any way to fix this?

    And now, all of the ore in my world is gone, and i have a good world so now my server is totally messed up. Please help me fix this. I took the plugin out of my world, but saved the files so i can work with it to get this fixed.
     
  25. Offline

    asdaarg

    Its probably latency issues. Not sure what you mean "when they are themselves exposed"? If you are doing tests, you need to /axr off /axr on, or it wont hide the blocks.
    They are suppose to become visibile when you place a torch nearby, destroy a block next to it or destroy a block so light will reach it (in which case there can be up to 2 second delay)

    Read under description.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  26. Offline

    banana_poop

    PLEASE READ
    COuld it work if you changed all stone to Iron/coal/diamond ore, and then return it when discoverd
     
  27. Offline

    JTPROG

    Hey, I think this is a must have mod to counter hacks.
    So based on what i've read, I have a bunch of questions I didn't catch mentioned...

    1.Is there a chance that this mod will randomly delete all ore even if it appears to be working normally (no errors) and /axr chunk still shows numbers. If so, is the only way to check if it was deleted to test mine?
    2. If the ores get deleted do you have to restore it from a backup world file or can you use the backup .ore file?
    3. How do you back it up using the backup .ore file (if possible).

    My ores got corrupted when i tried changing settings and turning axr on/off (with the server running) and the only way i found to fix it was to restore to a previous world save and delete the anti-xray folder whilst keeping the jars.
     
  28. Offline

    asdaarg

    1. There's always a chance that there's some rare bug that does this.
    2. .ore file is fine but this is only useful if you don't mind losing ore in newly explored chunks. To restore those, you need to use the method under description.
    3. It does it automatically at startup. It does not overwrite the backup if the current ore file for some reason gets corrupt, since it refuses to load any corrupt file.
     
  29. Offline

    Slez

    For instance in this picture. http://i56.tinypic.com/2vrv4sh.jpg

    I'm doing a diamond mining pattern for effeciency. Above that iron spawn, there was another iron block. I had broken it, and there was no other iron there, for a long time. I went to dig further in, and once I broke the block where the cobble is now at, THEN the iron showed itself.

    There is also a torch at my feet. So, blocks are ONLY showing on my server if they are directly exposed on their sides to light. Any of the other conditions for block exposure, are not working. Is this something i've done wrong in a setting?

    Also http://i56.tinypic.com/282glxu.jpg

    Block 2 did not show till the block above block1 was destroyed. Even though it had a side in plain view, in direct light.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  30. Offline

    Monkz

    I removed the plugin temporarily and now all my ores are gone what do i do?
     
  31. Offline

    RazMaTaz

    put the plugin back in .. and hopefully you left the AntiXRay folder, and then do a /axr off to restore ore.

    When done stop server and then remove the plugin. Be sure the removal process completes. If there is a problem with the newer version you can restart and /axr off again to continue restoring.
     

Share This Page