[SEC/ADMN] CoreProtect v2.0 - Fast Block Logging / Rollbacks / Now With Chest Rollbacks [BukkitDev]

Discussion in 'Archived: Plugin Releases' started by Intelli, Mar 9, 2012.

  1. Offline

    astronautlevel

    AWE SOME! THIS IS BY FAR MY FAVORITE ROLLBACK PLUGIN! I LOVE THE FACT YOU DONT NEED MYSQL! THANKS SOOOOOOOOOOOOOOOO MUCH!
     
  2. Offline

    AdamTragedy

    When will you be up to speed with 1.3 pre-release? I would like to get this reinstalled ASAP.
     
  3. Offline

    hofma100

    Could you possible add Worldedit rollbacks? so eg: someone gives them permission or somthing and they do a world edit i can just roll it straight back, as if nothing has happened?
    Many Thanks!
     
  4. Offline

    Intelli

    You can already do that with v1.53
     
  5. Offline

    hofma100

    Oh, Excellent. Is there a new command or is it implicated into the same /co rollback... command?
     
  6. Offline

    Intelli

    same /co rollback command.
     
  7. Offline

    hofma100

    I just tried it out, Thanks alot! This will come in very handy :D
     
  8. Offline

    Otoris

    Items taken from chests don't rollback to the chest? Or am I doing something wrong?

    This is still my favorite plugin though. <3
     
  9. Offline

    Beeperdp

    Great plugin, but, i can not track who stated the massive tnt explosion i can just remove it, do you think you could add that please?
     
  10. This Looks Awesome. Gonna Try It.
     
  11. Offline

    ray73864

    why is this plugin "Under Moderation"?
     
    pcgirl likes this.
  12. Offline

    theguynextdoor

    Version: 1.53
    Error: It would appear it doesn't like water logging
    Stack-Trace:
    Code:
    23:54:35 [SEVERE] Got an exception when placing a block!
    23:54:35 [SEVERE] java.io.FileNotFoundException: plugins\CoreData\p\#water.dat (The process cannot access the file because it is being used by another process)
    23:54:35 [SEVERE]    at java.io.RandomAccessFile.open(Native Method)
    23:54:35 [SEVERE]    at java.io.RandomAccessFile.<init>(Unknown Source)
    23:54:35 [SEVERE]    at java.io.RandomAccessFile.<init>(Unknown Source)
    23:54:35 [SEVERE]    at a.a.a.e.a(CoreProtectionFunctions.java:866)
    23:54:35 [SEVERE]    at a.a.a.b$m.run(CoreProtectionBlockListener.java:396)
    23:54:35 [SEVERE]    at java.lang.Thread.run(Unknown Source)
    It spams that ... a lot.

    EDIT: Just disabled the logging of water flow in the config and the error is gone. But it also does the same for lava:

    Code:
    23:58:08 [SEVERE] Got an exception when placing a block!
    23:58:08 [SEVERE] java.io.FileNotFoundException: plugins\CoreData\p\#lava.dat (The process cannot access the file because it is being used by another process)
    23:58:08 [SEVERE]    at java.io.RandomAccessFile.open(Native Method)
    23:58:08 [SEVERE]    at java.io.RandomAccessFile.<init>(Unknown Source)
    23:58:08 [SEVERE]    at java.io.RandomAccessFile.<init>(Unknown Source)
    23:58:08 [SEVERE]    at a.a.a.e.a(CoreProtectionFunctions.java:866)
    23:58:08 [SEVERE]    at a.a.a.b$m.run(CoreProtectionBlockListener.java:396)
    23:58:08 [SEVERE]    at java.lang.Thread.run(Unknown Source)
     
  13. Offline

    Intelli

    Sounds like some backup plugin or something is maybe reading the files?
     
  14. Offline

    ron975

    I used to use Hawkeye, but after an incident, Hawkeye failed when I needed it, so I'm going to try this.

    Only thing it is missing is chat and command logging. And possibly an undo command, as well though.
     
  15. Offline

    theguynextdoor

    The only plugins running on the server are 3 of my personal plugins i made, of which non of them read any of your files, and core protect. I shall remove them all and see what happens when running only core protect.

    EDIT: Error still occcurs when core protect is the only plugin running. Here is the stacktrace, looks the same as before more or less

    Code:
    09:14:55 [SEVERE] Got an exception when placing a block!
    09:14:55 [SEVERE] java.io.FileNotFoundException: plugins\CoreData\p\#water.dat (The process cannot access the file because it is being used by another process)
    09:14:55 [SEVERE]    at java.io.RandomAccessFile.open(Native Method)
    09:14:55 [SEVERE]    at java.io.RandomAccessFile.<init>(Unknown Source)
    09:14:55 [SEVERE]    at java.io.RandomAccessFile.<init>(Unknown Source)
    09:14:55 [SEVERE]    at a.a.a.e.a(CoreProtectionFunctions.java:866)
    09:14:55 [SEVERE]    at a.a.a.b$m.run(CoreProtectionBlockListener.java:396)
    09:14:55 [SEVERE]    at java.lang.Thread.run(Unknown Source)
    09:14:55 [SEVERE] java.io.FileNotFoundException: plugins\CoreData\p\#water.dat (The process cannot access the file because it is being used by another process)
    09:14:55 [SEVERE]    at java.io.RandomAccessFile.open(Native Method)
    09:14:55 [SEVERE]    at java.io.RandomAccessFile.<init>(Unknown Source)
    09:14:55 [SEVERE]    at java.io.RandomAccessFile.<init>(Unknown Source)
    09:14:55 [SEVERE]    at a.a.a.e.a(CoreProtectionFunctions.java:866)
    09:14:55 [SEVERE]    at a.a.a.b$m.run(CoreProtectionBlockListener.java:396)
    09:14:55 [SEVERE]    at java.lang.Thread.run(Unknown Source)
    But despite these errors, i believe that the logging of flowing water still works
     
  16. Offline

    pcgirl

    Yes. This bothers me too. I'm not sure if I like "under moderation" as your status....... I don't really want to remove it, but ...
     
  17. Offline

    Intelli

    Ahh, I think I know what could be causing that.

    Should be fixed whenever the next version is released.

    Edit: Also, it should still be logging everything perfectly fine - just showing the error regarding a cache file.
     
  18. Offline

    theguynextdoor

    Good to hear, for i plan to use this instead of SuperLog mainly due to the rollback feature in the plugin and the more extensive logging.
     
  19. Offline

    sambot1115

    BukkitDev page is not loading, gives me a 403 error. Says forbidden. No clue what it means, but its probably temporary.
     
  20. Offline

    Pwnzsolo

    Yea when I try to open the bukkit dev page I get an error saying this plugin is under moderation. Kinda makes a person worry when bukkit dev says the plugins under moderation. Like that sentence doesn't really even make since...how are they "moderating" a plugin page.
     
  21. Offline

    johnhardwood

    This crashes my server. Have no idea how it happens.


    Code:
    2012-07-28 17:56:27 [SEVERE] Could not pass event BlockBreakEvent to CoreProtect
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460)
    at net.minecraft.server.ItemInWorldManager.breakBlock(ItemInWorldManager.java:220)
    at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:105)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:537)
    at net.minecraft.server.Packet14BlockDig.handle(SourceFile:43)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.OutOfMemoryError: unable to create new native thread
    at java.lang.Thread.start0(Native Method)
    at java.lang.Thread.start(Thread.java:691)
    at a.a.a.b.a(CoreProtectionBlockListener.java:742)
    at sun.reflect.GeneratedMethodAccessor81.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)
    ... 12 more
    2012-07-28 17:56:28 [SEVERE] Could not pass event BlockPlaceEvent to CoreProtect
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:99)
    at net.minecraft.server.ItemBlock.interactWith(ItemBlock.java:71)
    at net.minecraft.server.ItemStack.placeItem(ItemStack.java:83)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:303)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:636)
    at net.minecraft.server.Packet15Place.handle(SourceFile:39)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.OutOfMemoryError: unable to create new native thread
    at java.lang.Thread.start0(Native Method)
    at java.lang.Thread.start(Thread.java:691)
    at a.a.a.b.a(CoreProtectionBlockListener.java:551)
    at sun.reflect.GeneratedMethodAccessor91.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)
    ... 14 more
    2012-07-28 17:56:28 [SEVERE] java.lang.OutOfMemoryError: unable to create new native thread
    2012-07-28 17:56:28 [SEVERE] at java.lang.Thread.start0(Native Method)
    2012-07-28 17:56:28 [SEVERE] at java.lang.Thread.start(Thread.java:691)
    2012-07-28 17:56:28 [SEVERE] at net.minecraft.server.NetworkManager.d(NetworkManager.java:247)
    2012-07-28 17:56:28 [SEVERE] at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:162)
    2012-07-28 17:56:28 [SEVERE] at net.minecraft.server.Packet254GetInfo.handle(SourceFile:16)
    2012-07-28 17:56:28 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
    2012-07-28 17:56:28 [SEVERE] at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:48)
    2012-07-28 17:56:28 [SEVERE] at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:61)
    2012-07-28 17:56:28 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567)
    2012-07-28 17:56:28 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
    2012-07-28 17:56:28 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    2012-07-28 17:56:28 [SEVERE] Unexpected exception
    java.lang.OutOfMemoryError: unable to create new native thread
    at java.lang.Thread.start0(Native Method)
    at java.lang.Thread.start(Thread.java:691)
    at net.minecraft.server.NetworkManager.d(NetworkManager.java:247)
    at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:162)
    at net.minecraft.server.Packet254GetInfo.handle(SourceFile:16)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
    at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:48)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:61)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    2012-07-28 17:56:29 [SEVERE] Exception in thread &quot;Listen thread&quot;
    2012-07-28 17:56:29 [SEVERE] java.lang.OutOfMemoryError: unable to create new native thread
    2012-07-28 17:56:29 [SEVERE] at java.lang.Thread.start0(Native Method)
    2012-07-28 17:56:29 [SEVERE] at java.lang.Thread.start(Thread.java:691)
    2012-07-28 17:56:29 [SEVERE] at net.minecraft.server.NetworkManager.&lt;init&gt;(NetworkManager.java:69)
    2012-07-28 17:56:29 [SEVERE] at net.minecraft.server.NetLoginHandler.&lt;init&gt;(NetLoginHandler.java:29)
    2012-07-28 17:56:29 [SEVERE] at net.minecraft.server.NetworkAcceptThread.run(NetworkAcceptThread.java:47)
    2012-07-28 17:56:42 [SEVERE] Exception in thread &quot;Connection #2471 read thread&quot;
    2012-07-28 17:56:42 [SEVERE] java.lang.OutOfMemoryError: unable to create new native thread
    2012-07-28 17:56:42 [SEVERE] at java.lang.Thread.start0(Native Method)
    2012-07-28 17:56:42 [SEVERE] at java.lang.Thread.start(Thread.java:691)
    2012-07-28 17:56:42 [SEVERE] at net.minecraft.server.NetworkManager.a(NetworkManager.java:185)
    2012-07-28 17:56:42 [SEVERE] at net.minecraft.server.NetworkManager.h(NetworkManager.java:162)
    2012-07-28 17:56:42 [SEVERE] at net.minecraft.server.NetworkManager.c(NetworkManager.java:268)
    2012-07-28 17:56:42 [SEVERE] at net.minecraft.server.NetworkReaderThread.run(SourceFile:76)
    2012-07-28 17:56:42 [SEVERE] Exception in thread &quot;Connection #1951 read thread&quot;
    2012-07-28 17:56:42 [SEVERE] java.lang.OutOfMemoryError: unable to create new native thread
    2012-07-28 17:56:42 [SEVERE] at java.lang.Thread.start0(Native Method)
    2012-07-28 17:56:42 [SEVERE] at java.lang.Thread.start(Thread.java:691)
    2012-07-28 17:56:42 [SEVERE] at net.minecraft.server.NetworkManager.a(NetworkManager.java:185)
    2012-07-28 17:56:42 [SEVERE] at net.minecraft.server.NetworkManager.h(NetworkManager.java:162)
    2012-07-28 17:56:42 [SEVERE] at net.minecraft.server.NetworkManager.c(NetworkManager.java:268)
    2012-07-28 17:56:42 [SEVERE] at net.minecraft.server.NetworkReaderThread.run(SourceFile:76)
    2012-07-28 17:56:58 [SEVERE] Exception in thread &quot;Connection #1581 read thread&quot;
    2012-07-28 17:56:58 [SEVERE] java.lang.OutOfMemoryError: unable to create new native thread
    2012-07-28 17:56:58 [SEVERE] at java.lang.Thread.start0(Native Method)
    2012-07-28 17:56:58 [SEVERE] at java.lang.Thread.start(Thread.java:691)
    2012-07-28 17:56:58 [SEVERE] at net.minecraft.server.NetworkManager.a(NetworkManager.java:185)
    2012-07-28 17:56:58 [SEVERE] at net.minecraft.server.NetworkManager.h(NetworkManager.java:162)
    2012-07-28 17:56:58 [SEVERE] at net.minecraft.server.NetworkManager.c(NetworkManager.java:268)
    
     
  22. Offline

    javoris767

    Intelli One question... If a player places a block then removes it doesn't log the place o-O?
     
  23. Offline

    johnhardwood

    Also. If a player destroys a block they cannot it is still logged.
     
  24. Offline

    theallboarder

    PLEASE i need this to work with tekkit stuff(as in destruction catylist)! there is NOTHING out there. i use this on my server and im getting a ton of griefers now...
     
  25. Offline

    Pim1234

    could you add rollback logging? that's a feature all block logging plugins lack.what I mean is to do is show who rolled what from who back.
     
  26. Offline

    schmidtbochum

    I think your plugin causes a crash when using the WE command //stack
    The server does not respond, you can only kill it :(
     
  27. Offline

    Sir Savary

    I would like to use CoreProtect for my server because it appears to be faster and more stable than most other logging plugins. However, it is missing chat and command logging, along with a lookup/search command. Are these on your roadmap? If not, I would be glad to code them in for you.
     
  28. Offline

    nedtheninja

    Intelli, you're a genius :D
     
  29. Offline

    ray73864

    We had that exact same issue on our server, easiest thing is to go into your config file for coreprotect and disable the worldedit logging.

    Once you do that, worldedit will work properly again. The problem is how many updates and all that worldedit can do, a simple stack on our server was causing mass delays while coreprotect tried to log everything that it was doing.

    Turning off the worldedit logging on our server allowed us to fill a 64x64x256 area with TNT using //stack with zero lag issues.
     
  30. HEY that plugin is realy good !! and no mysql need make it more COOL :D TY for made it !!!
     

Share This Page