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 nexis@7chan.org 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

    Whysopro

    I'm guessing my database settings are fucking up, but since I'm not the main hoster of this server, but just an admin with the ability to update the plugins and files, is there any way for me to fix this without having to dig into MySQL?

    Code:
    2011-04-21 06:34:38 [SEVERE] [BBROTHER] Error getting a connection. Make sure your database
    settings are correct!
    java.sql.SQLException: Access denied for user 'minecraft'@'localhost' (using password: NO)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:931)
        at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4031)
        at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1296)
        at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2338)
        at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2371)
        at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2163)
        at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794)
        at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
        at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:378)
        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)
        at java.sql.DriverManager.getConnection(Unknown Source)
        at java.sql.DriverManager.getConnection(Unknown Source)
        at me.taylorkelly.bigbrother.datasource.ConnectionService.getConnection(ConnectionService.java:77)
        at me.taylorkelly.bigbrother.datasource.JDCConnectionDriver.connect(JDCConnectionDriver.java:54)
        at java.sql.DriverManager.getConnection(Unknown Source)
        at java.sql.DriverManager.getConnection(Unknown Source)
        at me.taylorkelly.bigbrother.datasource.ConnectionManager.createConnection(ConnectionManager.java:75)
        at me.taylorkelly.bigbrother.datasource.ConnectionManager.getFirstConnection(ConnectionManager.java:157)
        at me.taylorkelly.bigbrother.BigBrother.onEnable(BigBrother.java:132)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:584)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:115)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:93)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    2011-04-21 06:34:38 [SEVERE] [BBROTHER] Could not establish SQL connection. Disabling BigBrother
     
  3. Offline

    lycano

    @Whysopro: No. Hopefully the password has changed and some funny guy didn't tell you.
     
  4. Offline

    Whysopro

    Probably, But when I tried changing the ''Password'' field in the BigBrother.yml in the plugins/bigbrother directory, and I put in the old pass between the '', like
    , It still said
    In the server log. So maybe I am entering the MySQL password in the wrong place or so?
     
  5. Offline

    lycano

    @Whysopro: Meehh .. sry didn't saw the "using password: no" line ;) thanks for highligthing it :3

    Using password means that there was no password send. are you shure the format is like 'yourpasswordhere' and no tabs used?

    What bukkit build do you use?
     
  6. Offline

    Whysopro

    Using build 689 atm, the current BigBrother.yml looks like this, but still it somehow doesn't recognise it.

    Code:
    general:
        rollbacks-per-tick: 2000
        personal-log-files: false
        auto-watch: true
        debug-mode: false
        default-search-radius: 2
        restore-fire: false
        stick-item: 280
        library-autodownload: true
        excluded-blocks: []
        tnt-threshold: 10.0
    database:
        cleanse-age: 3d
        deletes-per-cleansing: '20000'
        max-records: '3000000'
        type: MYSQL
        send-delay: 4
        mysql:
            port: 3306
            username: minecraft
            engine: MyISAM
            prefix: ''
            low-priority-insert: true
            hostname: localhost
            password: 'PASSWORDHERE'
            database: minecraft
     
  7. Offline

    ppingos

    I'm using Bukkit #689, and BB 1.8-SNAPSHOT. It does not log players in SeenPlayers.txt
    Is this a BB problem, or a compatibility error with the new build that will be fixed?
     
  8. Offline

    Nate204

    I think I'm going to sit the 1.5 update out until they have a recommended build~ Anyone else doing the same? BB + Errors = too much. lol =) Can't wait for it though! Keep it up @N3X15
     
  9. Offline

    lycano

    Jepp that would be the best. Waiting until next CB RB is released or you'll end up in patching every time a new build comes out =)
     
  10. Offline

    N3X15

    Okay, finals are pretty much over with except for a test on Saturday, so back to work. (Was going to post this last night, but I was exhausted from lack of sleep).

    I do not receive this error on my version. Please redownload from Jenkins.

    SeenPlayers isn't used any more, they're all stored in the database in the bbusers table.

    Logging's been changed to provide more information on these errors. Please redownload and re-report the error.
     
  11. Offline

    findyourexit

    I must be overlooking something, but I get the following when starting the server using BigBrother b345 with CraftBukkit b705:

    Code:
    13:38:32 [INFO] [BBROTHER] Updating tables for 1.8
    13:51:02 [SEVERE] java.net.SocketTimeoutException: Read timed out
    13:51:02 [SEVERE]       at java.net.SocketInputStream.socketRead0(Native Method)
    13:51:02 [SEVERE]       at java.net.SocketInputStream.read(SocketInputStream.java:146)
    13:51:02 [SEVERE]       at java.net.SocketInputStream.read(SocketInputStream.java:199)
    13:51:02 [SEVERE]       at java.io.FilterInputStream.read(FilterInputStream.java:83)
    13:51:02 [SEVERE]       at net.minecraft.server.Packet.a(SourceFile:132)
    13:51:02 [SEVERE]       at net.minecraft.server.NetworkManager.f(NetworkManager.java:127)
    13:51:02 [SEVERE]       at net.minecraft.server.NetworkManager.c(NetworkManager.java:226)
    13:51:02 [SEVERE]       at net.minecraft.server.NetworkReaderThread.run(SourceFile:69)
    13:51:06 [SEVERE] java.net.SocketTimeoutException: Read timed out
    13:51:06 [SEVERE]       at java.net.SocketInputStream.socketRead0(Native Method)
    13:51:06 [SEVERE]       at java.net.SocketInputStream.read(SocketInputStream.java:146)
    13:51:06 [SEVERE]       at java.net.SocketInputStream.read(SocketInputStream.java:199)
    13:51:06 [SEVERE]       at java.io.FilterInputStream.read(FilterInputStream.java:83)
    13:51:06 [SEVERE]       at net.minecraft.server.Packet.a(SourceFile:132)
    13:51:06 [SEVERE]       at net.minecraft.server.NetworkManager.f(NetworkManager.java:127)
    13:51:06 [SEVERE]       at net.minecraft.server.NetworkManager.c(NetworkManager.java:226)
    13:51:06 [SEVERE]       at net.minecraft.server.NetworkReaderThread.run(SourceFile:69)
    
    Might just jump back to a prior build if I can't work it out :/
     
  12. Offline

    N3X15

    705 isn't a Recommended Build. I'm only dealing with Recommended Builds at the moment.
     
  13. Offline

    flerndip

    The database update to 1.8 failed because player 'Environment' had too many something... How do I delete the database in order to start over from the start of your instructions?

    Also when I try to use the command specified during server startup to convert to the ISAM engine, I get an error stating that no database is selected.

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

    wassilij

    Work with Bukkit#689, thx :)
     
  15. Offline

    findyourexit

    haha sorry about that, all good now, was just testing regardless :D
     
  16. Offline

    wassilij

    And work with Bukkit#707 thx
     
  17. Offline

    Sicarius75

    are there going to me a funktion such as registr who openden a door ? that would be nice!
     
  18. Offline

    wassilij

    It logs who opened a door, look config.
     
  19. Offline

    chandler

    :mad::mad::mad::mad::mad:WHAT!!! IT DOSE NOT WORK!!
    it has made all the mysql table but then it does not add any data??????
    some one please help!!!
     
  20. Offline

    N3X15

    Ugh, sleep for 6 hours, wake up to a new page... *Grumbles*

    Topic updated so I top getting requests like this :|

    You need to enable it in your config, and THAT requires CB to support opening doors. Last time I checked, it was buggy, but afaik, it might be fixed.

    Don't panic. Do you get any messages in your server log? Did you set up MySQL in BigBrother.yml?

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

    Nathan C

    Seems to be working fine on the latest build. It may not track some things like doors yet, because of the updates, but who cares! The majority of it works :D

    #706
     
  22. Offline

    andrewkm

    Im still on [344] jeez all the other higher builds LAG MONSTER!
    [344] is great! , but beyond that (Well only just tried [350] and [351] HUGE LAG!
    Back to [344] lol i cant handle the other ones and neither can anyone on the server.... please fix lag issues in new builds :(
     
  23. Offline

    halofreak506

    [350] and [351]? You might want to recheck the recommended builds page, the latest one right now for bukkit is [684]. You can find it here http://forums.bukkit.org/threads/introducing-recommended-builds.5137/
     
  24. Offline

    andrewkm

    Im talking about the big brother builds.... lol
    How would i be using big brother 1.8 [344] on CB [344] ... ?
    Where did i say im running [300~] of CB lol, this is the bigbrother thread bud.
     
  25. Offline

    halofreak506

    *face-palm*, didn't notice those numbers in the change log lol. I'm assuming your server has a good amount of RAM to run on as well? BB takes up about 60Mb of RAM at the start while running on my server.
     
  26. Offline

    andrewkm

    I have 8GB of dedicated ram on my server.
    Im running [684] + [344] at the moment.
    When i do [684] + [350+] it lags insanely...
    However will update on my situation soon after testing 700+ *CB*
     
  27. Offline

    ScottSpittle

    on CB 711 and with any version of BB i get this when rolling back with radius


     
  28. Offline

    vein_mx

    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?
     
  29. Offline

    Xin_TiGeR

    does this work well with new craftbukkit builds updated to 1.5?
     
  30. Offline

    Donny

    I think people cant read the red writing because almost every post is asking what it answered.
     
  31. Offline

    chandler

    everyting works it has made the bbdata bbworld but it add not data to ant of the tables!

    i get this
    Code:
    18:53:20 [INFO] [BBROTHER] BBData MySQL Driver r1 loaded!
    18:53:20 [SEVERE] [BBROTHER] A permission plugin isn't loaded, only OPs can use commands
    18:53:20 [WARNING] [BBROTHER] 'Help' isn't detected. No /help support
    
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
Thread Status:
Not open for further replies.

Share This Page