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

    cholo71796

    How does /bb update work?
     
  3. Offline

    panderiz

    Getting this at 'random' times. Haven't been able to replicate it so I am not sure what's causing it. I'm pretty sure though it's the something being passed along into a column with a limit of 500 and the data being 596 charactesr long.

    Code:
    16:56:46 [SEVERE] [BBROTHER] Possible cause of previous SQLException:
    org.h2.jdbc.JdbcSQLException: Value too long for column "DATA VARCHAR(500) DEFAULT '' NOT NULL SELECTIVITY 2": "'7b303a3236373a2b313a303a36363b313a3235363a2b313a303a303b323a3238303a2b313a303a303b333a3235363a2b313a303a3234313b343a3235363a2b3... (596)"; SQL statement:
    INSERT INTO bbdata (date, player, action, world, x, y, z, type, data, rbacked) VALUES (?,?,?,?,?,?,?,?,?,0) [90005-153]
            at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)
            at org.h2.message.DbException.get(DbException.java:167)
            at org.h2.table.Column.validateConvertUpdateSequence(Column.java:321)
            at org.h2.table.Table.validateConvertUpdateSequence(Table.java:671)
            at org.h2.command.dml.Insert.insertRows(Insert.java:122)
            at org.h2.command.dml.Insert.update(Insert.java:86)
            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.executeBatch(JdbcPreparedStatement.java:1092)
            at me.taylorkelly.bigbrother.datasource.DataBlockSender.sendBlocksSQL(DataBlockSender.java:85)
            at me.taylorkelly.bigbrother.datasource.DataBlockSender.access$000(DataBlockSender.java:25)
            at me.taylorkelly.bigbrother.datasource.DataBlockSender$SendingTask.run(DataBlockSender.java:224)
            at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:33)
            at java.lang.Thread.run(Thread.java:636)
    
     
  4. Offline

    Xin_TiGeR

    i read the red words, i just asking if anyone has tested on a 1.5 to see if it works..
     
  5. Offline

    jareq

    in future version could you enable rolling-back damages done by water ? (removing rails, red dust) ?
    Also, when will be 1.5 update ? :)))
     
  6. Offline

    Unscrewed

    Everything works but I still get this long-ass message when BB is loaded:

     
  7. Offline

    Rytharr

    I would also I to see water damage rollback.

    By reading the big red letters in OP I would guess a 1.5 update will be out after a RB of bukkit for 1.5 is out. Sorry if I sound like a dick but people asking developers to update for every bukkit build is very annoying.
     
  8. Offline

    vein_mx

    i posted this question above but no is answering so ill post again: is there a way to fix the /bb help menu so that there are actual pages instead of just displaying a bunch of help that i cant see?

    also, does this happen to anyone: i go somewhere and type /bb here. then it will say something like "16 players have modified this area: player1 (5)" this is really strange because it has never gotten the player count correct. From the activity on my server, i think the players that BB is listing out is indeed correct, it is just the counting that is completely off. If something like 7 players have edited an area, it will say that as 70+ players.
     
  9. Offline

    Jaspah

    I've had BigBrother installed on my server for a while now. Unfortunately, I actually had to use it for the first time not too long ago. I must say, this plugin is amazing -- the amount of features and the way it logs all actions occurring in the server is pretty sweet.

    Thanks for the plugin! Keep up the great work!
     
  10. Offline

    r011yp011y

    709 Now just kidding but 709 looks stable update for that please
     
  11. Offline

    tommy99

    i have a big problerm when i enter any command from big brother althoug /bb stick1 or /bb here nevermind what command i enter noone works!but big brother works fine because i dont get errors in the console /bb help is the only ccommand that work...when i type in /bb stick 1 nothing happends i get no error no message in the console and ingame nothing happens too
     
  12. Offline

    Donny

    you don't have permission
     
  13. Offline

    andrewkm

    Wait for RB
     
  14. Offline

    Delois

    Question, I am no code monkey, I know Brohoster just did massive mySQL fixup at the same time I reinstalled BB. It appears to be working fully, but I keep getting this error. Could someone who understands code let me know if it is a plugin issue or a Brohoster. I had it working previously, but now I wish to know if it was the them or the plugin. I know plugin will not be worked on till we have an RB, but if its the mySQL I can get onto that now ^^.
    Code:
    2011-04-24 11:26:15 [WARNING] [BBROTHER] SQL send failed. Keeping data for later send.
    2011-04-24 11:26:21 [SEVERE] [BBROTHER] Data Insert SQL Exception when sending blocks
    org.h2.jdbc.JdbcBatchUpdateException: Value too long for column "DATA VARCHAR(500) DEFAULT '' NOT NULL SELECTIVITY 3": "'7b303a3334373a2b36343a303a303b313a3334373a2b36343a303a303b323a3334373a2b36343a303a303b333a3334373a2b36343a303a303b393a3334373a2... (952)"; SQL statement:
    INSERT INTO bbdata (date, player, action, world, x, y, z, type, data, rbacked) VALUES (?,?,?,?,?,?,?,?,?,0) [90005-153]
        at org.h2.jdbc.JdbcPreparedStatement.executeBatch(JdbcPreparedStatement.java:1109)
        at me.taylorkelly.bigbrother.datasource.DataBlockSender.sendBlocksSQL(DataBlockSender.java:85)
        at me.taylorkelly.bigbrother.datasource.DataBlockSender.access$000(DataBlockSender.java:25)
        at me.taylorkelly.bigbrother.datasource.DataBlockSender$SendingTask.run(DataBlockSender.java:224)
        at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:33)
        at java.lang.Thread.run(Unknown Source)
    org.h2.jdbc.JdbcSQLException: Value too long for column "DATA VARCHAR(500) DEFAULT '' NOT NULL SELECTIVITY 3": "'7b303a3334373a2b36343a303a303b313a3334373a2b36343a303a303b323a3334373a2b36343a303a303b333a3334373a2b36343a303a303b393a3334373a2... (952)"; SQL statement:
    INSERT INTO bbdata (date, player, action, world, x, y, z, type, data, rbacked) VALUES (?,?,?,?,?,?,?,?,?,0) [90005-153]
        at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)
        at org.h2.message.DbException.get(DbException.java:167)
        at org.h2.table.Column.validateConvertUpdateSequence(Column.java:321)
        at org.h2.table.Table.validateConvertUpdateSequence(Table.java:671)
        at org.h2.command.dml.Insert.insertRows(Insert.java:122)
        at org.h2.command.dml.Insert.update(Insert.java:86)
        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.executeBatch(JdbcPreparedStatement.java:1092)
        at me.taylorkelly.bigbrother.datasource.DataBlockSender.sendBlocksSQL(DataBlockSender.java:85)
        at me.taylorkelly.bigbrother.datasource.DataBlockSender.access$000(DataBlockSender.java:25)
        at me.taylorkelly.bigbrother.datasource.DataBlockSender$SendingTask.run(DataBlockSender.java:224)
        at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:33)
        at java.lang.Thread.run(Unknown Source)
     
  15. Offline

    ScottSpittle

    ok on CB 714 if you dont specify when rolling back wiht time as to wheater its s, h, or m its ust says internal error.. would be nice to have a message saying please put s,h,m or d e.g t:20m NOT t:20
     
  16. Offline

    tommy99

    did you mean the plugin permission or the "permissions"??

    o have the plugin permissions insttalled and it works and iam admin with the '*' permissions or is big brother so configuared that i have to enter the permission codes to the amdin group?
     
  17. Offline

    SystexPro

    I get this error when droping and picking up items
    Code:
    11:59:02 [SEVERE] Could not pass event PLAYER_PICKUP_ITEM to BigBrother
    java.lang.NullPointerException
            at me.taylorkelly.bigbrother.datablock.PickupItem.<init>(PickupItem.java
    :12)
            at me.taylorkelly.bigbrother.listeners.BBPlayerListener.onPlayerPickupIt
    em(BBPlayerListener.java:138)
            at org.bukkit.plugin.java.JavaPluginLoader$17.execute(JavaPluginLoader.j
    ava:300)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:257)
            at net.minecraft.server.EntityItem.b(EntityItem.java:203)
            at net.minecraft.server.EntityHuman.i(EntityHuman.java:212)
            at net.minecraft.server.EntityHuman.u(EntityHuman.java:204)
            at net.minecraft.server.EntityPlayer.u(EntityPlayer.java:203)
            at net.minecraft.server.EntityLiving.p_(EntityLiving.java:231)
            at net.minecraft.server.EntityHuman.p_(EntityHuman.java:90)
            at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:160)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:266)
            at net.minecraft.server.Packet10Flying.a(SourceFile:126)
            at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:73)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    12:00:36 [SEVERE] Could not pass event PLAYER_DROP_ITEM to BigBrother
    java.lang.NullPointerException
            at me.taylorkelly.bigbrother.datablock.DropItem.<init>(DropItem.java:12)
    
            at me.taylorkelly.bigbrother.listeners.BBPlayerListener.onPlayerDropItem
    (BBPlayerListener.java:150)
            at org.bukkit.plugin.java.JavaPluginLoader$16.execute(JavaPluginLoader.j
    ava:294)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:257)
            at net.minecraft.server.EntityHuman.a(EntityHuman.java:287)
            at net.minecraft.server.EntityHuman.C(EntityHuman.java:246)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:374)
            at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
            at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:73)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
     
  18. Offline

    Delois

    I had a weird error with one of my staff once. When I got the plugin, it worked with all the Moderators except one. He was doing the command right and everything. For some reason it required us to promote him then demote him. Was very weird, but then it worked.
     
  19. Offline

    tommy99

    i have the plugin permissions and iam a admin with all rights on my server but i only can issue the command /bb help when i type in /bb stick nothing happends no eror no stick history
    but a few days ago it works and i already downlaod a "fresh" bigbrother.jar file nothigbn changed
     
  20. Offline

    N3X15

    Okay, new Recommended build now that I got some sleep and got our Jenkins server fixed.
    • Fixed rollbacks thanks to RandomDude
    And now for dinner :V
     
  21. Offline

    4am

    This has been an issue for several versions and it's a problem with BigBrother, not with CraftBukkit. I'll file a bug report.
     
  22. Offline

    vein_mx

    no one is answering me =[ do you guys not have the same problem?

    1. is there a way to fix the /bb help menu so that there are actual pages and does not get cut off?
    2. when I type /bb here, it will display "16 players have modified this area: player1 (5)". Only one player has actually edited the area, but the player count will 16. This also happens with more people editing, but the player count will get dramatically larger
     
  23. Offline

    krnel

    Hey just wanted to report an error with the latest build from last night 353, (was doing it before as well, [and also I get the block placement errors, but thats fine]), on CB714.

    Thanks!
     
  24. Offline

    ScottSpittle

    FFS this plugin never works.. jesus..


     
  25. Offline

    afmiller

  26. Offline

    Donny

    still getting the delta chest errors

    BB: #354

    Code:
    2011-04-25 08:11:06 [WARNING] [BBROTHER] Caught exception when rolling back a DELTA_CHEST
    java.lang.NumberFormatException: For input string: ""
        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
        at java.lang.Integer.parseInt(Integer.java:493)
        at java.lang.Integer.valueOf(Integer.java:570)
        at me.taylorkelly.bigbrother.datablock.DeltaChest$DeltaEntry.<init>(DeltaChest.java:95)
        at me.taylorkelly.bigbrother.datablock.DeltaChest.processDeltaStream(DeltaChest.java:70)
        at me.taylorkelly.bigbrother.datablock.DeltaChest.do_NewRollback(DeltaChest.java:265)
        at me.taylorkelly.bigbrother.datablock.DeltaChest.rollback(DeltaChest.java:257)
        at me.taylorkelly.bigbrother.rollback.Rollback$RollbackByTick.run(Rollback.java:241)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:128)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:358)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-04-25 08:11:06 [WARNING] [BBROTHER] Caught exception when rolling back a DELTA_CHEST
    java.lang.NumberFormatException: For input string: ""
        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
        at java.lang.Integer.parseInt(Integer.java:493)
        at java.lang.Integer.valueOf(Integer.java:570)
        at me.taylorkelly.bigbrother.datablock.DeltaChest$DeltaEntry.<init>(DeltaChest.java:95)
        at me.taylorkelly.bigbrother.datablock.DeltaChest.processDeltaStream(DeltaChest.java:70)
        at me.taylorkelly.bigbrother.datablock.DeltaChest.do_NewRollback(DeltaChest.java:265)
        at me.taylorkelly.bigbrother.datablock.DeltaChest.rollback(DeltaChest.java:257)
        at me.taylorkelly.bigbrother.rollback.Rollback$RollbackByTick.run(Rollback.java:241)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:128)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:358)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
     
  27. Offline

    dervonz

     
  28. Offline

    Michael314

    Use mysql.
     
  29. Offline

    Donny

    I just switched to h2 because i have so many problems with mysql... both have problems so your answer is useless
     
  30. Offline

    but2002

    H2 is going to lag when you get an extreme amount of rows (Which for our server, took about 4 days)
     
  31. well... for those of you who were following my evil mysql connection errors... i decided to completely uninstall mysql, and install it again... and now, it is working perfectly.....again :D
     
Thread Status:
Not open for further replies.

Share This Page