[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


    Vaupell, Pinkpixels, Sleaker and 2 others like this.
  2. Meh that's a shame, really like the new web interface as well. You did test with multiple worlds, perhaps it's related to that...
  3. Offline


    What do you mean test with multiple worlds? I have it running perfectly on a server with 8 unique worlds at the moment :)
  4. Offline

    The Wizard

    Please add:
    Log items a player takes/adds form chest.
    Log dropped items on player death (pvp and non pvp death, also log location of death).
    Log picked up items (also log location).

    After you rolled back you should be able to delete that data from database.

    Also I have this error when I use /dl rollback p:ro (my nick is ro_The_Wizard, same error if I type the full name)

    2011-06-21 00:28:38 [SEVERE] Exception in thread "Thread-6667"
    2011-06-21 00:28:38 [SEVERE] java.lang.NullPointerException
    2011-06-21 00:28:38 [SEVERE] at uk.co.oliwali.DataLog.database.SearchQuery.run(SearchQuery.java:112)

    Server version 902

  5. Offline


    Thanks for the suggestions and bug report. I have fixed the bug report, it will be in the next version. You can fix that issue temporarily by always supplying a rollback radius (just make it huge).

    Logging of chest transactions may take some time. Also logging what a player dropped when they died might not come in yet. I am definitely going to add non-pvp deaths in though. Death location is logged already btw.
  6. Ok, have you tried monitoring mysql in phpmyadmin or sql console? You may have the same issue, but not actually hitting your SQL connection limit due to less activity, or some other reason.
  7. Offline


    I found a couple of places where I wasn't properly closing connections (although my connection manager cleans them up after a short while anyway). I added in a max-connection property which will allow you to specific the size of the mysql connection pool. This should solve your problems.

    Version v1.1.1 [860]
    • Fixed NPE when searching without a radius
    • Added max-connection setting
    • Fixed a few issues with connections not being closed
    • No need to update interface

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


    I keep getting this message when I start my server, and I thought i correctly configured my config file... but I guess not.
    "[SEVERE] DataLog Error Initiating DataLog database connection, disabling plugin."
    I am not using an online database, nor do I want to.
    I checked the wiki, and there seemed to be nothing helpful to me there.
    Anyways, what am I doing wrong? Do I have to use an online database?
    Help is much appreciated.
  9. Offline


    There should be another error before that. I take it the MySQL server is on the same pc as your minecraft server?
  10. Offline


    Hmmm... There it is!
    Here is the full error:
    [SEVERE] [DataLog] Error whilst attempting to get connection: com.mysql
    .jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    (something about failed packets)
    [SEVERE] [DataLog] Error initiating DataLog database connection, disabl
    ing plugin

    I am starting to get the impression that this does not allow purely local logging....
    I do not have MySQL as far as I am aware. All I want is a simple plugin that logs certain activities in a log file of some kind... does this do that? lol sorry.
  11. Offline


  12. Offline


    Is there any way to stop displaying the public IP of the users joining?
  13. Offline


    I'll add a config option
  14. Running 1.1.1 now, so far no SQL issues.

    But getting these now sometimes:

    11:23:14 [SEVERE] Could not pass event PLAYER_INTERACT to DataLog
            at uk.co.oliwali.DataLog.listeners.DLPlayerListener.onPlayerInteract(DLPlayerListener.java:77)
            at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:306)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:167)
            at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:64)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:455)
            at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:223)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:431)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:341)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
  15. Offline


    Interesting, i'll look into it. Glad you aren't having any more SQL issues though
  16. Offline

    The Wizard

    Can you add an option to (re)name the mysql tables?
  17. Offline


    Is there a particular reason why? I can, but I would like to hear the reasons first
  18. Offline

    The Wizard

    I want to have all the tabels with mc_name in my minecraft database.
    And maybe some users are using 1 database for minecraft, forum, blog and is easy to see the tables if they have a prefix.

    edit: ThX
  19. Offline


    Fair enough, i'll add it in
  20. Offline


    I think the problem is me, cause I can't found anybody with my problem. (Or I need to learn how to search =P)

    I paste my error here.
    Show Spoiler
    2011-06-24 12:07:26 [INFO] [DataLog] Starting DataLog initiation process...
    2011-06-24 12:07:26 [INFO] [DataLog] Using Permissions for user permissions
    2011-06-24 12:07:27 [SEVERE] [DataLog] Error whilst attempting to get connection: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'minecraft'
    2011-06-24 12:07:27 [SEVERE] [DataLog] Error initiating DataLog database connection, disabling plugin
    2011-06-24 12:07:27 [INFO] [DataLog] Version 1.1.1 disabled!

    I really don't understand. Must I create my database?
    Must I just paste an empty Database?
    (I use the 1.1.1, bukkit 860 on Windows XP SP3)
    I use Wampserver, the interface folder is in wampserver/www/Datalog Interface

    Could you help me please?
    (And sorry if I make some English error^^)
  21. Offline


    You have to actually create a database first. The plugin has the ability to create tables, but not the database.
  22. Offline


    Huhu, thanks, I was sure I missed something XD
    It perfectly work!

    Thanks a lot and sorry for take your time for this kind of mistakes ;)
  23. Offline


    If someone sets something on fire, and it spreads. Will you be able to rollback, even those blocks that have been deleted due to the fire, with the plugin?
  24. Offline


    It should do, yes. I implemented the block burn action in the last update. I still need to experiment with how it works exactly though.
  25. Offline


    I cant seem to get this plugin working at all. I'm using bukkit build 860.
    Here is my error:

    2011-06-25 16:44:12 [INFO] [DataLog] Starting DataLog initiation process...
    2011-06-25 16:44:12 [INFO] [DataLog] Using Permissions for user permissions
    2011-06-25 16:44:33 [SEVERE] [DataLog] Error whilst attempting to get  connection: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:  Communications link failure
    The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
    2011-06-25 16:44:33 [SEVERE] [DataLog] Error initiating DataLog database connection, disabling plugin
    2011-06-25 16:44:33 [INFO] [DataLog] Version 1.1.1 disabled!
    I followed the wiki and make a MYSQL database using www.000webhost.com.
    Here is my config file with a fake password. http://pastebin.com/HBpUeWZL

    What am I doing wrong?

    Also, How come on the default config only the password field has an '' and the other fields don't?
  26. Offline


    Are you sure 000webhost allows external mysql connections? Where is your actual minecraft server hosted?

    The default for password is '' because a lot of people use WAMP which has the default password as nothing.
  27. Offline


    I assumed they allowed external mysql connections because it was mentioned on your wiki


    I'm using brohoster for my minecraft host but their SQL databases are sometimes buggy. I haven't been able to connect to my brohoster mysql database for a while.
  28. Offline


    The 000webhosting was in reference to hosting the interface, not the database itself.

    I really would not advise using an external database for datalog. It can work, but you would get much better performance if you used your bro-hoster one. Drop them a support ticket, they should be able to fix it.
  29. Offline


    Ok thanks!
  30. Offline


    Can I roll back in time, for example 10:00-11:00?
  31. Offline



    Time t: - time bracket to search in. Use one of the following formats:
        -> t:4w2d10h45m10s - searches back specified amount of time
        -> t:2011-06-02,10:45:10 - searches from specified date to current date
        -> t:2011-06-02,10:45:10,2011-07-04,18:15:00 - searches from first date to second
    pomo4ka likes this.
Thread Status:
Not open for further replies.

Share This Page