[INACTIVE][ADMN/SEC/WEB] DataLog - replaced by HawkEye [1000]

Discussion in 'Inactive/Unsupported Plugins' started by oliverw92, Apr 15, 2011.

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

    oliverw92

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)

    This post has been edited 11 times. It was last edited by oliverw92 Aug 16, 2011.
    Vaupell, Pinkpixels, Sleaker and 2 others like this.
  2.  
  3. Offline

    Juze

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Please test against latest RB (Currently 677) just to be sure.
  4. Offline

    oliverw92

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Done, 100% compatible
  5. Offline

    h0us3cat

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Can i view worldguard logs with this?
    Or wait it pushes the block breaks ect into the DB?
  6. Offline

    oliverw92

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I updated the op with a list of what it logs.
  7. Offline

    overlordror

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Ah man, this plugin looks amazing. I just wish my host offered PHP support. You said it is possible to use a MySQL database outside of the server, though? So I could set up a database on my own webhosting and run it from there?
  8. Offline

    h0us3cat

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    ok, i was thinking it reads the server.log :p

    edit, getting this error

    Code:
    "localhost", "dbDbase" => "log", "dbUser" => "log", "dbPass" => "mypassword", "dbTable" => "datalog" ); $con = mysql_connect($config["dbHost"], $config["dbUser"], $config["dbPass"]); if (!$con) die("Could not connect to MySQL Database!"); if (!mysql_select_db($config["dbDbase"], $con)) die(mysql_error()); ?>
    Notice: Undefined variable: config in C:\sites\index.php on line 10
    
    Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\sites\index.php on line 11
    
    Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\sites\index.php on line 11
    
    The server created the tables in the given database.
  9. Offline

    oliverw92

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    You can run it any way you like, the optimum way would be as follows though:
    - MySQL database on the same computer/server as the minecraft server - doesn't use much bandwidth and will be less laggy since its localhost
    - Interface hosted on a remote webserver, connecting to the database on the minecraft server computer

    You can use a remote database for the plugin if you want, but if you were to have a lot of players online it will start using a lot of bandwidth.

    The plugin is running fine, you have messed up the mysql.php file. Post the contents of it here, turning your host, user and password into *'s.
  10. Offline

    h0us3cat

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Code:
    <?
        $config = array(
                        "dbHost"  => "localhost",
                        "dbDbase" => "*",
                        "dbUser"  => "*",
                        "dbPass"  => "*",
                        "dbTable" => "datalog"
                        );
    
        $con = mysql_connect($config["dbHost"], $config["dbUser"], $config["dbPass"]);
        if (!$con)
            die("Could not connect to MySQL Database!");
        if (!mysql_select_db($config["dbDbase"], $con))
            die(mysql_error());
    
    ?>
  11. Offline

    oliverw92

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Everything looks fine. Try redownloading and uploading the interface again. Make sure all your MySQL details are correct in mysql.php
  12. Offline

    spunkiie

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Can't run it on #677

    2011-04-15 16:59:06 [SEVERE] null loading DataLog v0.1 (Is it up to date?)
    java.lang.NullPointerException
    at uk.co.oliwali.DataLog.DataLogDB.checkTable(DataLogDB.java:99)
    at uk.co.oliwali.DataLog.DataLogDB.<init>(DataLogDB.java:31)
    at uk.co.oliwali.DataLog.DataLog.onEnable(DataLog.java:48)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:578)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
    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)
  13. Offline

    h0us3cat

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    done but same error :(

    edit, ok i know the problem.

    I am on a windows server.
    windows have problems with just "<?blabla?> , i changed it to <?php blabla?> .
    now the error is gone :) :)
  14. Offline

    oliverw92

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)

    Please check above that error, there is most likely another error from DataLog itself saying something about a MySQL error.

    I'll note to add proper exception catching on that for the next release to make it more obvious.

    I'll try redoing mine to make sure i haven't done anything silly.
  15. Offline

    Jonathan Bloom

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Is it out of the question to ask for possible bigbrother integration? I don't want to have two databases doing the same thing.
  16. Offline

    h0us3cat

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    i fixed the error, see my edit.
    i made these changes in index.php too, just to let u know ;)
  17. Offline

    oliverw92

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I could do, might not have time this week though. I should note that this logs a LOT less frequently than bigbrother, and doesn't actually affect resources much at all - the databases aren't exactly the same. BigBrother logs a ton of stuff that you don't really want to read about in the browser (lava flow, leaf decay, tnt/creeper explosions). Whenever bigbrother logs an explosion it also has to log all the individual blocks that are destroyed, whereas datalog doesn't have to do anything like that. I doubt you will notice any increase in resources by installing DataLog alongside BigBrother - i have it running alongside LogBlock and it works perfectly.

    Ah! Thanks for the heads up, i'll fix that.

    EDIT: Done
  18. Offline

    Jonathan Bloom

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Ok good. Then I'm going to install this. :)
  19. Offline

    oliverw92

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Awesome, let me know how you get on!
  20. Offline

    renxwar

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Works amazingly. I don't know how to set up the webserver thing. BUT I have DSTrackLayer on my iPod :p
  21. Offline

    Phinary

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    So do I hook this up to the same database as logblock or a different database? like how does the integration with logblock work?
  22. Offline

    Phinary

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    also does the website have any sort of password protection or authentication? and 1 more thing. Please add a feature to make it so it doesnt show certain commands. I have a login system and i dont want it to show my moderators the passwords when they do /login or /register
  23. Offline

    jor956

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Please help me:
    Code:
    09:21:46 [INFO] [DataLog] Creating table datalog
    09:21:46 [SEVERE] [DataLog] SQL exception while checking datalog
    09:21:46 [INFO] [DataLog] Version 0.1 disabled!
    09:21:46 [SEVERE] Plugin attempted to register BLOCK_BREAK while not enabled log
    ding DataLog v0.1 (Is it up to date?)
    org.bukkit.plugin.IllegalPluginAccessException: Plugin attempted to register BLO
    CK_BREAK while not enabled
            at org.bukkit.plugin.SimplePluginManager.registerEvent(SimplePluginManag
    er.java:289)
            at uk.co.oliwali.DataLog.DataLog.onEnable(DataLog.java:52)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:578)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:216)
            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)
  24. Offline

    oliverw92

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    No it has its own database - it doesn't integrate with LogBlock. The reason I made this was because the LogBlock database isn't as efficient as I would like when making a web app to browse data.

    It is failing when trying to create the table. Has the MySQL user you are using with DataLog got permission to create tables?

    The website does not have password authentification at the moment. It is a planned feature. For now I suggest just setting up a simple .htaccess file if you want password protection - will do the job fine. I'll implement sessions soon.

    I can add a feature to stop logging certain commands.
  25. Offline

    Oscarius

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This is amazing, I've been looking for something like this forever!

    I'm looking forward to BigBrother integration, that would be sweet.
  26. Offline

    Jorrdan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Fantastic! Getting the good folks at go-networks to install this for me tonight! Also big brother integration should be made high. As a lot of servers use it.
  27. Offline

    h0us3cat

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This plugin works great <3
    Only one problem for me now is the log time is 1 hour wrong.
    For example the time is now on the server 12:04 and on the page it says 11:04.
    I know it has nothing to do with the plugin (i think).
    I had to disable automatic time change in windows settings.
  28. Offline

    Phinary

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Okay so excuse me if im wrong but this is a logblock replacement? And any way to transfer database?
  29. Offline

    Jorrdan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hmm. This plugin is giving me a hard time. It was working good for a few moments. Then all of a sudden it stopped updating. Then when i reload, it updates fine but all the other plugins break!! And another reload does not fix this. After a restart it continues to not update. Not sure what to do.
  30. Offline

    gamerpaddy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    it works! but you can read the AuthMe password with the option command pls fix this :))
    ..
    Code:
    2011-04-16 17:20:57    gamerpaddy    Command    33    70    -2    /login xxxx
  31. Offline

    Phinary

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Also: Any chance you can add logging of ips? This would be a big help.
Thread Status:
Not open for further replies.

Share This Page