BigBrother Maintenance Thread

Discussion in 'Plugin Development' started by N3X15, Feb 15, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    N3X15

    Since tkelly's off doing schoolwork (and I commend her for putting schoolwork ahead of vidya games), and since BigBrother's such an important plugin, I think it's time to start getting it working for the current Bukkit until she gets back.

    I've made a fork on Github with a few fixes (no Maven *.pom since I use eclipse) with, hopefully, a performance fix to eliminate the "freezing" when rolling back. (Also tossed in /bbs and /bbl as convenience commands to supplement /bb stick 1 and /bb stick 2 respectively.)

    I'd like to get some more experienced devs on this to help out, as this is pretty much my intro to writing Bukkit plugins and more eyes would help. (However, I'm no stranger to MC modding in general.)

    https://github.com/N3X15/BigBrother

    Please contact me if you want to contribute and I'll add you.
     
  2. ..so is rolling back fixed? I think everyone agrees this is absolutely essential. Is there a compiled .jar for us newbs to try out?

    Cheers to pushing this forward :)
     
  3. Offline

    nidefawl

  4. Offline

    anon

    tkelly is male *_*
     
  5. Offline

    Daveyo

    is she hot? Maybe we should rename it BigSister
    --- merged: Feb 16, 2011 4:44 PM ---
    This is a great thread, good job pulling together one of the best security addons to date
     
  6. Offline

    neromir

    Got an ETA on when multi-world support will be enabled? Right now I'm using an "unofficial" version on my server by _Oni_. Are you two collaborating or developing separate versions? Might be good to combine your efforts if that wouldn't be too much trouble.
     
  7. Offline

    N3X15

    I'm not entirely sure how to "enable" it yet, right now I'm just trying to see if I can rollback stuff, as that's most important. Once that's done, I'll see if I can add in multi-world.

    _Oni_ and I are doing completely seperate repositories, although it'd be great if we could collaborate.
     
  8. Offline

    arthoz

    Depending on the code (i havent seen it), multiworld could be real easy to add in, just have the table-name be same as world-name, with the current table "bbdata" count as "world" (when searching) for compability, would of course have to create tables as well tho, so maybe have settings for logged/watched worlds as well?
     
  9. Offline

    neromir

    I think _Oni_'s build currently is able to do rollbacks, so you might be able to get some pointers from his code if you want (https://github.com/OniTux/BigBrother). Anyway, not trying to pressure you or anything, just wanting this plugin to keep being as good as it has been or better. :)

    As to the multi-world support, alternatively, you could add a worldID column to the existing table. You can add columns to MySQL tables via SQL commands, so you could check for the presence of the worldID column and add it if necessary. I believe you can also specify the default value for existing rows for said new column, so you'd simply stick in the main world's ID.

    Not sure if the same technique would work with the SQLite databases-- they may require a more complicated "create new table with new column, then copy data" approach on first run after update.
     
  10. Offline

    N3X15

    I'll look into it.
     
  11. Offline

    _Oni_

  12. Offline

    Moo Master

    what bukkit version is it for?

    And i think rollbacks might not work because it doesn't have ON_Aquire? im no java master or watching what is updated with bukkit master but i think that might be a problem.
     
  13. Offline

    _Oni_

    The last version, normaly.
    I have test on last version, maybe too quickly, but I have no problem on this.
    I will check for rollback.

    EDIT : rollback is ok on my test server (#339)
    EDIT : It seems ok on a "real" server (#318)
     
  14. Offline

    Poinball

    Oni ! When i trie too use any command i have this message " Tsk. Tsk. Wrong command, Buddy. "

    Why :( ?? I need my /bb here !!
     
  15. Offline

    _Oni_

    Which version of craftbukkit?
    Can you put your BigBrother.properties here?
     
  16. Offline

    Poinball

  17. Offline

    Moo Master

    Rollbacks didn't work on my test server and i think i tried 339. Possibly because i'm not running MySQL and SQLLite?

    i doubt it but who knows, and also can i rollback myself or no?
     
  18. Offline

    silentdojo

  19. Offline

    _Oni_

    I need too see that.
    EDIT : How do you use /bb command? In chat or in CLI console?

    Maybe too big rollback... On my test server, I can rollback myself (this on SQLite too)...
    It's nothing about kick/ban on my last version, maybe a problem with mcbans
     
  20. Offline

    Poinball

    I use it like This : /bb here
    Or : /bb stick
    Every bb command give to me the message " Tsk. Tsk. Wrong command, Buddy. "
     
  21. Offline

    _Oni_

    If I'm not wrong, only player with good permission can use BB command.
    Check your permission (in Permission plug config and/or if you're op in server).
     
  22. Offline

    Poinball

    Its True .. The problem Was my permission Loll !!! Thx a lot dude
     
  23. Offline

    N3X15

    It appears that my branch works correctly now. Added a "feature" that also saves "stalled" SQL INSERTs to a tab-delimited CSV until it either reconnects, or the server reboots. On reboot, it reloads the stalled INSERTs into memory in an attempt to commit them.

    This should solve the problem where bukkit gets a memory leak from some other plugin and disconnects from the MySQL server after about 6 hours, leaving huge gaps of time where BigBrother has not logged block updates.
     
  24. Offline

    mrgreaper

    oni
    we postponed our server going public as bigbrother stoped working is your version working?
    we idealy want to change from sqlite to mysql is that possible on your version?
    does it auto clear old data? or a command to clear data?

    sorry for all the questions, bigbrother is a major core componnent ot our server
     
  25. Offline

    Afforess

    Going to be crazy here, but I'd love for a way to specify where BB puts it's SQLite database. My server is on a ramdisk, and I just don't have space there for 500mb of logs.
     
  26. Offline

    capsup

    N3X15, couldn't you compile a .jar for those of us who'd like to try your version? I tried to make one myself, but I got lost when it couldn't find the jdbc class. Do I have to import that one into the .jar too?
     
  27. Offline

    jlogsdon

    As a temporary solution you could just use a symlink to a new location. Why not just put the world folder on your ramdisk, though? No reason for the entire server to be there, really.
     
Thread Status:
Not open for further replies.

Share This Page