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

    Silicon

    @alonelydinosaur
    read your console when the server starting for an BB errors.
     
  3. Offline

    sleite

    Is there anyway to turn of the [INFO] updates for BigBrother? If not, please add an option for this. It's pointless (for me) to see it every 10 minutes all day every day. It also makes it harder to look for other things when backscrolling through the log-file. Much appreciated!
     
  4. Offline

    Luke.Handle

    I've done a reasonable amount of searching both through this thread and Google for my problem. Though I came accross results, none of the solutions (when they were given that is) worked. I accept I have most likely done something wrong, and I apologise if it is blindingly obvious, but I have never used mysql ever...


    What version of CraftBukkit and BigBrother?
    CB: 1000​
    BB: 1.10.1-SNAPSHOT​
    What database engine are you using?
    MySQL​
    Do you get any errors?
    Server log (only BB): http://pastebin.com/mJScWeCK
    BigBrother.yml: http://pastebin.com/WJUceTFt
    What steps do I have to take to reproduce this behavior?
    Start server = Logged errors in server log above​

    Other - CentOS 5.6 i386
    mysql-server-5.0.77-4.el5_6.6.i386


    I followed the instructions here http://wiki.nexisonline.net/wiki/BigBrother:Installing_MySQL
    I put these exact commands into mysql
    mysql -u root -p
    mysql> CREATE DATABASE minecraft;
    mysql> CREATE USER 'minecraft'@'%' IDENTIFIED BY 'PASSWORD';
    mysql> GRANT ALL PRIVILEGES ON minecraft.* TO 'minecraft'@'%';
    mysql> quit

    Once again. Thanks. I hope I have provided enough information to help resolve the issue.
     
  5. Offline

    sharkale

    same problem, and same config. b1000 h2 and 2 days of records.
     
  6. Offline

    Incendia

    Code:
    08:57:56 [SEVERE] [BBROTHER] executeQuery failed (SELECT id,name,flags FROM foc_bbusers WHERE `name`=?):
    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:530)
            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.executeQuery(BBDB.java:354)
            at me.taylorkelly.bigbrother.tablemgrs.BBUsersMySQL.getUserFromDB(BBUsersMySQL.java:53)
            at me.taylorkelly.bigbrother.tablemgrs.BBUsersTable.getUserByName(BBUsersTable.java:89)
            at me.taylorkelly.bigbrother.listeners.BBPlayerListener.onPlayerQuit(BBPlayerListener.java:95)
            at org.bukkit.plugin.java.JavaPluginLoader$2.execute(JavaPluginLoader.java:251)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
            at net.minecraft.server.ServerConfigurationManager.disconnect(ServerConfigurationManager.java:146)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:608)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:231)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    The last packet successfully received from the server was 1,299,982 milliseconds ago.  The last packet sent successfully to the server was 11 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:530)
            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.executeUpdate(PreparedStatement.java:2325)
            at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2310)
            at me.taylorkelly.bigbrother.datasource.BBDB.executeUpdate(BBDB.java:309)
            at me.taylorkelly.bigbrother.Cleanser$CleanupThread.cleanByAge(Cleanser.java:108)
            at me.taylorkelly.bigbrother.Cleanser$CleanupThread.run(Cleanser.java:100)
    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)
            ... 12 more
    08:57:56 [SEVERE] [BBROTHER] onPlayerQuit(org.bukkit.event.player.PlayerQuitEvent@74cae421)
    java.lang.NullPointerException
            at me.taylorkelly.bigbrother.tablemgrs.BBUsersMySQL.getUserFromDB(BBUsersMySQL.java:55)
            at me.taylorkelly.bigbrother.tablemgrs.BBUsersTable.getUserByName(BBUsersTable.java:89)
            at me.taylorkelly.bigbrother.listeners.BBPlayerListener.onPlayerQuit(BBPlayerListener.java:95)
            at org.bukkit.plugin.java.JavaPluginLoader$2.execute(JavaPluginLoader.java:251)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
            at net.minecraft.server.ServerConfigurationManager.disconnect(ServerConfigurationManager.java:146)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:608)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:231)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    I am getting *really* sick of this. I had no problems running logblock, and I would REALLY rather not have to go back to it
     
  7. Offline

    rustayne

    I got fed up dealing with BB and went with logblock instead. I have used BB for over 8 months in my admin time on another server, and now mine, and to be honest, there is just problems. According to my host, a good few of his clients are also suffering from similar issues. I hope and wish you dev's the best with BB, as it is a great tool, sadly it is just too broken for me to rely on when I need to.
     
  8. Offline

    ProjectInfinity

    Is it possible to turn off logging of chat events? We are not interested in using BB for chat logging.
     
  9. Offline

    but2002

    Code:
        # What actions are disabled on this server?
        # For a list, look at your server log.
        disabled-actions:
        - DoorOpen
        - ButtonPress
        - LeverSwitch
        - LeafDecay
        - DropItem
        - PickupItem
     
  10. Offline

    ProjectInfinity

    So I just add "Chat" to that?
     
  11. Offline

    50l3r

    i have the next problem:

    Code:
    18:21:40 [GRAVE] Another plugin is trying to enable Permissions manually. Don't
    do this! It's probably me.taylorkelly.bigbrother.BBPermissions
    I have this plugins:

    iconomy
    essentials with group manager...etc
    chestshop
    lwc
    antispawnkill
    authme
    big brother
    dynmap
    minequery
    mobileadmin
    ownblocks
    pvpannouncer
    world edit
     
  12. Offline

    Holylon

    Hey got a question:
    How long does BigBrother track the Blockchanges? So after how long does it removes the record?
     
  13. Offline

    dpakman

    Hi, I am running CB #1000 and 1.7.3 Minecraft Server. I installed BB 1.10.1-SNAPSHOT (build #648) last night for the first time. I created the MySQL database as instructed and got everything up and running easily. Things were working fine for the first hour or so and I tried out /bb log and liked what I saw.

    Then this morning I checked my MC logs to see thousands of [SEVERE] errors from BB and was unable to use /bb log (kept getting an error with that command). Mysql status shows more than 21,000 aborted connects but no errors in my Mysql log (and mysql is up and running fine serving other databases without issue). Links to my BB config and MC log below:

    mc server log: http://pastebin.com/NqU2JWap

    BigBrother.yml:


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

    Incendia

    Welcome to my world! There doesn't seem to be a fix other than switching to logblock. :|
     
  15. Offline

    iBstoneyDave

  16. Offline

    50l3r

    somebody can help me?
     
  17. Offline

    dpakman

    Thanks for the headsup. Didn't want to have to switch to LogBlock, but will do so if that is the only option...
     
  18. Offline

    tinez

    Hi,

    Please, can you add an option to limit the radius of the bb rollback command?
     
  19. Offline

    but2002

    ... there is.

    Example

    /bb rollback PlayerName/* r:{RADIUS NUMBER} t:{TIME}
     
  20. Offline

    tinez

    Sorry i forgot to precise "by default", when you don't specify a radius number!
     
  21. Offline

    N3X15

    I'm done developing BigBrother; Read the first post for why.
     
  22. :'( LogBlock it is then. BigBrother was awesome while it lasted.
     
  23. Offline

    but2002

    I'm very disappointed to hear this, as I used this plugin for more than it's intended purpose with the MySQL database. In fact, the chat logging feature is how I make 100% sure that when someone adds their minecraft to their forum account, it searches the chat log for a confirmation code.
     
  24. Offline

    moparisthebest

    Is there any way to get big brother to NOT log commands? I don't see a config option.
     
  25. Offline

    OllyHal

    Is there a way that I can rollback someone whos name has a space in it? For example how would I rollback -
    "John Smith"

    Thanks.
     
  26. Offline

    Sayshal

    /bb rollback 'John smith'
     
  27. Offline

    MathijsNL

    Still the most awesome plugin for my server. Would help you if I could program java :) and it still works fine for me despite the bugs you mentioned.
     
  28. Offline

    Techykid3

    Aww man! Well... I guess onto LogBlock. This was my favorite logging plugin :'(.
     
  29. Offline

    bigggan

    I really dont want to change to any other plugin....

    And I hope someone will pick this up.
     
  30. Offline

    OllyHal

    nope it won't work... rolling back names like John are okay but if there name has a space like 'John Smith' it will not work
     
  31. Offline

    but2002

    Yes it will. Use double quotes

    /bb rollback "Name Space" r:30 t:1m
     
Thread Status:
Not open for further replies.

Share This Page