Inactive [SEC/ADMIN] LogOres v0.7 - log ores to look for cheaters - MOVED TO dev.bukkit.org [1.2.5-R4.0]

Discussion in 'Inactive/Unsupported Plugins' started by andune, Jul 9, 2011.

  1. Offline

    andune

    andrewkm, d00ba, LlmDl and 1 other person like this.
  2. Offline

    Morrolan

    Will just quote myself again, since you seem to have missed it. :p
     
  3. Offline

    andune

    @Morrolan I haven't missed it, I just don't consider it a high priority. I may add that eventually, but if it's really a big issue to you, invest some time to find one of many log rotation tools or write your own simple script to rotate them once a day.
     
  4. Offline

    Darkedge

    I get the same error as EdGru:
    2011-07-23 23:46:19 [INFO] [LogOres] version [0.6.3] unloaded 2011-07-23 23:46:19 [SEVERE] java.lang.NullPointerException 2011-07-23 23:46:19 [SEVERE] at org.morganm.logores.LogOreLogger.flushWriters(LogOreLogger.java:467) 2011-07-23 23:46:19 [SEVERE] at org.morganm.logores.LogOreLogger.run(LogOreLogger.java:442) 2011-07-23 23:46:19 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34) 2011-07-23 23:46:19 [SEVERE] at java.lang.Thread.run(Unknown Source)

    However, No logfile is actually saved to the disk, W7 Ultimate, Bukkit Build 1000, Any help would be appriciated.

    Darkedge.

    P.S Contact me if you need any testing to be done.

    EDIT:

    I've noticed whenever I start the server, and then stop it, the LogOres folder sets itself to read-only.. I think this is relating to the error.
     
  5. Offline

    andune

    I believe I have this fixed in code, @EdGruberman pulled from the source and confirmed. So it will be fixed in the next release (being worked on). While annoying to see, the only impact is a possible lost message or two on server shutdown, but from what I can see, even that seems unlikely, so I believe this is a totally benign error.

    I have no idea what could be causing this, other than permissions settings on the user that is running your Minecraft server. This is the first I've heard of this and the code that creates the directory has been the same since the earliest versions and is standard Java java.io.File methods, so I think this problem is unique to your installation and nothing to do with the plugin.
     
  6. Offline

    Morrolan

    @morganm
    Fair enough then.
    The reason I'd rather not use a cronjob or external tool to move the file is that, the last time I checked, LogOres does not really like if you just 'steal' its file while it's got an I/O stream open. Will play around some more then.
     
  7. Offline

    Darkedge

    ^^ +1
     
  8. Offline

    andune

    @Morrolan @Darkedge actually I believe if you move the file, it will just keep logging to it (open file handle). At least, that's how it works on UNIX. You could force it to start logging to a new file by reloading (using plugman or such) or it will happen automatically on next restart.

    I'm making some changes to LogOres so I may include this in the next version. I'm not keen on timestamping, I'll probably just add in a maxLogSize config and have it rotate when it gets to that size.
     
  9. Offline

    Darkedge

    I just noticed, a longer error...

    Code:
    14:58:33 [INFO] [LogOres] version [0.6.3] unloaded
    14:58:33 [SEVERE] java.io.IOException: Stream closed
    14:58:33 [SEVERE]       at sun.nio.cs.StreamEncoder.ensureOpen(Unknown Source)
    14:58:33 [INFO] [mxAntiPVPCheat] Disabled
    14:58:33 [INFO] [Permissions] (Yeti) saving data...
    14:58:33 [SEVERE]       at sun.nio.cs.StreamEncoder.flush(Unknown Source)
    14:58:33 [SEVERE]       at java.io.OutputStreamWriter.flush(Unknown Source)
    14:58:33 [SEVERE]       at org.morganm.logores.LogOreLogger.flushWriters(LogOreL
    ogger.java:467)
    14:58:33 [SEVERE]       at org.morganm.logores.LogOreLogger.run(LogOreLogger.jav
    a:442)
    14:58:33 [SEVERE]       at org.bukkit.craftbukkit.scheduler.CraftWorker.run(Craf
    tWorker.java:34)
    14:58:33 [SEVERE]       at java.lang.Thread.run(Unknown Source)
    14:58:33 [SEVERE] java.io.IOException: Stream closed
    14:58:33 [SEVERE]       at sun.nio.cs.StreamEncoder.ensureOpen(Unknown Source)
    14:58:33 [SEVERE]       at sun.nio.cs.StreamEncoder.flush(Unknown Source)
    14:58:33 [SEVERE]       at java.io.OutputStreamWriter.flush(Unknown Source)
    14:58:33 [SEVERE]       at org.morganm.logores.LogOreLogger.flushWriters(LogOreL
    ogger.java:467)
    14:58:33 [SEVERE]       at org.morganm.logores.LogOreLogger.run(LogOreLogger.jav
    a:455)
    14:58:33 [SEVERE]       at org.bukkit.craftbukkit.scheduler.CraftWorker.run(Craf
    tWorker.java:34)
    14:58:33 [SEVERE]       at java.lang.Thread.run(Unknown Source)
     
  10. Offline

    Bronski

    Getting this while shutting down (probl same as above):

    Code:
    05:01:01 [INFO] [LogOres] version [0.6.3] unloaded
    05:01:01 [SEVERE] java.io.IOException: Stream closed
    05:01:01 [SEVERE]       at sun.nio.cs.StreamEncoder.ensureOpen(StreamEncoder.java:44)
    05:01:01 [SEVERE]       at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:139)
    05:01:01 [SEVERE]       at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
    05:01:01 [SEVERE]       at org.morganm.logores.LogOreLogger.flushWriters(LogOreLogger.java:467)
    05:01:01 [SEVERE]       at org.morganm.logores.LogOreLogger.run(LogOreLogger.java:442)
    05:01:01 [SEVERE]       at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    05:01:01 [SEVERE]       at java.lang.Thread.run(Thread.java:636)
    05:01:01 [SEVERE] java.io.IOException: Stream closed
    05:01:01 [SEVERE]       at sun.nio.cs.StreamEncoder.ensureOpen(StreamEncoder.java:44)
    05:01:01 [SEVERE]       at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:139)
    05:01:01 [SEVERE]       at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
    05:01:01 [SEVERE]       at org.morganm.logores.LogOreLogger.flushWriters(LogOreLogger.java:467)
    05:01:01 [SEVERE]       at org.morganm.logores.LogOreLogger.run(LogOreLogger.java:455)
    05:01:01 [SEVERE]       at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    05:01:01 [SEVERE]       at java.lang.Thread.run(Thread.java:636)
    
     
  11. Offline

    andune

    To all getting the shutdown error on v0.6.3, I'm aware of it and it is already fixed in code. However, I'm making other changes as well, so it is not released yet. The error is benign (although admittedly annoying) and can be ignored.

    Thanks for reporting the issue!
     
  12. Offline

    Darkedge

    Found the solution to my bug, for some reason if you set multiple worlds or w/e to true in the config file, it stops spitting out errors, and the logfile saves...
     
  13. Offline

    andune

    v0.7 released, ChangeLog:

    Show Spoiler

    v0.7 - August 4, 2011

    • Refactored code to support multiple loggers, defined using "logTypes" config param. Will be easy now to add DB logging when I get around to it.
    • Created new logger type "excel", logs to .data file in | separated format
    • Changed logging routine back to every 5 seconds on suspicion that perhapsthe blocking logger might have been causing some of the performance issues afew people reported on older versions of java
    • Added paranoidDiamonds flag, on by default. It operates the same as normal orelogging/ratios except it's only looking at the difference between diamonds. This means if someone nabs a diamond, grabs an iron ore in between and then nabs another diamond, only the ratio between the two diamonds is looked at. Also the cave algorithm and variance are ignored for diamonds. The net effect is that with this flag on, the logs are more likely to notice diamond cheaters that might have been able to fly under the radar before.
    • Fixed NPE bug on shutdown.
    • Added "flagging.flagWhenZeroLight" (default: off) which will flag events when they are being mined in zero light. Zero light does not necessarily mean a person is ore hacking, but it's does most likely mean they are light hacking (ie. they don't need torches to see in the dark).
    • Added counter and reasons to flags, so you will see how many consecutive flagged events a person has as well as the reasons they were flagged (ratio, lightLevel, paranoidDiamonds).
     
  14. Offline

    Jadedwolf

    @morganm
    With the new 0.7 release it no longer notifys people with the permissions of flagged events, I think this is do to the paranoid diamonds change.
    I need to be notified if people have a flag even cave. :(
     
  15. Offline

    andune

    Hmm. I'll admit I didn't test this particular feature with the new release, so it very well could be broken. However, the code block for doing notifications hasn't changed at all, and a quick scan of the code shows all is as it should be. Do you have flagging.notifyInCaves set to true? and what is flagsBeforeNotify set to? Maybe pastebin your config file.

    It could very well be a bug, I just don't see anything obvious right now, I'd have to test it further to confirm.
     
  16. Offline

    Jadedwolf

    @morganm
    Here is my config, I'm seeing the flags in the log text file, but i have seen only one in game notify, was surprised to see it, but out of all the flags of cave and diamond only one notify is a bit strange.
    http://pastebin.sk89q.com/473w
     
  17. Offline

    andune

    @Jadedwolf well your config looks OK. And you did see at least one notification, so the notification code is still working. Are you sure these alerts aren't coming from your biome world? I see you have that set to be ignored for notifications.

    Outside of that, I can't see anything wrong so any further troubleshooting will have to wait until I have time to test this myself and try to reproduce the issue, maybe some time this weekend.
     
  18. Offline

    Jadedwolf

    @morganm Would setting the "flagsBeforeNotify: 1" to 0 help or hinder notifications?
     
  19. Offline

    BeTrayed

    @morganm
    Any chance of adding rotating log ability? Like maybe setup rotations on a daily schedule? So logore.txt is today's logs and if I want to see yesterday's log I just read logore-08072011.txt ?

    One a server with lots of people this can get filled pretty easy and scrolling to try and find the right day or only new messages is a pain in the rear.

    Thanks for the plugin and your response!
     
  20. Offline

    mrvertigo27

    please list your permissions node in your plugin.yml so we may extract them regularly and stay updated using permissionshelper
     
  21. Offline

    RugRats

    I'm happy for adding this.
    As if this isn't bullshit.
    He's also a griefer.
    Code:
    [Sat Aug 13 17:49:03 EDT 2011] IRON_ORE    broken by HeavensFallen at (x=   233, y=  52, z=  -628, l=-1, world=world)
    [Sat Aug 13 17:49:08 EDT 2011] IRON_ORE    broken by HeavensFallen at (x=   234, y=  52, z=  -628, l=-1, world=world)
    [Sat Aug 13 17:49:08 EDT 2011] IRON_ORE    broken by HeavensFallen at (x=   234, y=  52, z=  -629, l=-1, world=world)
    [Sat Aug 13 17:49:13 EDT 2011] IRON_ORE    broken by HeavensFallen at (x=   233, y=  52, z=  -629, l=-1, world=world)
    [Sat Aug 13 17:49:13 EDT 2011] IRON_ORE    broken by HeavensFallen at (x=   232, y=  53, z=  -629, l=-1, world=world)
    [Sat Aug 13 17:49:13 EDT 2011] IRON_ORE    broken by HeavensFallen at (x=   232, y=  52, z=  -629, l=-1, world=world)
    [Sat Aug 13 17:49:18 EDT 2011] IRON_ORE    broken by HeavensFallen at (x=   233, y=  51, z=  -630, l=-1, world=world)
    [Sat Aug 13 17:49:18 EDT 2011] IRON_ORE    broken by HeavensFallen at (x=   233, y=  50, z=  -630, l=-1, world=world)
    [Sat Aug 13 17:49:18 EDT 2011] IRON_ORE    broken by HeavensFallen at (x=   234, y=  51, z=  -630, l=-1, world=world)
    [Sat Aug 13 17:49:24 EDT 2011] IRON_ORE    broken by HeavensFallen at (x=   234, y=  50, z=  -630, l=-1, world=world)
    [Sat Aug 13 17:49:24 EDT 2011] IRON_ORE    broken by HeavensFallen at (x=   234, y=  51, z=  -629, l=-1, world=world)
    [Sat Aug 13 17:49:24 EDT 2011] IRON_ORE    broken by HeavensFallen at (x=   234, y=  50, z=  -629, l=-1, world=world)
    [Sat Aug 13 17:50:15 EDT 2011] IRON_ORE    broken by HeavensFallen at (x=   240, y=  45, z=  -638, l=-1, world=world) [t=  49sec / (d= 12 / b=  18) = r=74.0] [flagged x1; ratio]
    [Sat Aug 13 17:50:15 EDT 2011] IRON_ORE    broken by HeavensFallen at (x=   240, y=  44, z=  -638, l=-1, world=world)
    [Sat Aug 13 17:50:20 EDT 2011] IRON_ORE    broken by HeavensFallen at (x=   241, y=  45, z=  -638, l=-1, world=world)
    [Sat Aug 13 17:50:20 EDT 2011] IRON_ORE    broken by HeavensFallen at (x=   241, y=  44, z=  -638, l=-1, world=world)
    [Sat Aug 13 17:50:20 EDT 2011] IRON_ORE    broken by HeavensFallen at (x=   241, y=  45, z=  -637, l=-1, world=world)
    [Sat Aug 13 17:50:24 EDT 2011] IRON_ORE    broken by HeavensFallen at (x=   241, y=  44, z=  -637, l=-1, world=world)
    [Sat Aug 13 17:52:23 EDT 2011] IRON_ORE    broken by HeavensFallen at (x=   240, y=  31, z=  -642, l=-1, world=world) [t= 120sec / (d= 14 / b=  35) = r=300.8]
    [Sat Aug 13 17:52:23 EDT 2011] IRON_ORE    broken by HeavensFallen at (x=   240, y=  31, z=  -641, l=-1, world=world)
    [Sat Aug 13 17:52:29 EDT 2011] IRON_ORE    broken by HeavensFallen at (x=   241, y=  31, z=  -642, l=-1, world=world)
    [Sat Aug 13 17:52:29 EDT 2011] IRON_ORE    broken by HeavensFallen at (x=   241, y=  30, z=  -642, l=-1, world=world)
    [Sat Aug 13 17:54:28 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   239, y=   4, z=  -654, l=-1, world=world) [t= 121sec / (d= 29 / b=  50) = r=210.8] [flagged x2; ratio]
    [Sat Aug 13 17:54:28 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   239, y=   4, z=  -653, l=-1, world=world)
    [Sat Aug 13 17:54:33 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   240, y=   4, z=  -654, l=-1, world=world)
    [Sat Aug 13 17:54:33 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   240, y=   5, z=  -653, l=-1, world=world)
    [Sat Aug 13 17:55:03 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   240, y=   5, z=  -668, l=-1, world=world) [t=  29sec / (d= 15 / b=  28) = r=54.1] [flagged x3; ratio paranoidDiamonds]
    [Sat Aug 13 17:55:03 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   240, y=   4, z=  -667, l=-1, world=world)
    [Sat Aug 13 17:55:08 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   240, y=   4, z=  -668, l=-1, world=world)
    [Sat Aug 13 17:55:08 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   239, y=   4, z=  -668, l=-1, world=world)
    [Sat Aug 13 17:55:51 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   245, y=   6, z=  -684, l=-1, world=world) [t=  41sec / (d= 17 / b=  42) = r=100.1] [flagged x4; ratio]
    [Sat Aug 13 17:55:51 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   245, y=   7, z=  -684, l=-1, world=world)
    [Sat Aug 13 17:55:51 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   244, y=   7, z=  -685, l=-1, world=world)
    [Sat Aug 13 17:55:57 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   244, y=   6, z=  -685, l=-1, world=world)
    [Sat Aug 13 17:56:08 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   240, y=   8, z=  -686, l=-1, world=world)
    [Sat Aug 13 17:56:16 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   240, y=   7, z=  -686, l=-1, world=world)
    [Sat Aug 13 17:56:16 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   239, y=   7, z=  -686, l=-1, world=world)
    [Sat Aug 13 17:56:16 EDT 2011] IRON_ORE    broken by HeavensFallen at (x=   239, y=   8, z=  -686, l=-1, world=world)
    [Sat Aug 13 17:56:40 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   239, y=   7, z=  -685, l=-1, world=world)
    [Sat Aug 13 17:57:42 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   268, y=   4, z=  -687, l=-1, world=world) [t=  63sec / (d= 29 / b=  53) = r=114.3]
    [Sat Aug 13 17:57:42 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   269, y=   4, z=  -687, l=-1, world=world)
    [Sat Aug 13 17:57:42 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   269, y=   3, z=  -687, l=-1, world=world)
    [Sat Aug 13 17:57:47 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   269, y=   4, z=  -686, l=-1, world=world)
    [Sat Aug 13 17:57:47 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   268, y=   3, z=  -686, l=-1, world=world)
    [Sat Aug 13 17:57:52 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   268, y=   2, z=  -686, l=-1, world=world)
    [Sat Aug 13 17:58:23 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   267, y=   8, z=  -676, l=-1, world=world) [t=  28sec / (d= 12 / b=  19) = r=45.5] [flagged x5; ratio]
    [Sat Aug 13 17:58:23 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   266, y=   8, z=  -676, l=-1, world=world)
    [Sat Aug 13 17:58:28 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   266, y=   9, z=  -676, l=-1, world=world)
    [Sat Aug 13 17:58:28 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   266, y=   8, z=  -675, l=-1, world=world)
    [Sat Aug 13 17:58:28 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   267, y=   7, z=  -675, l=-1, world=world)
    [Sat Aug 13 17:58:33 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   267, y=   8, z=  -675, l=-1, world=world)
    [Sat Aug 13 17:58:53 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   262, y=   4, z=  -672, l=-1, world=world) [t=  19sec / (d=  7 / b=  18) = r=48.4] [flagged x6; ratio]
    [Sat Aug 13 17:58:53 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   261, y=   5, z=  -672, l=-1, world=world)
    [Sat Aug 13 17:58:53 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   261, y=   4, z=  -672, l=-1, world=world)
    [Sat Aug 13 17:58:58 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   262, y=   4, z=  -671, l=-1, world=world)
    [Sat Aug 13 17:59:18 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   257, y=   3, z=  -669, l=-1, world=world) [t=  22sec / (d=  5 / b=  19) = r=76.3]
    [Sat Aug 13 17:59:18 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   257, y=   2, z=  -669, l=-1, world=world)
    [Sat Aug 13 18:02:09 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   253, y=  16, z=  -685, l=-1, world=world) [t= 171sec / (d= 22 / b=  57) = r=450.6]
    [Sat Aug 13 18:02:15 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   253, y=  17, z=  -685, l=-1, world=world)
    [Sat Aug 13 18:02:15 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   252, y=  17, z=  -684, l=-1, world=world)
    [Sat Aug 13 18:02:15 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   253, y=  18, z=  -684, l=-1, world=world)
    [Sat Aug 13 18:02:15 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   252, y=  18, z=  -684, l=-1, world=world)
    [Sat Aug 13 18:02:20 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   252, y=  19, z=  -684, l=-1, world=world)
    [Sat Aug 13 18:02:20 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   252, y=  18, z=  -685, l=-1, world=world)
    [Sat Aug 13 18:02:58 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   255, y=  18, z=  -691, l=-1, world=world) [t=  35sec / (d=  7 / b=  19) = r=99.1] [flagged x7; ratio]
    [Sat Aug 13 18:02:58 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   255, y=  17, z=  -691, l=-1, world=world)
    [Sat Aug 13 18:02:58 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   255, y=  18, z=  -692, l=-1, world=world)
    [Sat Aug 13 18:02:58 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   256, y=  18, z=  -692, l=-1, world=world)
    [Sat Aug 13 18:03:03 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   256, y=  18, z=  -691, l=-1, world=world)
    [Sat Aug 13 18:03:08 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   256, y=  19, z=  -692, l=-1, world=world)
    [Sat Aug 13 18:03:21 EDT 2011] IRON_ORE    broken by HeavensFallen at (x=   257, y=  18, z=  -686, l=-1, world=world) [t=  14sec / (d=  6 / b=   4) = r=9.1]
    [Sat Aug 13 18:03:21 EDT 2011] IRON_ORE    broken by HeavensFallen at (x=   257, y=  17, z=  -686, l=-1, world=world)
    [Sat Aug 13 18:03:26 EDT 2011] IRON_ORE    broken by HeavensFallen at (x=   257, y=  16, z=  -687, l=-1, world=world)
    [Sat Aug 13 18:03:26 EDT 2011] IRON_ORE    broken by HeavensFallen at (x=   258, y=  16, z=  -687, l=-1, world=world)
    [Sat Aug 13 18:03:31 EDT 2011] IRON_ORE    broken by HeavensFallen at (x=   258, y=  16, z=  -686, l=-1, world=world)
    [Sat Aug 13 18:03:31 EDT 2011] IRON_ORE    broken by HeavensFallen at (x=   258, y=  15, z=  -687, l=-1, world=world)
    [Sat Aug 13 18:04:09 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   277, y=  15, z=  -687, l=-1, world=world) [t=  37sec / (d= 19 / b=  33) = r=64.3]
    [Sat Aug 13 18:04:09 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   277, y=  14, z=  -687, l=-1, world=world)
    [Sat Aug 13 18:04:09 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   277, y=  15, z=  -686, l=-1, world=world)
    [Sat Aug 13 18:04:14 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   277, y=  14, z=  -686, l=-1, world=world)
    [Sat Aug 13 18:04:14 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   278, y=  15, z=  -686, l=-1, world=world)
    [Sat Aug 13 18:04:14 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   278, y=  14, z=  -686, l=-1, world=world)
    [Sat Aug 13 18:04:14 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   278, y=  15, z=  -687, l=-1, world=world)
    [Sat Aug 13 18:04:19 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   278, y=  14, z=  -687, l=-1, world=world)
    [Sat Aug 13 18:04:19 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   278, y=  16, z=  -686, l=-1, world=world)
    [Sat Aug 13 18:04:19 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   278, y=  17, z=  -686, l=-1, world=world)
    [Sat Aug 13 18:04:19 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   279, y=  17, z=  -686, l=-1, world=world)
    [Sat Aug 13 18:04:24 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   279, y=  17, z=  -685, l=-1, world=world)
    [Sat Aug 13 18:04:24 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   279, y=  18, z=  -685, l=-1, world=world)
    [Sat Aug 13 18:04:30 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   278, y=  17, z=  -685, l=-1, world=world)
    [Sat Aug 13 18:05:12 EDT 2011] IRON_ORE    broken by HeavensFallen at (x=   290, y=  15, z=  -680, l=-1, world=world) [t=  43sec / (d= 13 / b=  41) = r=134.0] [flagged x8; ratio]
    [Sat Aug 13 18:05:12 EDT 2011] IRON_ORE    broken by HeavensFallen at (x=   290, y=  16, z=  -679, l=-1, world=world)
    [Sat Aug 13 18:05:12 EDT 2011] IRON_ORE    broken by HeavensFallen at (x=   290, y=  15, z=  -679, l=-1, world=world)
    [Sat Aug 13 18:05:23 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   290, y=   7, z=  -675, l=-1, world=world) [t=  12sec / (d=  9 / b=  15) = r=20.1] [flagged x9; ratio]
    [Sat Aug 13 18:05:28 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   290, y=   7, z=  -674, l=-1, world=world)
    [Sat Aug 13 18:05:28 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   291, y=   7, z=  -674, l=-1, world=world)
    [Sat Aug 13 18:05:33 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   291, y=   7, z=  -675, l=-1, world=world)
    [Sat Aug 13 18:05:33 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   290, y=   6, z=  -674, l=-1, world=world)
    [Sat Aug 13 18:05:45 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   290, y=   9, z=  -672, l=-1, world=world)
    [Sat Aug 13 18:05:45 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   289, y=   9, z=  -672, l=-1, world=world)
    [Sat Aug 13 18:05:50 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   290, y=  10, z=  -672, l=-1, world=world)
    [Sat Aug 13 18:05:50 EDT 2011] IRON_ORE    broken by HeavensFallen at (x=   291, y=  10, z=  -672, l=-1, world=world)
    [Sat Aug 13 18:05:50 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   289, y=  10, z=  -672, l=-1, world=world)
    [Sat Aug 13 18:07:48 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   305, y=   4, z=  -664, l=-1, world=world) [t= 119sec / (d= 19 / b=  49) = r=309.0]
    [Sat Aug 13 18:07:53 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   305, y=   4, z=  -663, l=-1, world=world)
    [Sat Aug 13 18:07:53 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   305, y=   3, z=  -663, l=-1, world=world)
    [Sat Aug 13 18:07:53 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   304, y=   4, z=  -663, l=-1, world=world)
    [Sat Aug 13 18:07:53 EDT 2011] DIAMOND_ORE broken by HeavensFallen at (x=   304, y=   4, z=  -664, l=-1, world=world)
    [Sat Aug 13 18:08:48 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   324, y=   6, z=  -670, l=-1, world=world) [t=  52sec / (d= 21 / b=  53) = r=131.4] [flagged x10; ratio]
    [Sat Aug 13 18:08:48 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   325, y=   6, z=  -670, l=-1, world=world)
    [Sat Aug 13 18:08:53 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   324, y=   6, z=  -671, l=-1, world=world)
    [Sat Aug 13 18:08:53 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   325, y=   6, z=  -671, l=-1, world=world)
    [Sat Aug 13 18:08:53 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   324, y=   7, z=  -671, l=-1, world=world)
    [Sat Aug 13 18:08:58 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   324, y=   7, z=  -670, l=-1, world=world)
    [Sat Aug 13 18:08:58 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   325, y=   7, z=  -671, l=-1, world=world)
    [Sat Aug 13 18:08:58 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   325, y=   7, z=  -670, l=-1, world=world)
    [Sat Aug 13 18:15:31 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   284, y=  27, z=  -612, l=-1, world=world) [t= 390sec / (d= 74 / b=  37) = r=195.6] [flagged x11; ratio] [cave?]
    [Sat Aug 13 18:15:31 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   283, y=  28, z=  -612, l=-1, world=world)
    [Sat Aug 13 18:15:31 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   283, y=  27, z=  -612, l=-1, world=world)
    [Sat Aug 13 18:15:36 EDT 2011] GOLD_ORE    broken by HeavensFallen at (x=   283, y=  27, z=  -611, l=-1, world=world)
     
  22. Offline

    Bronski

    I don't think I've seen any notifications either lately.
     
  23. Offline

    andune

    @Jadedwolf @Bronski
    I just did some local testing and notifications are working fine. Here are the important configuration items related to notify:

    flagging:
    # if notify is true, anyone with the 'logores.notify' permission will be notified on
    # a flagged entry
    notify: true
    # by default we don't count [cave?] entries toward notification. Set this flag to true
    # to change that behavior.
    notifyInCaves: false
    # you can tune this to be the number of flagged events are required before a notification
    # is sent.
    flagsBeforeNotify: 3
    # worlds to ignore notifications from
    #notifyIgnoredWorlds:

    And the important permissions are that the person doing the cheating (ie. being flagged) does NOT have "logores.notify.ignore" permissions and that the persons to be notified DOES have the "logores.notify" permission. Using the settings above, I tested some cheating locally and I got flag notifications at the 3rd (and any additional) flagged ore.

    Note that LogOres is currently *NOT* Bukkit super-perms compatible. You MUST be running a Perm2-compatible interface at this time. You can check if LogOres is seeing your permissions by trying a "/lo reload" command as admin (with the * perm, or by specifically giving yourself "logores.admin") to see if that works. If you can't run that command, you're not running a Perm2-compatible interface and LogOres can't see your permissions - thus no notifications.

    I will probably fix super-perms compatibility in the next release, whenever that is. It's not really important to me as I use PEX which supports both Perm2 and Superperms. Also all the Superperms plugins I've seen have a Perm2 compatibility layer, so use that in the meantime if you're superperms die-hard.
     
  24. Offline

    Bronski

    Thanks for the clarification and response. I'll double-check my settings. I did see 1 notification this morning. Maybe my people aren't mining that much (or they're all being super well-behaved hah).
     
  25. Offline

    BadgerLove

    Has anyone been able to make an nice Excel sheet to convert the .data into a Graph?

    Personally useless with Excel but it would be awesome to be able to organise the data.
     
  26. Offline

    wassilij

    Could you link that to LogBlock?
    Because Logblock is logging all, so you can get the data from their database and calculate :p

    Sorry for bad english.
     
  27. Offline

    andune

    Been over this one before; I use LogBlock on my server as well, so I like it fine as a plugin, it's a great tool. However, it would be far less efficient to use LogBlock since I use things like "non-ore blocks" as part of the ratio calculation. This is a very efficient integer counter for LogOres but would be a very slow query to get the same info from LogBlock. LogBlock also does not offer a "listener" API (it's on the to-do list) and even if it did, it's doubtful it would be more efficient than just hooking onBlockBreak from Bukkit directly, which this plugin does.

    One additional problem with LogBlock is it doesn't record original timestamps, if the DB writer gets behind, the timestamp written into the database is when LogBlock wrote the DB record, not when the block was actually broken (if LB is a few thousand rows behind due to a forest fire, I've seen the timestamps be off by 5 minutes or more). LogOres uses timestamp as part of the calculation, if it relied on LogBlock you'd get false positives any time your LB queue fell behind.

    I worked hard to make LogOres very lightweight and efficient. LogBlock was also written to be efficient at what it does, however it was not designed to do the things LogOres is doing and it would make LogOres much slower as well as causing lots of false positives if I were to try to use it. There's no gain to be had.

    If you have LogBlock running, then you have a very rich database of history to pull from. By all means, use it. If you want alerting for when users are likely cheating by finding ores too fast, then use this plugin. If you don't care about keeping the "history" of ores in a log file because you already use LogBlock and this seems redundant to you, then just delete the log file whenever you're done checking it for cheaters.
     
    wassilij likes this.
  28. Offline

    LeetPowerCraft

    Is this currently working with PEX and BukkitPermissions? Can anyone confirm?
     
  29. Offline

    andune

    It works fine with PEX, that's what I'm using. In fact, it would work fine even if you had no permission system at all, you just wouldn't be able to configure it for notifications.
     
    LeetPowerCraft likes this.
  30. Offline

    andrewkm

    @morganm
    Im looking to switch to bpermissions/PEX - bukkit permissions, very soon as opposed to permissions 3.1.6
    Wondering if this plugin works with it? Sorry If I missed it on the first page.
     
  31. Offline

    LeetPowerCraft

    It works fine with PEX as he stated above.

    When will you be moving this over to BukkitDev? Only reason I prefer it is because of the live file updates that you can subscribe to. :p
     

Share This Page