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

    ARandomBob

    Ok another dumb question. If I open the bigbrother.h2 file in notepad++ it just shows nullnullnull over and over again.
     
  3. Offline

    danielisacrab

    Right, so after a little bit of poking, my web interface is (almost) complete!

    Preview: http://1536.b.hostable.me/BigBrother/
    NOTE: the data in the database on my website is slightly outdated, as it is from my own private server.
    The only username that will work, therefore, is danielisacrab.

    What it requires:
    -PHP webserver (like XAMPP)
    -MYSQL (included in XAMPP)

    What you can do (at the moment):
    -Search by coordinates
    -Search by username
    -Search by action
    -Read text on placed (and destroyed) signs
    -View chest transactions somewhat easier

    To do:
    Add H2 support (possibly upload .DB file to the server?)
    Add flatfile parser
    Add simple single chest parser (enter {1:2:+5:0:0; and it'll tell you that 5 grass blocks were added)

    The H2 database isn't supposed to be opened like that, there IS a way to do it, but i'm not sure.

    I think ArmEagle meant the text log to be opened, if you can find it.

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

    ArmEagle

    Yes indeed. I meant file, or database (MySQL or whatever client you manage to find that lets you work with H2 database files). The user text logs are optional though (in BigBrother/logs). But I think it was at least enabled by default at some point. No idea whether that's still the case.

    I did mention the database though, since I actually use that myself because I fail at user log file parsing/conversion.
     
  5. Offline

    dkeulen

    for some reason bb doenst work at all... cb860
    even when it says use /bb help and i do /bb help it is not reconized as a bb command.... ??
     
  6. Offline

    Allio567

    I get spammed by BigBrother every 2 seconds.
    One error:


    Code:
    [SEVERE] [BBROTHER] executeUpdate failed (DELETE FROM `bbdata` WHERE date < 1308577186;):
    org.h2.jdbc.JdbcSQLException: General error: "java.lang.ArrayIndexOutOfBoundsException: 99"; SQL statement:
    DELETE FROM `bbdata` WHERE date < 1308577186; [50000-153]
        at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)
        at org.h2.message.DbException.get(DbException.java:156)
        at org.h2.message.DbException.convert(DbException.java:279)
        at org.h2.table.RegularTable.removeRow(RegularTable.java:380)
        at org.h2.command.dml.Delete.update(Delete.java:91)
        at org.h2.command.CommandContainer.update(CommandContainer.java:69)
        at org.h2.command.Command.executeUpdate(Command.java:212)
        at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:143)
        at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:129)
        at me.taylorkelly.bigbrother.datasource.BBDB.executeUpdate(BBDB.java:295)
        at me.taylorkelly.bigbrother.Cleanser$CleanupThread.cleanByAge(Cleanser.java:91)
        at me.taylorkelly.bigbrother.Cleanser$CleanupThread.run(Cleanser.java:83)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 99
        at org.h2.index.PageBtree.getRow(PageBtree.java:172)
        at org.h2.index.PageBtreeLeaf.remove(PageBtreeLeaf.java:222)
        at org.h2.index.PageBtreeNode.remove(PageBtreeNode.java:324)
        at org.h2.index.PageBtreeNode.remove(PageBtreeNode.java:324)
        at org.h2.index.PageBtreeIndex.remove(PageBtreeIndex.java:237)
        at org.h2.table.RegularTable.removeRow(RegularTable.java:362)
        ... 8 more
    
     
  7. Offline

    p67738

    This plugin is glitched. Stuff re-appears. This plugin hasn't updated in forever. Better update it, N3X15!

    It is glitttttttched N3X15

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

    Darcion

    on #526 and a fullrollback

    Code:
    2011-06-23 17:46:18 [WARNING] [BBROTHER] Caught exception when rolling back a DELTA_CHEST
    java.lang.NumberFormatException: Value out of range. Value:"309" Radix:10
        at java.lang.Byte.parseByte(Unknown Source)
        at java.lang.Byte.valueOf(Unknown Source)
        at java.lang.Byte.valueOf(Unknown Source)
        at me.taylorkelly.bigbrother.datablock.DeltaChest$DeltaEntry.<init>(DeltaChest.java:124)
        at me.taylorkelly.bigbrother.datablock.DeltaChest.processDeltaStream(DeltaChest.java:74)
        at me.taylorkelly.bigbrother.datablock.DeltaChest.do_NewRollback(DeltaChest.java:274)
        at me.taylorkelly.bigbrother.datablock.DeltaChest.rollback(DeltaChest.java:265)
        at me.taylorkelly.bigbrother.rollback.Rollback$RollbackByTick.run(Rollback.java:236)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:138)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:386)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  9. Offline

    Deatlev

    How do I fix COULD NOT PASS EVENT errors?
    ex:
    Could not pass event player_interact to BigBrother please help It spams the console soo much Dx
     
  10. Offline

    DoomBunnyPwn

    To install this using h2 to i just have to put it in plugins?
     
  11. Offline

    danielisacrab

    Yep. The default config routes all the information to a H2 database. That database will work completely for everything.
     
  12. Offline

    Deatlev

    HelP! BB has stopped logging player's actions again, this time it's not bout the time, it just aint logging it, please help me :S
     
  13. Offline

    haeclark

    I've gone through a few pages, and dont have time to read all 43 of them, but need to find out how to alter BB from auto cleansing the database. My server logs are floaded with:
    "BBROTHER: Removed 0 old records because of age in 0h00m00s."
    which therefore removes information before I even re-log back on.
    Consequentially, if a creeper dose blow something up, and someone doesn't know how to use BB, then the info gets erased before I can log back in to fix it (usually the case as of lately).
    Im using version 1.8 of BB.
    Thanks
     
  14. Offline

    Deatlev

    Code:
    general:
        excluded-blocks: []
        rollbacks-per-tick: 2000
        personal-log-files: true
        auto-watch: true
        debug-mode: false
        default-search-radius: 5
        tnt-threshold: 10.0
        restore-fire: false
        stick-item: 280
        library-autodownload: true
    database:
        port: 3306
        username: ''
        prefix: ''
        hostname: ''
        cleanser:
            age: 3d
            deletes-per-operation: 20000[/U]
        type: H2
        password: ''
        database: ''
        send-delay: 4
        mysql:
            engine: INNODB
            low-priority-insert: true
    watched:
        environment:
            lava-flow: false
            leaf-decay: false
        player:
            drop-item: false
            ip-player: true
            disconnect: true
            login: true
            pickup-item: false
            teleport: true
        explosions:
            tnt: true
            creeper: true
            misc: true
        chat:
            commands: true
            chat: true
        blocks:
            chest-changes: true
            block-place: true
            block-break: true
        misc:
            flint-logging: true
            door-open: false
            lever-switch: false
            button-press: false
    
    Go ahead and change the age to whatever you'd like I would recommend 30d if you want to store if for a long time, otherwise 9d :) Cleanser age

    k so bump....I need help :(

    OMG MY SERVER IS BEING SO GRIEFED COME ON

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

    erdrickk

    Fast MySQL database question that I hope someone here can help me with. Long story short my MC Host sucks at MySQL database setups - he got me one working for a week then it took a shit and he can't get it working

    ANYWAYS - I realized I have 25 MySQL databases with Godaddy.com - my Website host.

    Can I use one of these? the database doesn't have to be local does it? if I use it do I need to enter the host name with an jdbc:mysql://localhost:3306/minecraft or just enter the host name as is? I noticed that different plugins handle this differently like MonsterHunt - that one uses an jdbc:mysql://localhost:3306/minecraft as the host name and then you have to paste your address on to the end of that

    Sorry for the retarded question

    Edit: Nevermind - I got it to work!!!
     
  16. Offline

    haeclark

    thanks! I noticed some other things were slightly different from my code and the one you posted there, so that was helpful too ^_^

    agreed with:


    As Ive had people using my server comment they (we) cant read whats at the top.

    Also, agree with Shawn (As my 'mowlawn' also is not working and just gives the in game error for not knowing what the command means, and to reference help):







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

    DoomBunnyPwn

    Do I have to install any h2 stuff?
     
  18. Offline

    luckyslayer92

    Just got my own linux server today running latest ubuntu.

    Now i a huge linux noob, but i got everything working EXCEPT the mysql/big brother part...

    I completely followed the wiki instructions, but big brother still manages to give a dababase error spam on startup.

    These are the instructions that i followed...

    1. First, you need to install the relevant package.
    2. Next, use `mysqladmin -u root password NEW_STRONG_PASSWORD`. It is recommended to use a good, long, strong password. THIS IS YOUR ADMINISTRATIVE ACCOUNT, DO NOT USE IT FOR BIGBROTHER OR ANY OTHER PROGRAM.
    3. We'll now create a database called minecraft, and afterwards add a user called minecraft just for the Minecraft server and allow it full privileges on the minecraft database.
      $ mysql -u root -p mysql> CREATE DATABASE minecraft; mysql> CREATE USER 'minecraft'@'%' IDENTIFIED BY '**PASSWORD HERE**'; mysql> GRANT ALL PRIVILEGES ON minecraft.* TO 'minecraft'@'%'; mysql> quit
    4. You may now set up BigBrother with the minecraft username and password you specified.

    mysql accepted all the commands and seemed to work right, but as soon as i start my server i get the "BigBrother database bla bla spam" error...

    Please help and don't flame me for being a moron at this stuff. :)
     
  19. Offline

    danielisacrab

    Nope. It'll automatically do everything on the first run of the plugin.


    to verify, you did change the username, password and 'type' in the config to 'minecraft', '**PASSWORD HERE**' and mysql, respectively ?
     
  20. Offline

    Shay Williams

    This needs an update for build #928.
     
  21. Offline

    Ratchet

    /bb rollback name t:700m r:10
    was causing my server to restart with this error:
    Code:
    2011-06-24 00:32:33 [INFO] [BBROTHER] action IN('0','1','4','12','2','13','15','16','17','19','20')
    2011-06-24 00:32:33 [INFO] [BBROTHER] action IN('0','1','4','12','2','13','15','16','17','19','20')
    2011-06-24 00:32:35 [INFO] [BBROTHER] action IN('0','1','4','12','2','13','15','16','17','19','20')
    2011-06-24 00:32:35 [WARNING] [BBROTHER] Caught exception when rolling back a DELTA_CHEST
    java.lang.NumberFormatException: Value out of range. Value:"220" Radix:10
        at java.lang.Byte.parseByte(Unknown Source)
        at java.lang.Byte.valueOf(Unknown Source)
        at java.lang.Byte.valueOf(Unknown Source)
        at me.taylorkelly.bigbrother.datablock.DeltaChest$DeltaEntry.<init>(DeltaChest.java:124)
        at me.taylorkelly.bigbrother.datablock.DeltaChest.processDeltaStream(DeltaChest.java:74)
        at me.taylorkelly.bigbrother.datablock.DeltaChest.do_NewRollback(DeltaChest.java:274)
        at me.taylorkelly.bigbrother.datablock.DeltaChest.rollback(DeltaChest.java:265)
        at me.taylorkelly.bigbrother.rollback.Rollback$RollbackByTick.run(Rollback.java:236)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:138)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:386)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-24 00:32:35 [WARNING] [BBROTHER] Caught exception when rolling back a DELTA_CHEST
    java.lang.NumberFormatException: Value out of range. Value:"220" Radix:10
        at java.lang.Byte.parseByte(Unknown Source)
        at java.lang.Byte.valueOf(Unknown Source)
        at java.lang.Byte.valueOf(Unknown Source)
        at me.taylorkelly.bigbrother.datablock.DeltaChest$DeltaEntry.<init>(DeltaChest.java:124)
        at me.taylorkelly.bigbrother.datablock.DeltaChest.processDeltaStream(DeltaChest.java:74)
        at me.taylorkelly.bigbrother.datablock.DeltaChest.do_NewRollback(DeltaChest.java:274)
        at me.taylorkelly.bigbrother.datablock.DeltaChest.rollback(DeltaChest.java:265)
        at me.taylorkelly.bigbrother.rollback.Rollback$RollbackByTick.run(Rollback.java:236)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:138)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:386)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-24 00:32:35 [INFO] <*Console*>: Server is restarting. World is being saved.
     
  22. Offline

    quickclay

    That's just standard database maintenance to keep the datafile from getting too large. It's deleting records older than 3 days by default, though you can change that to whatever you want.
     
  23. Offline

    N3X15

    Big Brother 1.8 #552 (Smoke tested for 928 with no real errors running H2)
    • WEB SUPPORT:
      • Jenkins moved to a more powerful server with a faster connection.
    • BUG FIXES:
      • Database initialization streamlined in an attempt to allow database drivers to download prior to connecting to the DB.
      • Rollback errors on H2 fixed (REQUIRES DATABASE REBUILD, DELETE BIGBROTHER.H2.DB)
      • Fix BB-49 (CREATE INDEX... failures on H2)
      • Update DeltaChest to support 1.6.6 item types.
    • TESTING:
      • 3 new automated tests added to test table creation on H2. This found a few things.
    • DOCUMENTATION:
      • All documentation is being moved to a real wiki.
     
    quickclay likes this.
  24. Offline

    ArmEagle

    Thank you for the update.

    People reported BigBrother causing issues with Permissions 3. Any idea whether that has been resolved with this update, or hasn't been an issue for a while now?
     
  25. Offline

    L0rdLogan

    If i may make a suggestion, could you please try and add rollback so they work if you use WorldEdit on something you didn't want to do?.

    e.g my friend got rid of a massive tree and he wants it back, we can't roll him back to get it back

    when he does //undo, it says 'nothing leftto undo'

    so could you please make BB compatable with world edit, please?
     
  26. Offline

    quickclay

    Is the original post download link the correct one? (It still says #490)
     
  27. Offline

    Shay Williams

  28. Offline

    Butkicker

    Could someone besides
    @N3X15 check out my post on the bugtracker. It been marked as not a bug so should I post it on here?
     
  29. Offline

    N3X15

    The original post does link to 552 (the link is automatically updated, all that didn't update was the version number next to the link).

    Check the comments I left, I usually explain why I marked it as "Not a Bug".

    I need to make some serious database modifications and redo some parts of BigBrother so I can support BB add-ons.

    Big Brother works perfectly with Permissions 3, I am currently using Permissions 3.1.6.

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

    Butkicker

    I did check the comments. I added another on after I had a conversation with my host.

    @N3X15
    Ok so just had a converstation with the host of my server "I don't think I could possibly get better bandwidth between them, as they are on the same machine- everyone else is using MySQL with no issue." So just to be clear the data when someone breaks a block goes in bbdata right? is there an SQL file you are supposed to import into the database first?
    I wrote this two days ago and updated it yesterday

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

    luckyslayer92

    Yes i changed the config and set it all up, see i used to run my server off of my main windows machine and mysql/bb worked fine... but linux is giving my trouble with it.
     
Thread Status:
Not open for further replies.

Share This Page