[ADMN/SEC/WEB] HawkEye [BukkitDev]

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

  1. Offline


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


    Thanks for the Update, but new InterfaceBug with Opera:

    Nope, for me only /he and /hawk works. /ha and /hk " Unknown console command..."

    #1060 /Groupmanager
  3. Offline


    What browser?
  4. Offline


    A few suggestions: Chest logging shows items ID instead of name, it would be great if it was item name.
    -colors to make reading easier.
    -using worldedit selection to check for chestaccess in that area.
    and Thanks for this great plugin :D
  5. Offline


    Yeah, no problem. I just looked at your issues on github and noticed you fixed something with explosions there. I'd hoped it was my problem. Until then, I will have to stop tnt'ing random towns ;)
  6. Offline


    I'm running a web server off of my VPS along with my minecraft server. The root files for the webserver are located in /var/www/. I'm running Ubuntu 10.10 and I'm not sure how to A)Install the web interface B)Access the interface
    And I do have MySQL set up properly through my host, so it isn't that.
    Please advise
  7. Offline


    I basically use this:
    java -server -Xmn1G -Xms2G -Xmx4500M -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:ParallelGCThreads=5 -XX:+CMSParallelRemarkEnabled -XX:+DisableExplicitGC -XX:MaxGCPauseMillis=500 -XX:SurvivorRatio=16 -XX:TargetSurvivorRatio=90 -jar craftbukkit.jar
    which Phaedrus suggested here:

    So far it seems to run identically to what it did before, i.e. staying at 2GB for a bit then going up to 4.3GB. With BB we usualy ran at 2.7GB to 3.5GB. I can't come up with any other reason than HawkEye causing it :(

    http://i51.tinypic.com/33ucoax.png sniff :(
  8. Offline

    The Wizard

    I think the chest transaction has a little problem.
    If I put an item in a chest, hawkeye doesn't log it. I have to open the chest again to log the item.
    It doesn't happen all the time.

    btw the web interface is ok in:
    ie 8
    firefox 6
    safari 5
    chrome 13
    opera 11
  9. Offline


    Causes server restart :
    2011-08-19 23:08:41 [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$33.execute(JavaPluginLoader.java:469)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:994)
        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:89)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:436)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Bukkit 1060 latest HE version
  10. Offline


    Still having random moderators lose the ability to utilize the log/searches.

    Using 1.0.3.
  11. Offline


    @oliverw92 The logo seems to be missing from the repository now...
  12. Offline


    I'm getting it as well, but it does not cause a server restart.
  13. Offline


    Chest logging should show the item name, not ID in game. I've tested this. If it isn't please screenshot it

    1. Put the hawkeye folder in your /var/www/ folder.
    2. Configure config.php as discussed here: https://github.com/oliverw92/HawkEye/wiki/Configuration
    3. Navigate to http://whateveryourhostnameoripis/hawkeye/index.php
    4. ???
    5. PROFIT!!!
    Hm... I might have to enlist some other devs to help me see if there are any memory leaks. I'm a noob when it comes to things like that.

    You have to do something that 'triggers' the inventory close. This can sometimes delay the insertion. The inventory open is triggered when you right click the container block. The close is triggered when you next do something you can ONLY do outside of the inventory window (e.g. move). This can sometimes make it seem like there is a delay if you don't move or do anything between editing the inventory and then checking it with a tool block, for example.

    Thanks, fixed for v1.0.4

    It won't be random. Nothing can be 'random' in it. Something MUST trigger it. I can't do anything until you find out what that is. HawkEye is running on my server of 40+ people and over 15 moderators and none of them are reporting issues.

  14. Offline


  15. Offline


    I was thinking the same thing, it should be paginated on the server. It would be especially helpful if the website script is on a different server from that of the game server (like mine!)
  16. Offline


  17. Offline


    By taking forever to load on the browser do you mean the loading bar is there for ages? I can look into it but it won't be a massive priority at the moment. Would require massive recoding of my web interface backend

    Turn error reporting on in php.ini

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


    I found the original problem, but I think I may have discovered another. My server host provides MySQL on port 33306 rather than 3306. I need to be able to change the port for the config.php file but am unable to do so.
  19. Offline


    Please do, I am loving this plugin but we literally had 95MB left of our cached ram and 4443MB ram useage with just 20 players on so I had to revert back to BigBrother for the time being :(
  20. Offline


    Got it working the import for one was using a separate table then the hawk web files weren't configured silly me as I had spent 5 hours updating everything and it was 5am when i was working on this.

    And yesterday was a mess with a flood of people ingame which I had to be on etc.

    There's a days worth of data in the hawkeye table do you know a sql query I can run in phpmyadmin use to merge that into the datalog table?

    Also there's a slight issue with the max results.

    If you do not put a date in it shows the earliest entries still I mentioned this a couple times, It needs to show the latest entries with the most recent entry last or first by you filtering the date/time column.

    I cant stress enough how much this needs to be fixed as showing from earliest result is kinda pointless when you want to see all latest results by the max return filter.

    Cause without a date and using the max result filter this is all I will see for example chat for my player as there the earliest entries.

    2011-05-27 22:12:05 to 2011-06-01 22:23:49

    So If I wanted to search for say TNT on any date and get all the latest results to the filter I cannot because the filter only shows the earliest entries not the latest.

    Even if you add a date and it reaches the filter amount you will only see the earliest results for that day and not the latest.

    Especially as our mods like to read the chat they want to click chat and see all the latest chat straight away without having to use a date/time.

    And if chose the day and theirs over 10k chat entries they can only see the earliest to 10k when they should really just able to see the latest and search again for earlier entries if needed.

    And a pin always open on the top section if you are searching allot would be handy.
  21. Offline


    hey :) did u fixed the /hawk undo bug with delete after rollback?

    The rollback with items in a chest not work it say "attempting to rollback 1 result"
    "rollback complete, 0 edits performed"
    on the command: /hawk rollback p:silencshadow r:4 a:container-transaction ... :eek:

    can u bind 2 chest as 1? that i not need to hit both chest?
  22. Offline


    Oh my Edit was to late ;)
    With Opera.
  23. Offline


    I'll add a config option in for that

    About the tables - is there a hawk_players and a hawk_worlds you need to import, or was the hawkeye table using dl_players and dl_worlds. If it is the latter, just do INSERT INTO `datalog` SELECT * FROM `hawkeye`

    Ohhhh I didn't notice that. Thanks I'll look into it. For now you could just leave the max limit off.

    I'll see about the pin open option.

    No I haven't had chance to fix the /hawk undo.

    Thanks i'll loo into the rolling back issue

    I don't quite understand that, I tested it against the latest opera build.
  24. Offline


    Thanks it was the latter.

    Cant leave limit of as it just is too much as it stalls as we log everything both logblock separate and this, so we need the limit to stop it timing out due to size.

    But not a real big issue when the date boxes work as a alternative atm.
  25. Offline


    Opera Version 11.50
  26. Offline


    I've fixed the ordering issue in the next version I think

    I can't replicate it, I'm sorry. Maybe it will be fixed by chance in the next version.

    One of the mods on my server made this for me:


    Hope you guys find it useful!
    Jobsti likes this.
  27. Offline


    Just wanted to tell you I love this plugin more than any other logging plugin out there its awesome. Just needs a little more features and will be the perfect logs plugin :D
  28. Offline


    What features do you want? Thanks!

    In your config.php, make your hostname 'hostname.com:33306'

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


    -Chest logging shows items ID# instead of name, it would be great if it was items names instead.
    -colors to make reading the logs ingame easier.
    -hooking the tool to one function ie chest usage only.
    -possibly an option to rollback ONLY chests content or the whole chest with worldedit selection.
    Again thanks for your hard work and effort :D
  30. Offline


    Forum authentication support!
    With permission from @oliverw92 I've commited experimental Forum authentication support to the HawkEye web interface to the development branch.
    What the idea is is that you will be able to access HawkEye without entering a password as long as you have administrative permissions to an installed forum software.
    To add support for forum software the idea is to simply drop in a new php file and alter a configuration option. This isn't supported mainstream and is still highly idealistic/experimental, but I figured I'd make a post of what I've done and what could possibly be expected.

    I think the last one is possible already, not sure about the other two.

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


    Trying to update this half-asleep...I opened a browser and typed hawkeye.com

    but2002 likes this.

Share This Page