Inactive [SEC] BigBrother 1.11.0 - Catch griffers red-handed [1060]

Discussion in 'Inactive/Unsupported Plugins' started by N3X15, Apr 13, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    N3X15

    [​IMG]
    Important Crap

    I'm done, but BB isn't.
    I've got 10 developers on the contributors' list who supposedly want to help, but I haven't heard a word from them since the day I added them. BigBrother's so full of bugs now that I don't know where to start, and I simply don't have the time or patience to work on it anymore. If you want something that works, pick up LogBlock. I'm fucking done. I updated it to "run" on 1060, but that's as far as I'm taking this. If you still want to help, email me at [email protected] and give me a rundown of your experience in coding plugins so I know you'll do something.​
    UPDATE: 3 developers have been added to the repo, but I'm waiting for them to get familiarized and start committing before I declare this crisis over. I appreciate the support and help that has been thrown this way. If you'd still like to help, but don't know how to code, there are many other ways to contribute. See the Contributors section for more info.​


    Version: 1.11.0
    Original Author: tkelly910

    Contributors
    • Development Team
      • N3X15
      • Mafio
      • FalconGaming
    • Quality Assurance (QA) Team (Testing, ONLY ON LATEST RB*!)
      • N3X15
      • Mineral
      • All of the poor bastards on the 7chan.org minecraft server + other dev servers
      • *NOTE: Unless EvilSeph or other bukkit devs indicate an RB is imminent, e.g. within the next week.
    • Bug Triage (Sorting through bugs, marking duplicates, closing, prioritizing)
      • N3X15
    • Documentation (Wiki, FAQ, other stuff people will read)
      • N3X15
    • MORE NEEDED. PLEASE PM ME IF YOU ARE INTERESTED IN TESTING OR DEVELOPING.
    Introduction

    BigBrother is a powerful plugin that enables you to investigate roll back griefing via a large and all-knowing database. You have a choice between using immensely powerful commands to search an area for changes, or you can whack a block with a stick or place a log to see changes within a single block.

    • /bb log - Gives you the BigBrother Multipurpose Tool, or a simple log. Hit something with it to see changes in that spot, and place it if the block you're check is non-solid, like water, lava or air.
    • /bb done - Removes the log from your inventory, and gives you back any items it replaced.
    • Want to check an entire area? Use /bb here to list who changed what!
    • Need to roll back EvilGuy and DoucheBug's edits? Use /bb rollback EvilGuy DoucheBug!
      • Have to roll back edits up to 5 minutes ago? Simple! /bb rollback t:5m
      • Need to only roll back within a certain radius? /bb rollback r:<radius-in-blocks>
      • Roll back specific actions with /bb rollback a:10,BLOCK_PLACE
    • If you screw up, /bb undo
    • (NEW) /bb history "Suspicious Guy" to see that player's recent history! (add pg:# to go to page #)
    • Mow your lawn with /bb mowlawn!
    See the full list of commands and Permissions nodes here.

    Screenshots

    [​IMG]
    [​IMG]
    [​IMG](Yes, stationary_* and regular blocks got reversed, this is fixed.)​
    [​IMG]

    Need Help?

    • What version of CraftBukkit and BigBrother? If you don't know, type /version and /bb version.
    • What database engine are you using? Look at the value for database.type in BigBrother.yml. I use MySQL on my server and test on H2.
    • Do you get any errors? If so, please link to a pastebin with your server.log
    • What steps do I have to take to reproduce this behavior?
    • What other plugins are you using?
    Known Issues
    • Everything listed here
    • ItemCraft is not supported due to it sending unexpected NULLs via Block.getType(). Can be fixed by adding a new enum value for unknown blocks.
    • Bugs everywhere, stopped counting.
    Coming Soon
    • /bb history - Gets the history of a player
    • Fixed /bb update
    • Updated API
    • Externally accessible API
    • Custom Action IDs (for WorldEdit support, etc.)
    More Information

    IRC: Support/Chatter/Developer Jive @ irc.7chan.org #bigbrother (Moved so my build notification bot has an easier time notifying multiple channels)

    Changelog
    BigBrother 1.11.0 Changelog
    • Centralize and update bystander checks.
    • Fix parsing errors in DeltaChest
    • Clarify /bb log
    • Fix sign lines being too far down
    • Add command censoring (for people worried about xAuth and the like)
    • Fix pagination capping
    • Fix an error in DeltaChest reading
    • Add ?autoReconnect=true to the MySQL DSN
    • Remove all H2 support
    • Removed /bb stick from /bb help since it is now obsolete
    • Fixed it so commands that work won't say commands not recognized after they already work
    • Fixed the issue of when you had the /bb log if you broke something it would not record the break even if you were watched
    • Now if the user tries to find the history of an invalid user it won't throw null errors.
    • Yell at the users if they don't follow the setup procedure
    • Should fix most of the errors dealing with the log and watch/unwatch problems
    • Update README
    1.10.0+ (open)

    BigBrother 1.10.1 Changelog
    • Fix a rollback SQL syntax error
    • Fix explosion logging
    • Clarify database trimming message in log
    • Fix /bb history
    • Continue rolling back incorrectly-logged BlockBurns, if the data field is unparsable, default to 0.
    • Fix Heartbeat logging
    • Fix SuperPerms support.
    BigBrother 1.10.0 Changelog

    New Features:
    • Brand new plugin API! (Wiki)
    • Database change. There is now a converter, but you might still lose data!
    • Compact chest changes: (+Added)(=Replaced)(-Removed)
    • Heartbeat Action: Logs users online and the current time, both to keep your database connection open, and for monitoring of your server's uptime!
    • Piston Actions!
    • Bukkit Superperms support!
    • RB 1000 support!
    • /bb history!
    • Formatting fix for rollbacks
    • A buttload of NPE fixes
    Bugfixes:


    • [BB-81] Rollback doesn't work because of empty data-values
    • [BB-78/BB-69] onPickupItem/onDropItem NPEs
    • Memory leak fix (Thanks to Wootalyzer!)
    BigBrother 1.9.1:

    • Use BlockSpreadEvent for tracking fires (later told by EvilSeph that there's no current way to track fire in Bukkit)
    • Display a "Permission Denied" to users trying to use commands with insufficient priviliges instead of silently failing.
    • Add /bb mowlawn.
    • Fix stupid mixup between String.format usage on C# and Java in DeltaChest
    • Automatically update plugin.yml via Maven (internal crap)
    BigBrother 1.9


    • Support for 928+
    • NEW: Lava/Water/Fire flow logging (AND ACTUALLY TESTED, FOR ONCE!)
    • NEW: a: directive for rollbacks, for specifying comma-delimited action IDs to track
    • Lots and lots of bugfixes.
    • Marginally better H2 support
    • More automated tests
    • Standardized QA tests (ongoing)
     
  2. Offline

    Jobsti

    #644 works great, no errors. logging Creeper explosions and do rollbacks. thanks!

    But Ghasts and tnt is logged as "something unknown", but works ;)
     
  3. Code:
    2011-07-22 02:20:00 [SEVERE] [BBROTHER] Cannot find class me.taylorkelly.bigbrother.datablock.MiscExplosion:
    java.lang.ClassNotFoundException: me.taylorkelly.bigbrother.datablock.MiscExplosion
    	at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:334)
    	at java.lang.Class.forName0(Native Method)
    	at java.lang.Class.forName(Class.java:186)
    	at me.taylorkelly.bigbrother.BBActionProvider.getAction(BBActionProvider.java:88)
    	at me.taylorkelly.bigbrother.ActionProvider.findAndProvide(ActionProvider.java:158)
    	at me.taylorkelly.bigbrother.rollback.Rollback$Rollbacker.run(Rollback.java:163)
    Bukkit 1000, BB 1.10.0

    Code:
    database:
        port: 3306
        username: minecraft
        prefix: ''
        hostname: localhost
        cleanser:
            age: 14d
            deletes-per-operation: 20000
        type: MySQL
        password: ****
        database: minecraft
        send-delay: 4
        mysql:
            engine: INNODB
            low-priority-insert: true
    general:
        excluded-blocks: []
        rollbacks-per-tick: 2000
        personal-log-files: false
        auto-watch: true
        debug-mode: false
        store-owners: true
        default-search-radius: 5
        restore-fire: false
        log-ips: true
        stick-item: 280
        library-autodownload: true
        disabled-actions:
        - LeafDecay
        - DropItem
        - PickupItem
     
  4. Offline

    ExplosiveBacoN

    So ugh, how do the new chest changes work?
     
  5. Offline

    Serverguy

    That doesn't make any sense... the database is empty and its trying to delete entries that aren't there. I have deleted and re-created the database from scratch. Even after that BB is trying to delete entries that are not there, it thinks that the records that are in the database are over 7 days old and is deleting them. This is done after completely removing and re-installing the BB plugin completely. With a new empty database i shouldn't see any records being deleted for at least 7 days because nothing in the database is that old. The only messages in the log files should all read "Removed 0 old records because of age in 0h00m00s" for at least 7 days.

    I want 7 days of retention in the database, thats why I have it set in the config file.

    I can't say for sure but it looks like its trying to delete the same records over and over again hence the same 217 -216 records that it's trying to delete in the logs.
     
  6. Offline

    killerhunt0

    Really enjoyed the old plugin. The new update seemed to have ruined my ability to see what people removed from chests. Just thought I'd give my 2 cents. =D
     
  7. where can i ddownload bb 1.91? and bukkit 953 beacuse this new build is unstable, on my hamachi server i type /bb log it says permission denied(but iam op and in the startup it says that permission is connected with ops.txt :D)

    and on my normal server says that the command is unrecognized type /bb help for more info (but this command not working too :) )

    MC 1.7.3 with BB 1.9.1 and bukkit 953 worked fine just i cant find it anymore here
     
  8. Offline

    Pisi-Deff

    Serverguy is onto something.
    From my log of the last 2 days with server running 15 hours per day:
    44x [BBROTHER] Removed 217 old records because of age in 0h00m00s.
    5x [BBROTHER] Removed 217 old records because of age in 0h00m01s.
    26x [BBROTHER] Removed 216 old records because of age in 0h00m00s.
    1x [BBROTHER] Removed 216 old records because of age in 0h00m01s.

    Always those numbers, 217 & 216. Just like in Serverguy's log.

    That was fixed with this build:
    http://ci.nexisonline.net:8080/job/BigBrother/642/artifact/target/BigBrother.jar
    Am using it myself, works fine. :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
  9. thx for the quick reply its working, now i uploading for the online server

    edit:

    i deleted the old big brother then uploaded the new jar server restarted no errors on startup just i cant use the commands: command unrecognized see the ....

    How can i fix it?

    bb 1.9.1 still working perfectly so i put on that version while you examine this bug
     
  10. Offline

    football70500

    Hi this is a good plugin... but were are the nodes?
     
  11. Offline

    Serverguy

    Just a quick update, I bumped my config from 7 to 10 days and for several hours yesterday the 216-217 msgs stopped but this morning they're back again...

    same numbers all the time.
     
  12. Offline

    Mook

    Fresh install, i'm getting

    Code:
    2011-07-22 16:09:42 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'bb' in plugin BigBrother v1.10.0-SNAPSHOT
    Caused by: java.lang.IndexOutOfBoundsException: toIndex = 9
    
    whenever I try to execute "/bb history" otherwise everything else works fine
     
  13. Offline

    Serverguy

    FOUND it... there is some event that is writing the date variable as a 0 and the DATA value as the number...
    Here's what I did...


    I looked at the Query log for MYSQL and captured exactly what BB is saying to the DB and found this statement:

    Code:
    SELECT id,name,flags FROM bbusers WHERE `name`='Environment'
    DELETE FROM `bbdata` WHERE date < 1310482528 LIMIT 20000
    I changed it to:
    Code:
     SELECT * FROM `bbusers` where date <1310582728 Limit 20000
    so that I could see what the query was returning...


    [​IMG]


    You'll notice that all of the date fields are 0 which is why they are being deleted, it looks to me like maybe there is a typo somewhere in the code where date and data are transposed because the data field looks like what should be in the date field.

    EDIT: So, uh just figured it all out...I think I get it now...

    The 216 -217 deletion entries are for the action 25, when you look up the action in the database table 25 = heartbeat so logically if you have this heartbeat writing to the database every few seconds/minutes etc you don't need to keep them and so write them with a timestamp of 0 SOOOO when the timed deletion happens at a set time you will generally see close to the same number of deletions each time when it gets rid of those heartbeats as long as there are no other deletions for valid items.

    Ok so this has been the longest post ever for me ... I'm just gonna shuffle of into the corner and bang my head on the wall for a few minutes. :oops:

    Thanks for this great piece of software, its working perfectly for me!!!!
     
  14. Offline

    Det117

    When ever i type /bb log it says Command unreconised by big brother
    Help?
     
  15. Offline

    Jobsti

  16. Offline

    Vittek

    Getting these alot with the latest BB And cb1000:

     
  17. Offline

    gmore70


    Same issue here. I have had to turn off bb, kind of freaky..
     
  18. Offline

    alfskan

    Code:
    2011-07-22 09:32:44 [SEVERE] [BBROTHER] onPlayerInteract([email protected])
    java.lang.NullPointerException
        at me.taylorkelly.bigbrother.listeners.BBPlayerListener.onPlayerInteract(BBPlayerListener.java:232)
        at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:307)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:168)
        at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:210)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:552)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:457)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:367)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    I got this error when I placed MOD`s blocks.
     
  19. Offline

    CraftForTheCure

    [BBROTHER] Erroneous BlockBurn action: Data value is unparsable. Your ActionID datatable table may have become scrambled and may not match up with legacy actionIDs. You may need to rebuild your database.

    How does one do this?

    Still did this after i deleted and remade the MySQL database.
     
  20. Offline

    crzye8s

    I try to rollback edits made by Dan, but there is another person on the server named danester. When I type /bb rollback Dan r:30, it keeps referring to danester and says No modifications in this area. But when I do /bb here it clearly says Dan made 20 edits. So... I was wondering why the parameter for /bb rollback is NOT case sensitive/exact match.
     
  21. Offline

    N3X15

    That's.... Weird. All of BB's actions (including Heartbeat) use the same SQL template (in BBDataTable{MySQL,H2,Postgres}), so I don't see why it would be doing this. Thanks for the report.

    Fixed in the devbuilds, probably.

    Please pastebin your server.log, looks like it's not INSERTing new Actions. I specifically need everything during startup.

    Weird, I never get this on my servers. I've committed a workaround that changes any erroneous data values to 0 and moves forward with the rollback anyway. Stairs, signs and torches may be rotated wrong if this happens, but they'll still be there.
     
  22. Offline

    TheBeast808

    The database converter is a lie. I just lost 3 months of block logs when I updated :\
     
  23. Offline

    N3X15

    Okay, update: I fixed the Heartbeat logging problem where it inserted a null timestamp.
     
  24. Offline

    CraftForTheCure

    In fact nothing get's rolled back. Nothing has been for me for the past few updates. But right now that's the only error I'm getting.
     
  25. Offline

    gmore70

    Please pastebin your server.log, looks like it's not INSERTing new Actions. I specifically need everything during startup.

    Dam...it filled up my log so bad, that I had to delete my log. But that snippet was a good representation of what was going on.

    Tell you what I will try your new update, if it happens again, I will pastenbin my log.

    Thanks again!
     
  26. Offline

    Kegan187

  27. Offline

    Sayshal

    I'm really confused. I have been using BB for months, and it has NEVER worked for rolling back. Some greifer burnt down a huge house of mine. Here is the console when I tried to rollback.

    This text file only has 1 tenth of the errors.. PLEASE HELP!
     

    Attached Files:

  28. Offline

    Frogging101

    @N3X15

    I'm having an issue where half the things I do don't get logged. I can break a bunch of blocks then check it with the bb log, and it has recorded it (It does take a few seconds though, but that's just mysql).

    I can then break more blocks and no matter how long I wait it never gets recorded. It's very weird.

    If it's helpful, I also have the Statistician plugin using the same MySQL server (Statistician records stats to MySQL every 2 minutes).
     
  29. Offline

    N3X15

    BigBrother 1.10.1 Changelog
    • Fix a rollback SQL syntax error
    • Fix explosion logging
    • Clarify database trimming message in log
    • Fix /bb history
    • Continue rolling back incorrectly-logged BlockBurns, if the data field is unparsable, default to 0.
    • Fix Heartbeat logging
    • Fix SuperPerms support.
     
  30. Offline

    PirateEggs

    Is there a way we would be able to see the "ghost" (an NPC) of said user walking around to see what they did?
    This would be useful for seeing how they exploit a glitch or something along those lines.

    Not sure how hard it would be, but, I know you're smart so you would be able to get it done pretty easily.
     
  31. Offline

    Jadedwolf

    I'm getting theses errors when using the
    Code:
    /bb history "playersname"
    http://pastebin.com/xk9TeUXb pastebin of the error and full startup.
     
Thread Status:
Not open for further replies.

Share This Page