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

    RugRats

    @N3X15
    If someone logs on to my server and destroys 3 thing sand I roll them back it says "action types" now does that mean those are the actions they made and if so someone did destroy 3 grass, I rolled them back and before I forget they were brand new to the server. It said like TNTeplosion CreeperExplosion SignEdit Disconnection Login? Under Action Types. Now I don't really think I understand it though.
     
  3. Offline

    N3X15

    /bb log has always operated like this! All I did was get rid of /bb stick because hitting something with the log does the exact same thing as hitting something with the stick.

    Also, it looks like DeltaChest's ID got swapped with Command's in your database...

    No, those are the action types it's rolling back, whether the player actually did them or not.

    Find the name of the Action you want to disable (they're listed during startup; Commands would be Command, IPs would be Login). Then, add it to the general.disabled-actions list.
     
    pomo4ka likes this.
  4. Offline

    RugRats

    Okay thank you now I understand that all a whole lot better now with the new /bb log can you make it give you a log like the old days?
     
  5. Offline

    Jobsti

    No problems, works great with #1000. Thanks @N3X15

    But I miss the old log too. (Give a log (or configurable item, I want bedrock) on /bb log)
     
  6. Offline

    Deatlev

    No commands are recognized it just tells me to type /bb help but when I do that it says the same...
     
  7. Offline

    RazorFlint

    Hmmm I thought /bb watch Player Showed what they do live...
    :(
     
  8. Offline

    Syrena

    i cant download getting a manifest error
     
  9. Offline

    Jadedwolf

    Okay so beside the issue of not being able to use /bb history
    Some users are randomly being watched and unwatched, and thus some of there action are not being recorded.
    I check the /watched list and yep a couple people keep randomly getting unwatched, I checked all logs, no one with the ability to unwatch someone did anything. This issue needs fixing or i'm afraid I will have to downgrade my version to 1.9.
    Also, yes auto watch in the config is set to true.
     
  10. Offline

    Deatlev

    No commands are recognized it just tells me to type /bb help but when I do that it says the same... Using BB 1.10.1 an CB 1000
     
  11. Offline

    Zixt

    Is there a way to stop a specific command, or commands in general, being logged? I use AuthMe and my half-mod rank can see users passwords by using the BB log on the spot where they logged in and can see them logging in as it shows the command they entered.
     
  12. Offline

    Moredice

    adding to my previous post, I'd like to say that when I perform /bb here, BigBrother no longer separates between whether something was placed or removed, just that something got changed - this is very messy, I liked the previous listing where it was so much easier to read out directly if something was placed or broken

    I've not found a way to go further into detail about what a player changed precisely in a given location
     
  13. Offline

    Rowtag

    Can i Download the old BB? Anyone got a link? Cause the new one has major bugs and i think it need time to fix these. Thanks

    Best,

    Row
     
  14. Offline

    Plutoniumus

    Hello,

    I have a problem.

    I use BB 1.10.1.

    When I made / bb stick 1 or 2 server me dismissal a message of the type:

    /bb stick is no longer used. Please use /bb log


    It has been one day since it is to install

    What's to be done?
    Thanks
     
  15. Offline

    Frogging101

    I'm getting the same issue. Actions just randomly fail to be recorded and upon further investigation, players aren't being watched anymore.
     
  16. Offline

    Liger_XT5

    Hey, thought I'd say I love your plugin! But there is something, not MAJOR, just that I think you misspelled grieffers in the title of the thread, I thought there was an "e" in it. lol

    Keep up the great work!
     
  17. Offline

    DooBLER

    I have not turned off the HeartBeat but my db connection was closed.

    I get 400MB of log like this:
    Code:
    2011-07-25 02:14:35 [SEVERE] [BBROTHER] Data Insert SQL Exception when sending blocks
    java.sql.BatchUpdateException: Communications link failure
    
    The last packet successfully received from the server was 6,027 milliseconds ago.  The last packet sent successfully to the server was 6 milliseconds ago.
        at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2018)
        at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1449)
        at me.taylorkelly.bigbrother.datasource.ActionSender.sendBlocksSQL(ActionSender.java:97)
        at me.taylorkelly.bigbrother.datasource.ActionSender.access$000(ActionSender.java:31)
        at me.taylorkelly.bigbrother.datasource.ActionSender$SendingTask.run(ActionSender.java:181)
        at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
        at java.lang.Thread.run(Thread.java:722)
    2011-07-25 02:14:35 [SEVERE] [BBROTHER] Possible cause of previous SQLException:
    2011-07-25 02:14:35 [WARNING] [BBROTHER] SQL send failed. Keeping data for later send.
    2011-07-25 02:14:41 [SEVERE] [BBROTHER] Data Insert SQL Exception when sending blocks
    com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed.Connection was implicitly closed by the driver.
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
        at com.mysql.jdbc.Util.getInstance(Util.java:382)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1013)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:987)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:982)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:927)
        at com.mysql.jdbc.ConnectionImpl.throwConnectionClosedException(ConnectionImpl.java:1213)
        at com.mysql.jdbc.ConnectionImpl.checkClosed(ConnectionImpl.java:1200)
        at com.mysql.jdbc.ConnectionImpl.prepareStatement(ConnectionImpl.java:4203)
        at com.mysql.jdbc.ConnectionImpl.prepareStatement(ConnectionImpl.java:4169)
        at me.taylorkelly.bigbrother.datasource.BBDB.prepare(BBDB.java:325)
        at me.taylorkelly.bigbrother.datasource.ActionSender.sendBlocksSQL(ActionSender.java:75)
        at me.taylorkelly.bigbrother.datasource.ActionSender.access$000(ActionSender.java:31)
        at me.taylorkelly.bigbrother.datasource.ActionSender$SendingTask.run(ActionSender.java:181)
        at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
        at java.lang.Thread.run(Thread.java:722)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    The last packet successfully received from the server was 6,027 milliseconds ago.  The last packet sent successfully to the server was 6 milliseconds ago.
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
        at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116)
        at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3082)
        at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2968)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3516)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
        at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2111)
        at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2407)
        at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:1972)
        at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1449)
        at me.taylorkelly.bigbrother.datasource.ActionSender.sendBlocksSQL(ActionSender.java:97)
        ... 4 more
    Caused by: java.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.
        at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:2529)
        at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2979)
        ... 14 more
    2011-07-25 02:14:41 [SEVERE] [BBROTHER] Possible cause of previous SQLException:
    2011-07-25 02:14:41 [WARNING] [BBROTHER] SQL send failed. Keeping data for later send.
    2011-07-25 02:14:47 [SEVERE] [BBROTHER] Data Insert SQL Exception when sending blocks
    com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed.Connection was implicitly closed by the driver.
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
        at com.mysql.jdbc.Util.getInstance(Util.java:382)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1013)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:987)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:982)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:927)
        at com.mysql.jdbc.ConnectionImpl.throwConnectionClosedException(ConnectionImpl.java:1213)
        at com.mysql.jdbc.ConnectionImpl.checkClosed(ConnectionImpl.java:1200)
        at com.mysql.jdbc.ConnectionImpl.prepareStatement(ConnectionImpl.java:4203)
        at com.mysql.jdbc.ConnectionImpl.prepareStatement(ConnectionImpl.java:4169)
        at me.taylorkelly.bigbrother.datasource.BBDB.prepare(BBDB.java:325)
        at me.taylorkelly.bigbrother.datasource.ActionSender.sendBlocksSQL(ActionSender.java:75)
        at me.taylorkelly.bigbrother.datasource.ActionSender.access$000(ActionSender.java:31)
        at me.taylorkelly.bigbrother.datasource.ActionSender$SendingTask.run(ActionSender.java:181)
        at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
        at java.lang.Thread.run(Thread.java:722)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    The last packet successfully received from the server was 6,027 milliseconds ago.  The last packet sent successfully to the server was 6 milliseconds ago.
    my settings:
    Code:
    general:
        excluded-blocks: []
        excluded-worlds:
        - world_nether
        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:
        - DoorOpen
        - ButtonPress
        - LeverSwitch
        - LeafDecay
        - DropItem
        - PickupItem
        - Flow
        - FlintAndSteel
        - CreeperExplosion
    database:
        type: MySQL
        port: 3306
        hostname: localhost
        database: --------
        prefix: ''
        username: -------
        password: ---------
        cleanser:
            age: 3d
            deletes-per-operation: 3000
        send-delay: 4
        mysql:
            engine: INNODB
            low-priority-insert: true
    What to do?
     
  18. Offline

    N3X15

    The problem was that people abused it to give themselves an unlimited supply of blocks. I can make it configurable, but it'll be disabled by default.

    The watchlist hasn't changed since 1.8, so you'd probably get the same behavior. Are you sure no one is using the /bb unwatch command?

    Server.log/BigBrother.yml, please.
     
    Jobsti likes this.
  19. Offline

    Frogging101

    As I reported above, I also am having the same problem. I can guarantee that nobody has touched the /bb unwatched command. I also have auto watch set to true in my config.
     
  20. Offline

    MiniKahn

    @N3X15:

    I make a video of a little Bug...


    Please fix it..

    CB 1000
    1.10.1 BB...
     
  21. Offline

    Moredice

    That one is old, and I must agree I'd like to see it fixed also
     
    Jobsti likes this.
  22. Offline

    killer8600

    how can i use the history log ?? i prefered when it was with the command /bb stick (0:1:2). It was really easy
     
  23. Offline

    Lookatmego

    dude quick question any way i can delete all the logs like onece a week so i dont lag server?

    Code:
    database:
        port: 3306
        username: ''
        prefix: ''
        hostname: ''
        cleanser:
            age: 7d
            deletes-per-operation: 20000
        type: H2
        password: ''
        database: ''
        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:
        - DoorOpen
        - ButtonPress
        - LeverSwitch
        - LeafDecay
        - DropItem
        - PickupItem
        - Login
        - ButtonPress
        - LeverSwitch
        - CreateSignText
        - LeafDecay
        - FlintAndSteel
        - CreeperExplosion
        - MiscExplosion
        - BlockBurn
        - Flow
        - DropItems
        - PickUpItems
        - SignDestroyed
        - heartbeat
        - blockpistoned
    
    thats my log and i disabled all those actions but they still load....why?wat can i do?also i gave my mods bb.admin.*

    but they still cant do comands can i get some help plz?thanks

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

    Moredice

    First, that's not your log, that's your config.

    Second, the actions will always load when the server starts, regardless whether they've been disabled or not. But they will not be logged in the game (DoorOpen is disabled in your config, if someone opens a door, BB will not log this) - that's the point of the disabled-actions list. The more you add here, the less serverload from BB, but also you won't log as much information either.

    Third, be sure to add the right amount of spaces in your permissions file for that permission node. And do not forget single quotation marks:
    Code:
        - 'bb.admin.*'
    
    Oh , and as a reply to your post above the one I quoted, there is no option to automatically delete individual files after some time - you have to do it manually. Just turn off individual logging if it's a big problem!
     
  25. Offline

    Lookatmego

    alright that all helped buttt im using groupmanager and i dont need the ' so wat do i do?
    EDIT: i also checked my config is same exact thing but big brother still logs lever switch,buttons,chat,commands and everything i disabled
     
  26. Offline

    walruscode

    After talking with someone who is experienced with MySQL, I've come to the conclusion that what is now stored in the 'bbdata' table should be split into multiple tables, separated by the chunk that the blocks that edits were recorded on belong to. This would greatly help to reduce query time on servers like mine, whose 'bbdata' table gets populated with half a gigabyte (538.2 MB) of records in no time. Right now, query time take around 5-7 seconds because there's ~3,416,761 records in 'bbdata'. Arranging the database like this would definitely cut down query time:

    Tables: 'bbchunk_16,16', 'bbchunk_16,32', 'bbchunk_16,48', 'bbchunk_32,0'

    This would lower the amount of irrelevant rows MySQL has to sift through, increasing query time.

    Sorry if some of my post makes little sense. I had to rewrite it 3 times because Chrome kept crashing. I don't like redoing things...
     
  27. Offline

    chelben9

    is there any way to make it so i dont have to destroy the block then place it where i destoyed it
     
  28. Offline

    kotpx3

    Is there a way to make bigbrother create log files when you do /bb history player? I get a lot of spam and the pages don't seem to work. It would be great if someone told me how to view bb history if its multiple pages.
     
  29. Offline

    Jadedwolf

    @N3X15
    I can give you a server startup log and info when I was using that version of 1.10.1, also I'm using 1.8 as it's the only version I could find and use and the unwatched issues went away. =/
    1.10.1 server.log: http://pastebin.com/xk9TeUXb
     
  30. Offline

    DieselFaka

    i can't use /bb stick (((( why?

    /bb stick is no longer used. Please use /bb log
     
  31. Offline

    Pr4w

    I have to admit I was a bit surprised as well, but it doesn't change that much in the end, just type /bb log and read the instructions.

    Working flawlessly on #1000, very fast and very efficient, thanks a lot :D
     
Thread Status:
Not open for further replies.

Share This Page