[ADMN/SEC/WEB] HawkEye [BukkitDev]

Discussion in 'Archived: Plugin Releases' started by oliverw92, Aug 15, 2011.

  1. Offline

    oliverw92

    sethgandy, phimt, matan7890 and 7 others like this.
  2. Offline

    RazorFlint

    Cool, I'll try this tomorow when they update their Craftbukkit Jar.
     
  3. Offline

    Cosmic Break

    ill try it on my test server.

    ill report back later

    seems its incompatible with , 1060, thats a shame. its what my test server runs on.

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

    oliverw92

    Could you please report any errors? How is it incompatible? I can't fix it without bug reports :)
     
  5. Offline

    Cosmic Break

    19:37:53 [SEVERE] Could not load 'plugins\HawkEye v1.0.0.jar' in folder 'plugins
    ':
    java.util.zip.ZipException: error in opening zip file
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(Unknown Source)
    at java.util.zip.ZipFile.<init>(Unknown Source)
    at java.util.jar.JarFile.<init>(Unknown Source)
    at java.util.jar.JarFile.<init>(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:60)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:213)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:136)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:143)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:110)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    ationManager.java:51)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:133)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  6. Offline

    oliverw92

    That isn't my plugin, that is something wrong with your setup. I just tested against 1060, it works fine.
     
  7. Offline

    Cosmic Break

    its the only plugin

    151 recipes
    16 achievements
    20:09:56 [INFO] Starting minecraft server version Beta 1.7.3
    20:09:56 [INFO] Loading properties
    20:09:56 [INFO] Starting Minecraft server on *:25566
    20:09:56 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-980-
    g4ed23b1-b1060jnks (MC: 1.7.3)
    20:09:56 [SEVERE] Could not load 'plugins\HawkEye.jar' in folder 'plugins':
    java.util.zip.ZipException: error in opening zip file
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(Unknown Source)
    at java.util.zip.ZipFile.<init>(Unknown Source)
    at java.util.jar.JarFile.<init>(Unknown Source)
    at java.util.jar.JarFile.<init>(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:60)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:213)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:136)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:143)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:110)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    ationManager.java:51)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:133)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    20:09:56 [INFO] Preparing level "normal"
    20:09:56 [INFO] Preparing start region for level 0 (Seed: -8903155062319400339)
    20:09:56 [INFO] Server permissions file permissions.yml is empty, ignoring it
    20:09:56 [INFO] Done (0.072s)! For help, type "help" or "?"
    >
     
  8. Offline

    Evil_Cody

    Download link is down :(
     
  9. Offline

    Cosmic Break

    it also does not generate a config.
     
  10. Offline

    crysis992

    404 File not found :(
     
  11. Offline

    patey

    i seem to have it working, but it cant connect to my mysql server- which i know is working because i'm currently using it with another plugin. i've gone over my settings and its all set right.

    Code:
    2011-08-15 20:21:06 [SEVERE] [HawkEye] 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-08-15 20:21:06 [SEVERE] [HawkEye] Error initiating HawkEye database connection, disabling plugin
    2011-08-15 20:21:06 [INFO] [HawkEye] Version 1.0.0 disabled!
    oh and to those who cant get the file, this lin k works for me

    https://github.com/downloads/oliverw92/HawkEye/HawkEye v1.0.0.zip

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

    Cosmic Break

    is it possible to use this without MySQL DB?
     
  13. Offline

    patey

    i've realized...do i have to create tables myself? if so i might need alittle help XD
     
  14. Offline

    iKrazy

    Is it possible as Cosmic Break said to use it without MySQL databases? That was the problem I had with datalog.
     
  15. Offline

    oliverw92

    Download link fixed


    I promise you, that isn't a problem with the plugin. Try redownloading it (I fixed the download link)

    Please post your config.yml

    No, for several reason:
    • Storing millions of results using SQLite or H2 never works well
    • The web interface wouldn't work with any other storage systems
    There is a guide on the wiki about MySQL databases and web servers.
     
  16. Offline

    Cosmic Break

    the fixed link worked. initially ur plugin did have problems, but whatever gone now.

    i hope this doesnt suffer from the same problem that OKB3 or LogBlock does where a disconnect from a remote SQL DB for a few seconds will render the plugin useless

    im having trouble connecting to my db... everything looks correct...

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

    Bronski

    Oh very good. Congrats on the release! :D
     
  18. Offline

    patey

    im still having same problem with new link,can't connect to my database with plugin (although the webpage works) and looks like Cosmic Break is too. would love to use this plugin- need more info about my setup? (ports,usernamepass etc are all right,although i had to create the database myself-is it creating tables itself?)
     
  19. Offline

    Bigman2491

    The web view is a little odd because of the table names it expects. It wants the worlds table to be dl_worlds and the player table to be hawk_players regardless of what I have in the config.php. Otherwise it's been solid and working perfectly.
     
  20. Offline

    patey

    srry this took so long:


    Code:
    block-filter:
    - 97
    - 98
    log:
        lava-bucket: true
        painting-place: true
        other: true
        pvp-death: true
        block-fade: true
        chat: true
        quit: true
        sign-place: true
        painting-break: true
        lava-flow: true
        flint-steel: true
        button: true
        command: true
        block-form: true
        teleport: true
        lever: true
        item-drop: true
        water-bucket: true
        block-burn: true
        sign-break: true
        block-break: true
        leaf-decay: true
        water-flow: true
        join: true
        door-interact: true
        block-place: true
        open-container: true
        item-pickup: true
        explosion: true
        container-transaction: true
        mob-death: true
        other-death: true
    general:
        max-lines: 0
        tool-block: 17
        log-item-drops-on-death: false
        cleanse-age: 0d0h0s
        delete-data-on-rollback: false
        log-ip-addresses: true
        debug: false
        max-radius: 100
    command-filter:
    - /login
    - /restartsrv
    - /register
    mysql:
        hawkeye-table: datalog
        port: 3306
        player-table: dl_players
        username: Patey
        world-table: dl_worlds
    
        hostname: http://192.168.2.11 <tried without http too
    
        max-connections: 10
        password: '*********'
        database: minecraft
    version: 1.0.0
     
  21. Shweet! Will be upgrading and testing this soon

    EDIT: Not crazy about the need for spout, but if that's what it takes...

    However...

    Code:
    23:40:36 [INFO] [HawkEye] Running cleanse utility for logs older than 2011-08-08 23:40:36
    23:40:37 [SEVERE] Error occurred while enabling HawkEye v1.0.0 (Is it up to date?): com/sk89q/worldedit/IncompleteRegionException
    java.lang.NoClassDefFoundError: com/sk89q/worldedit/IncompleteRegionException
        at uk.co.oliwali.HawkEye.HawkEye.registerCommands(HawkEye.java:270)
        at uk.co.oliwali.HawkEye.HawkEye.onEnable(HawkEye.java:121)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: com.sk89q.worldedit.IncompleteRegionException
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        ... 12 more
    This is after updating bukkit to the 1060 build, and updating spout to a 1060 compatible build. I received the same error on the initial install.

    Looking at the database, it doesn't appear to have been changed either, the plugin field still says catalog… I'll try creating a new one and see what happens...

    EDIT#2: No love. Still get the error even after trying to start a new table
     
  22. Offline

    DaveDee

    Does it use own database? I mean, i can't convert my old LogBlock data to new format?
     
  23. Offline

    Pencil

    kewl D: but a conversion tool would be useful!
     
  24. Offline

    oliverw92

    It won't suffer from those problems - nobody ever had them during DataLog so they shouldn't surface now. The database system is almost identical

    You should never have http btw. If you look at your database with something like phpMyAdmin are the tables there at all? Are you updating from DataLog?

    Ah my bad - forgot to add a check for if WorldEdit commands should be enabled. You can use your existing datalog table btw.

    Read the wiki guys, it is all on there: https://github.com/oliverw92/HawkEye/wiki/Importing-from-other-logging-plugins



    I'll try and get a fixed version out asap.

    Again, as I told you before, show me the errors. I can't do anything if you don't show me something!

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

    Pencil

  26. Offline

    oliverw92

    Done

    Ah my bad, made a typo

    Version v1.0.1 - [1000/1060]
    Requires web interface update too
    • Fixed WorldEdit rollback command bug
    • Fixed static table name in interface

    @Justin The Cynical @Bigman2491

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
    arpey and Pencil like this.
  27. Offline

    Sh00ck

    AWESOME!!!

    i will try this :eek:o
     
  28. Offline

    oliverw92

    Check the console - is it starting correctly?
     
  29. Offline

    Sh00ck

    it works now ;)
    @oliverw92

    Sorry.

    and this is really nice...
    i had DataLog but this is MUCH MUCH Better!

    Thanks for this ;)
    But one thing is :
    how i can IMport from LogBlock ?
    i have found the .sql for Import but how it works ?
     
  30. Offline

    oliverw92

    Glad you like it!
    Do you have access to phpMyAdmin or some other kind of database management tool? The .sql file is just several SQL queries.
     
  31. Offline

    Sh00ck

    iv'e found it out...
    the problem by me was :
    i have for 1 Plugin 1 DATABASE!
    So :
    1Database for LogBLock
    and 1 for HawkEye..

    And because of that it comes errors..
    but then i copyed the LogBlock Tables to HawkEye and then it Works ;)


    Sorry for "FAIL" English.
     
  32. Offline

    CoolOppo

    This doesn't log chests though, does it?
     

Share This Page