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

    quickclay

    I still get the "H2 can't cleanse by # of records" console spam.. has anyone found a way to get rid of this?
    CB750, BB405
     
  3. Offline

    NotoriousPyro

    Guys if you want a good database solution then try to use MySQL over all else.
     
  4. Offline

    andrewkm

    yes mysql working perfect with 409 + 740

    try 409 + 740

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

    PUBLIC xEN3MYx

    When I reload it, it tells me" "[BBROTHER]: CONNECTION FAILURE. Please tell the op's to fix the connection and restart BigBrother. The ingame commands don't work either.
     
  6. Offline

    Tamewolf

    Same error, same with the second run.

    *Edit: And every time after that.*
     
  7. Offline

    N3X15

    I test with latest Permissions, CommandBook, WorldEdit. Paste your error log, I suspect something else is going on, because it's running fine on my production server.
     
  8. Offline

    MGNick

    I am getting the "Read Timed Out" error in my Terminal. As of right now it is non stop, happened all over night. Not sure what to do to even fix this, but this error has to be fixed asap. It is causing my server of 64 active players to go down to 4-5 players all from this error today.

    Plugins are: Bigbrother, world guard, world edit, essentials, permissions, iconomy + chest shop, craftbook, epicgates, mcmmo, and odditem. Currently running on bukkit 740, and all plugins have been updated.
     
  9. Offline

    NeoGriim

    Just curious, how do I make it read when people take stuff out of chests? I have lockette however I also have some chests I don't want to lock, such as the building material chest for my towny so that all members of my town can build.
     
  10. Offline

    Tim Andersen

    just installed bigbrother on my server. and it just destroyt all the permissions for all the plugins.
     
  11. Offline

    Lil_Lyon

    That makes no sense seeing as BB uses a separate permissions module; it uses permissions or the OP's of the server.

    Your doing something wrong
     
  12. Offline

    Johannes

    The 'Latest Snapshot' link is not working for me. It just opens a blank page and where nothing happens and no download starts. The status bar of my browser just says "Waiting for ci.nexisonline.net..."

    Could someone share the latest BB build in a dropbox or something?
     
  13. Offline

    Lanuk

    Sorry if this was mentioned somewhere before, but I was told I could somehow use BigBrother without MySQL? If this is true, how would I go about doing this? I read the wiki on how to install but I couldn't find an alternative method. The reason why I ask this is because I have just given up on MySQL. Either no one else knows what the heck it is or does either or people just don't feel like helping me... guides dont seem to help either as I can't understand them at all.

    Well, if there is a way to do this and if someone could help me, I would be more than happy. I have been trying to get this plugin for months. Literally.

    Same here D:

    Oh if you go here: https://github.com/N3X15/BigBrother/

    and click downloads, I think it gives you the latest Jar file. It downloaded correctly for me, not sure if its the right version though!

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

    Johannes

    Thanks! worked =)
     
  15. Offline

    Jack Bartlett

    What is #26? For logs and such
     
  16. Offline

    Lanuk

    I just downloaded BigBrother (went to the github thing and clicked downloads and then clicked bigbrother.jar) and it seemed to be working fine. I have cb740 and all my plugins are updated. I could see what blocks were placed by who, but when I tried testing rollbacks I got this error when doing this /bb rollback lanuk t:1m:

    Code:
    [SEVERE] [BBROTHER] Rollback edit SQL Exception: UPDATE  bbdata AS bbdata, bbusers AS usr SET rbacked = true WHERE  bbdata.player = usr.id AND action IN('0','1','4','12','2','13','15','16','17','19','20') AND usr.name IN ('Lanuk') AND date > '1304823457' AND rbacked = false;
    org.h2.jdbc.JdbcSQLException: Syntax error in SQL statement "UPDATE  BBDATA AS BBDATA,[*] BBUSERS AS USR SET RBACKED = TRUE WHERE  BBDATA.PLAYER = USR.ID AND ACTION IN('0','1','4','12','2','13','15','16','17','19','20') AND USR.NAME IN ('Lanuk') AND DATE > '1304823457' AND RBACKED = FALSE; "; expected "SET"; SQL statement:
    UPDATE  bbdata AS bbdata, bbusers AS usr SET rbacked = true WHERE  bbdata.player = usr.id AND action IN('0','1','4','12','2','13','15','16','17','19','20') AND usr.name IN ('Lanuk') AND date > '1304823457' AND rbacked = false; [42001-153]
        at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)
        at org.h2.message.DbException.get(DbException.java:167)
        at org.h2.message.DbException.getSyntaxError(DbException.java:192)
        at org.h2.command.Parser.read(Parser.java:2737)
        at org.h2.command.Parser.parseUpdate(Parser.java:658)
        at org.h2.command.Parser.parsePrepared(Parser.java:423)
        at org.h2.command.Parser.parse(Parser.java:275)
        at org.h2.command.Parser.parse(Parser.java:247)
        at org.h2.command.Parser.prepare(Parser.java:201)
        at org.h2.command.Parser.prepareCommand(Parser.java:214)
        at org.h2.engine.Session.prepareLocal(Session.java:426)
        at org.h2.engine.Session.prepareCommand(Session.java:374)
        at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1100)
        at org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:71)
        at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:243)
        at me.taylorkelly.bigbrother.rollback.Rollback$Rollbacker.run(Rollback.java:200)
    Even though I got this error, the rollback worked fine. All my work done in the past minute was erased.

    And yes, I just downloaded bb and started using it. I do not have mysql so I was hoping the plugin would just recognize this and use that h2 thing or whatever automatically (which I guess it did).

    Help would be appreciated, thanks!
     
  17. Offline

    racecar56

    The download link seems to be broken.
     
  18. Offline

    Fearlessagent

    Is there a way to inspect changes to a chest (items placed in and taken out) in game?
     
  19. Offline

    Lanuk

  20. Offline

    andrewkm

    Just to let everyone know im using all the latest.
    I usually test immediately as soon as he puts out a new build.
    AND IM HAVING PHENOMENAL SUCCESS with
    CB [762] + [427] + mysql !!!
    LINK [427]: http://ci.nexisonline.net:8080/job/BigBrother/427/
    Much faster, tested most features, bb sticks, rollbacks, and all that, everything working PERFECT it seems!
    Thank you so much!!!
    -
    -
    -
    CB[762] + BB[427] + mysql everyone! GIVE IT A GO :)
     
  21. Offline

    mantas7776

  22. Offline

    N3X15

  23. Offline

    mantas7776

    what u recommend using for me ?
     
  24. Offline

    N3X15

    MySQL, if possible.

    Committed a fix to hide the errors.
     
  25. Offline

    tinytiny123

    Where the hell is the download link...?!
     
  26. Offline

    Johannes

    Manners, please.
    Anyways, It wasn't working for a while, but it seems to be up again now. Just click 'Latest Snapshot' at the top of the opening post.
     
  27. Offline

    gamingvortex

    My version isnt creating the tables SEE ERROR
    Code:
    01:20:34 [INFO] [BBROTHER] ------------------------------------
    01:20:34 [INFO] [BBROTHER] Hello, and thank you for using the TESTING version of BigBrother!
    01:20:34 [INFO] [BBROTHER] Please note that, since this is far from complete, there will be many bugs.
    01:20:34 [INFO] [BBROTHER] IF YOU FIND ANY BUGS, PLEASE REPORT THEM ON http://bugs.nexisonline.net/bb
    01:20:34 [INFO] [BBROTHER] Please stay tuned in irc.esper.net #bigbrother for updates and build notifications.
    01:20:34 [INFO] [BBROTHER] ------------------------------------
    01:20:35 [INFO] [BBROTHER] Building `bbdata` table...
    01:20:35 [SEVERE] [BBROTHER] executeUpdate failed (CREATE TABLE IF NOT EXISTS `bbdata` (`id` INTEGER AUTO_INCREMENT PRIMARY KEY,`date` INT UNSIGNED NOT NULL DEFAULT '0',`player` INT UNSIGNED NOT NULL DEFAULT '0',`action` tinyint NOT NULL DEFAULT '0',`world` tinyint NOT NULL DEFAULT '0',`x` int NOT NULL DEFAULT '0',`y` tinyint UNSIGNED NOT NULL DEFAULT '0',`z` int NOT NULL DEFAULT '0',`type` smallint NOT NULL DEFAULT '0',`data` TEXT NOT NULL DEFAULT '',`rbacked` boolean NOT NULL DEFAULT '0');CREATE INDEX dateIndex on bbdata (date);CREATE INDEX playerIndex on bbdata (player);CREATE INDEX actionIndex on bbdata (action);CREATE INDEX worldIndex on bbdata (world);CREATE INDEX posIndex on bbdata (x,y,z);CREATE INDEX typeIndex on bbdata (type);CREATE INDEX rbackedIndex on bbdata (rbacked);):
    org.h2.jdbc.JdbcSQLException: Index "DATEINDEX" already exists; SQL statement:
    CREATE INDEX dateIndex on bbdata (date);CREATE INDEX playerIndex on bbdata (player);CREATE INDEX actionIndex on bbdata (action);CREATE INDEX worldIndex on bbdata (world);CREATE INDEX posIndex on bbdata (x,y,z);CREATE INDEX typeIndex on bbdata (type);CREATE INDEX rbackedIndex on bbdata (rbacked); [42111-153]
            at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)
            at org.h2.message.DbException.get(DbException.java:167)
            at org.h2.message.DbException.get(DbException.java:144)
            at org.h2.command.ddl.CreateIndex.update(CreateIndex.java:76)
            at org.h2.command.CommandContainer.update(CommandContainer.java:69)
            at org.h2.command.Command.executeUpdate(Command.java:212)
            at org.h2.command.CommandList.update(CommandList.java:41)
            at org.h2.command.CommandList.executeRemaining(CommandList.java:36)
            at org.h2.command.CommandList.update(CommandList.java:42)
            at org.h2.command.Command.executeUpdate(Command.java:212)
            at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:143)
            at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:129)
            at me.taylorkelly.bigbrother.datasource.BBDB.executeUpdate(BBDB.java:241)
            at me.taylorkelly.bigbrother.tablemgrs.DBTable.createTable(DBTable.java:35)
            at me.taylorkelly.bigbrother.tablemgrs.BBDataTable.<init>(BBDataTable.java:57)
            at me.taylorkelly.bigbrother.tablemgrs.BBDataH2.<init>(BBDataH2.java:13)
            at me.taylorkelly.bigbrother.tablemgrs.BBDataTable.getInstance(BBDataTable.java:47)
            at me.taylorkelly.bigbrother.BigBrother.onEnable(BigBrother.java:115)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:632)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    01:20:35 [INFO] [BBROTHER] BBData H2 Driver r1 loaded!
    01:20:35 [INFO] [BBROTHER] Building `bbworlds` table...
    01:20:35 [INFO] [BBROTHER] Building `bbusers` table...
    01:20:35 [SEVERE] [BBROTHER] executeUpdate failed (CREATE TABLE IF NOT EXISTS `bbusers` (`id` INT AUTO_INCREMENT PRIMARY KEY,`name` varchar(32) NOT NULL DEFAULT 'Player',`flags` INT NOT NULL DEFAULT '0');CREATE UNIQUE INDEX idxUsername ON `bbusers` (`name`)):
    org.h2.jdbc.JdbcSQLException: Index "IDXUSERNAME" already exists; SQL statement:
    CREATE TABLE IF NOT EXISTS `bbusers` (`id` INT AUTO_INCREMENT PRIMARY KEY,`name` varchar(32) NOT NULL DEFAULT 'Player',`flags` INT NOT NULL DEFAULT '0');CREATE UNIQUE INDEX idxUsername ON `bbusers` (`name`) [42111-153]
            at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)
            at org.h2.message.DbException.get(DbException.java:167)
            at org.h2.message.DbException.get(DbException.java:144)
            at org.h2.command.ddl.CreateIndex.update(CreateIndex.java:76)
            at org.h2.command.CommandContainer.update(CommandContainer.java:69)
            at org.h2.command.CommandList.executeRemaining(CommandList.java:36)
            at org.h2.command.CommandList.update(CommandList.java:42)
            at org.h2.command.Command.executeUpdate(Command.java:212)
            at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:143)
            at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:129)
            at me.taylorkelly.bigbrother.datasource.BBDB.executeUpdate(BBDB.java:241)
            at me.taylorkelly.bigbrother.tablemgrs.DBTable.createTable(DBTable.java:35)
            at me.taylorkelly.bigbrother.tablemgrs.BBUsersTable.<init>(BBUsersTable.java:67)
            at me.taylorkelly.bigbrother.tablemgrs.BBUsersH2.<init>(BBUsersH2.java:11)
            at me.taylorkelly.bigbrother.tablemgrs.BBUsersTable.getInstance(BBUsersTable.java:54)
            at me.taylorkelly.bigbrother.BBPlayerInfo.<init>(BBPlayerInfo.java:50)
            at me.taylorkelly.bigbrother.BigBrother.onEnable(BigBrother.java:117)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:632)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Can someone please help?
     
  28. Offline

    NeatMonster

    Everytime I get this error :

    Code:
    2011-05-08 09:49:56 [SEVERE] [BBROTHER] onPlayerPickupItem(org.bukkit.event.player.PlayerPickupItemEvent@89c15d)
    java.lang.NullPointerException
        at me.taylorkelly.bigbrother.datablock.PickupItem.<init>(PickupItem.java:12)
        at me.taylorkelly.bigbrother.listeners.BBPlayerListener.onPlayerPickupItem(BBPlayerListener.java:172)
        at org.bukkit.plugin.java.JavaPluginLoader$17.execute(JavaPluginLoader.java:302)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java: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:205)
        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:162)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:272)
        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:74)
        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)
     
  29. Offline

    N3X15

    My Jenkins server keeps going tits-up. I'm probably gonna move it back to Jetty so Nexus doesn't crash it when it does its usual 100%CPU infinite loops from hell.

    Redownload. BTW, that error won't cause problems, it's just damn annoying.
     
  30. Offline

    NeatMonster

    Can you help me please ?
     
  31. Offline

    Tadas159

    I get this error plese help me!
    Code:
    2011-05-08 15:44:50 [INFO] [BBROTHER] ------------------------------------
    2011-05-08 15:44:50 [INFO] [BBROTHER] Hello, and thank you for using the TESTING version of BigBrother!
    2011-05-08 15:44:50 [INFO] [BBROTHER] Please note that, since this is far from complete, there will be many bugs.
    2011-05-08 15:44:50 [INFO] [BBROTHER] IF YOU FIND ANY BUGS, PLEASE REPORT THEM ON http://bugs.nexisonline.net/bb
    2011-05-08 15:44:50 [INFO] [BBROTHER] Please stay tuned in irc.esper.net #bigbrother for updates and build notifications.
    2011-05-08 15:44:50 [INFO] [BBROTHER] ------------------------------------
    2011-05-08 15:44:52 [INFO] [BBROTHER] Building `bbdata` table...
    2011-05-08 15:44:52 [SEVERE] [BBROTHER] executeUpdate failed (CREATE TABLE IF NOT EXISTS `bbdata` (`id` INTEGER AUTO_INCREMENT PRIMARY KEY,`date` INT UNSIGNED NOT NULL DEFAULT '0',`player` INT UNSIGNED NOT NULL DEFAULT '0',`action` tinyint NOT NULL DEFAULT '0',`world` tinyint NOT NULL DEFAULT '0',`x` int NOT NULL DEFAULT '0',`y` tinyint UNSIGNED NOT NULL DEFAULT '0',`z` int NOT NULL DEFAULT '0',`type` smallint NOT NULL DEFAULT '0',`data` TEXT NOT NULL DEFAULT '',`rbacked` boolean NOT NULL DEFAULT '0');CREATE INDEX dateIndex on bbdata (date);CREATE INDEX playerIndex on bbdata (player);CREATE INDEX actionIndex on bbdata (action);CREATE INDEX worldIndex on bbdata (world);CREATE INDEX posIndex on bbdata (x,y,z);CREATE INDEX typeIndex on bbdata (type);CREATE INDEX rbackedIndex on bbdata (rbacked);):
    org.h2.jdbc.JdbcSQLException: Index "DATEINDEX" already exists; SQL statement:
    CREATE INDEX dateIndex on bbdata (date);CREATE INDEX playerIndex on bbdata (player);CREATE INDEX actionIndex on bbdata (action);CREATE INDEX worldIndex on bbdata (world);CREATE INDEX posIndex on bbdata (x,y,z);CREATE INDEX typeIndex on bbdata (type);CREATE INDEX rbackedIndex on bbdata (rbacked); [42111-153]
        at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)
        at org.h2.message.DbException.get(DbException.java:167)
        at org.h2.message.DbException.get(DbException.java:144)
        at org.h2.command.ddl.CreateIndex.update(CreateIndex.java:76)
        at org.h2.command.CommandContainer.update(CommandContainer.java:69)
        at org.h2.command.Command.executeUpdate(Command.java:212)
        at org.h2.command.CommandList.update(CommandList.java:41)
        at org.h2.command.CommandList.executeRemaining(CommandList.java:36)
        at org.h2.command.CommandList.update(CommandList.java:42)
        at org.h2.command.Command.executeUpdate(Command.java:212)
        at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:143)
        at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:129)
        at me.taylorkelly.bigbrother.datasource.BBDB.executeUpdate(BBDB.java:241)
        at me.taylorkelly.bigbrother.tablemgrs.DBTable.createTable(DBTable.java:35)
        at me.taylorkelly.bigbrother.tablemgrs.BBDataTable.<init>(BBDataTable.java:57)
        at me.taylorkelly.bigbrother.tablemgrs.BBDataH2.<init>(BBDataH2.java:13)
        at me.taylorkelly.bigbrother.tablemgrs.BBDataTable.getInstance(BBDataTable.java:47)
        at me.taylorkelly.bigbrother.BigBrother.onEnable(BigBrother.java:115)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:632)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-08 15:44:52 [INFO] [BBROTHER] BBData H2 Driver r1 loaded!
    2011-05-08 15:44:52 [INFO] [BBROTHER] Building `bbworlds` table...
    2011-05-08 15:44:52 [INFO] [BBROTHER] Building `bbusers` table...
    2011-05-08 15:44:52 [SEVERE] [BBROTHER] executeUpdate failed (CREATE TABLE IF NOT EXISTS `bbusers` (`id` INT AUTO_INCREMENT PRIMARY KEY,`name` varchar(32) NOT NULL DEFAULT 'Player',`flags` INT NOT NULL DEFAULT '0');CREATE UNIQUE INDEX idxUsername ON `bbusers` (`name`)):
    org.h2.jdbc.JdbcSQLException: Index "IDXUSERNAME" already exists; SQL statement:
    CREATE TABLE IF NOT EXISTS `bbusers` (`id` INT AUTO_INCREMENT PRIMARY KEY,`name` varchar(32) NOT NULL DEFAULT 'Player',`flags` INT NOT NULL DEFAULT '0');CREATE UNIQUE INDEX idxUsername ON `bbusers` (`name`) [42111-153]
        at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)
        at org.h2.message.DbException.get(DbException.java:167)
        at org.h2.message.DbException.get(DbException.java:144)
        at org.h2.command.ddl.CreateIndex.update(CreateIndex.java:76)
        at org.h2.command.CommandContainer.update(CommandContainer.java:69)
        at org.h2.command.CommandList.executeRemaining(CommandList.java:36)
        at org.h2.command.CommandList.update(CommandList.java:42)
        at org.h2.command.Command.executeUpdate(Command.java:212)
        at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:143)
        at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:129)
        at me.taylorkelly.bigbrother.datasource.BBDB.executeUpdate(BBDB.java:241)
        at me.taylorkelly.bigbrother.tablemgrs.DBTable.createTable(DBTable.java:35)
        at me.taylorkelly.bigbrother.tablemgrs.BBUsersTable.<init>(BBUsersTable.java:67)
        at me.taylorkelly.bigbrother.tablemgrs.BBUsersH2.<init>(BBUsersH2.java:11)
        at me.taylorkelly.bigbrother.tablemgrs.BBUsersTable.getInstance(BBUsersTable.java:54)
        at me.taylorkelly.bigbrother.BBPlayerInfo.<init>(BBPlayerInfo.java:50)
        at me.taylorkelly.bigbrother.BigBrother.onEnable(BigBrother.java:117)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:632)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-08 15:44:52 [INFO] [BBROTHER] Permissions enabled using: Permissions v2.7.2
    2011-05-08 15:44:52 [WARNING] [BBROTHER] 'Help' isn't detected. No /help support
    2011-05-08 15:44:52 [INFO] [BBROTHER] BigBrother 1.8-SNAPSHOT (build #429) enabled!
     
Thread Status:
Not open for further replies.

Share This Page