[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

    OneFourOne

    I just contacted support, they say they don't anymore, but they used to because I did use bigbrother :/ do you know of anywhere i can get a database which will work with external connections?
     
  3. Offline

    but2002

    @OneFourOne Where do you currently host your minecraft server?
     
  4. Offline

    OneFourOne

    multiplay
     
  5. Offline

    but2002

    @OneFourOne Depending on what you're willing to pay, you may have to go rent out a VPS or something just for MySQL :\ (You won't find good free services)
     
  6. Offline

    OneFourOne

    I have a website with unlimited hosting (FatCow) http://www.jpiionefourone.com/

    This comes with MySQL but they don't support external connections :(
     
  7. Offline

    but2002

  8. Offline

    OneFourOne

    i know, whats the point in mysql without external connections. sucks.
     
  9. Offline

    Scepheus

    I've never actually used MySql on my server, but I'm getting this:

    [HawkEye] Starting HawkEye initiation process...
    2011-10-03 14:25:48 [INFO] [HawkEye] No config.yml detected, creating default file
    2011-10-03 14:25:48 [INFO] [HawkEye] Using Permissions for user permissions
    2011-10-03 14:25:48 [INFO] [HawkEye] Performing update check...
    2011-10-03 14:25:49 [INFO] [HawkEye] No updates available for HawkEye
    2011-10-03 14:25:51 [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-10-03 14:25:51 [SEVERE] [HawkEye] Error initiating HawkEye database connection, disabling plugin
    2011-10-03 14:25:51 [INFO] [HawkEye] Version 1.0.5 disabled!
     
  10. Offline

    Hubok

    For some reason I keep getting this error:

    Code:
    04:02 PM [SEVERE] Could not pass event ENDERMAN_PLACE to HawkEye
    04:02 PM [SEVERE] Could not pass event ENDERMAN_PLACE to HawkEye
    04:03 PM [SEVERE] Could not pass event ENDERMAN_PLACE to HawkEye
    
    Also this:

    Code:
    at uk.co.oliwali.HawkEye.listeners.MonitorEntityListener.onEndermanPlace(MonitorEntityListener.java:129)
    	at org.bukkit.plugin.java.JavaPluginLoader$77.execute(JavaPluginLoader.java:782)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
    	at net.minecraft.server.EntityEnderman.s(EntityEnderman.java:126)
    	at net.minecraft.server.EntityLiving.s_(EntityLiving.java:280)
    	at net.minecraft.server.EntityMonster.s_(EntityMonster.java:31)
    	at net.minecraft.server.World.entityJoinedWorld(World.java:1193)
    	at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:48)
    	at net.minecraft.server.World.playerJoinedWorld(World.java:1175)
    	at net.minecraft.server.World.cleanUp(World.java:1090)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:460)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    
     
  11. Offline

    Tanite

    Errors on startup and shutdown with the new RB 1240:

    Code:
    23:53:26 [SEVERE] Error occurred while enabling HawkEye v1.0.5 (Is it up to date?): tried to access method org.bukkit.command.ConsoleCommandSender.<init>(Lorg/bukkit/Server;)V from class uk.co.oliwali.HawkEye.SessionManager
    java.lang.IllegalAccessError: tried to access method org.bukkit.command.ConsoleCommandSender.<init>(Lorg/bukkit/Server;)V from class uk.co.oliwali.HawkEye.SessionManager
            at uk.co.oliwali.HawkEye.SessionManager.<init>(SessionManager.java:21)
            at uk.co.oliwali.HawkEye.HawkEye.onEnable(HawkEye.java:90)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:941)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:174)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:157)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Code:
    2011-10-03 23:53:57 [SEVERE] Error occurred while disabling HawkEye v1.0.5 (Is it up to date?): null
    
    java.lang.NullPointerException
            at uk.co.oliwali.HawkEye.database.DataManager.close(DataManager.java:69)
            at uk.co.oliwali.HawkEye.HawkEye.onDisable(HawkEye.java:67)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:128)
            at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:962)
            at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:296)
            at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:289)
            at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:169)
            at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:325)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:404)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  12. Offline

    nicquehen

    Same error with RB1240 :

    Code:
    2011-10-05 07:58:39 [SEVERE] Error occurred while enabling HawkEye v1.0.5 (Is it up to date?): tried to access method org.bukkit.command.ConsoleCommandSender.<init>(Lorg/bukkit/Server;)V from class uk.co.oliwali.HawkEye.SessionManager
    java.lang.IllegalAccessError: tried to access method org.bukkit.command.ConsoleCommandSender.<init>(Lorg/bukkit/Server;)V from class uk.co.oliwali.HawkEye.SessionManager
        at uk.co.oliwali.HawkEye.SessionManager.<init>(SessionManager.java:21)
        at uk.co.oliwali.HawkEye.HawkEye.onEnable(HawkEye.java:90)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:941)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:174)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:157)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  13. Offline

    Perling

  14. Offline

    Mazaveli

    Latest bukkit #1240 seems to break HawkEye, just a heads up.
     
  15. Offline

    dumptruckman

    @nicquehen @Tanite and any others wanting this for 1240!


    Fixed version for CB 1240

    Fixes this error:
    Code:
    23:53:26 [SEVERE] Error occurred while enabling HawkEye v1.0.5 (Is it up to date?): tried to access method org.bukkit.command.ConsoleCommandSender.<init>(Lorg/bukkit/Server;)V from class uk.co.oliwali.HawkEye.SessionManager
    java.lang.IllegalAccessError: tried to access method org.bukkit.command.ConsoleCommandSender.<init>(Lorg/bukkit/Server;)V from class uk.co.oliwali.HawkEye.SessionManager
            at uk.co.oliwali.HawkEye.SessionManager.<init>(SessionManager.java:21)
            at uk.co.oliwali.HawkEye.HawkEye.onEnable(HawkEye.java:90)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:941)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:174)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:157)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
    Fantikerz, Hopium and Jadedwolf like this.
  16. Offline

    Jadedwolf

    I have told you this before but <3 you dumptruckman. ;)
    EDIT: you fixed version 1.0.4b version not the 1.0.5
     
  17. Offline

    dumptruckman

    Hmm, interesting... I edited the master branch on his github. ;p
     
  18. Offline

    Jadedwolf

    Maybe his plugin.yml file version number is wrong. =/
     
  19. Offline

    oliverw92

    @dumptruckman @Jadedwolf

    You realise there are two .jar files in the 1.0.5 download right? One for later builds and one for earlier builds? Also I've been working in my dev branch for 1.0.5 since it included some new stuff I had been working on for a while
     
  20. Offline

    Massimo1993

  21. Offline

    oliverw92

    When you download 1.0.5 there are two jar files. Use the later one.
     
  22. Offline

    nicquehen

    Thx Man :)
     
  23. Offline

    Revenger

    Simple Sign Edit is giving this error with this plugin every time a sign is edited.

    Code:
    02:17:05 [SEVERE] Could not pass event SIGN_CHANGE to HawkEye
    java.lang.ClassCastException: org.bukkit.craftbukkit.block.CraftBlockState cannot be cast to org.bukkit.block.Sign
            at uk.co.oliwali.HawkEye.entry.SignEntry.interpretSignBlock(SignEntry.java:47)
            at uk.co.oliwali.HawkEye.entry.SignEntry.<init>(SignEntry.java:33)
            at uk.co.oliwali.HawkEye.listeners.MonitorBlockListener.onSignChange(MonitorBlockListener.java:59)
            at org.bukkit.plugin.java.JavaPluginLoader$36.execute(JavaPluginLoader.java:490)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1046)
            at net.minecraft.server.Packet130UpdateSign.a(SourceFile:41)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:500)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    >
    
     
  24. Offline

    oliverw92

    What version of CraftBukkit and what version of HawkEye
     
  25. Offline

    dumptruckman

    1215+ didn't immediately grab my attention and probably won't a lot of others because they don't follow the version numbers and the changes all the time. :) I upgraded from 1185 to 1240 and hey, hawkeye broke, looked at http://dev.bukkit.org/server-mods/hawkeye/ and saw 1.0.5 for 1185 (which i was running).

    ps @oliverw92 HawkEye rocks. Love the web interface.
     
  26. Offline

    Revenger

    Bukkit RB 1240
    HawkEye v1.0.5 DEV2
    Simple Sign Edit Version 1.7

    With Simple sign edit with a sign in your hand you rclick on a sign on the wall etc it will temporary place the blank sign in-front and let you fake create a new sign using all the text of the sign behind it in the normal popup sign edit window.

    Once you are done it changes the sign on the wall and gives you your sign back.
    Its when it gives you your sign back it creates the error.

    Editing on simple sign edit works fine it just errors when you get your own sign back from editing
     
  27. Offline

    oliverw92

    Simple sign edit is probably doing something weird. I can guarantee that you won't have those problems if you remove simple sign edit.
     
  28. Offline

    Revenger

    Yea I know creating signs normally is fine its just editing them I let both threads know so there can be some solution hopefully.
     
  29. Offline

    Rockstar04

    CB - 1240
    Hawkeye - 1.5
    MySQL - MySQL 5.1.54-1ubuntu4
    System - Linux 2.6.38-11-server
    Hardware - 4x AMD Phenom(tm) II X4 920 Processor 2800.000 MHz, 7.8 GB RAM


    Code:
    05:34:27 [INFO] [HawkEye] Starting HawkEye initiation process...
    05:34:27 [INFO] [HawkEye] Using PermissionsEx for user permissions
    05:34:27 [INFO] [HawkEye] Performing update check...
    05:34:27 [INFO] [HawkEye] No updates available for HawkEye
    05:34:27 [INFO] [HawkEye] Starting database cleanse thread with a period of 2419200 seconds
    05:34:27 [SEVERE] [HawkEye] Unable to start cleansing utility - check your cleanse age
    Config File - PasteBin

    I have tried several variants of the
    Code:
    cleanse-age: '0'       #Max-age of records in the database in the format '5w8d2h9m4s. Set to '0' to turn this feature off.
    And still have the start-up error that the cleanse has failed. I have been setting up this new server with a few people, nad the DB is already over 1g, I would love to get the prune working so I dont have a 10g database in a week after going live with my normal 20 people on at a time :/
     
  30. Offline

    Celtic Minstrel

    Considering that the error occurs when it gives the sign back, I have a theory; I catch the SIGN_CHANGE event and transfer the text from a temporary sign to the new sign, then remove the temporary sign, but then the event continues to propagate even though the block is no longer a sign.
     
  31. Offline

    oliverw92

    After you finish handling your event if the block no longer exists you should cancel the event
     

Share This Page