HawkEye Reloaded

NOTE
HawkEye Reloaded is still under active development! Due to many table altering changes we've been making, we've only been uploading new releases to our Jenkins Development build website.
Bukkit 1.7.10 / Spigot 1.8 Users
The current builds on bukkitdev are mostly outdated for builds 1.7.10 and above. I highly recommend you download a development build to avoid issue!
Description
HawkEye reloaded is a continuation of the beloved former "Hawkeye", which is now completely inactive. It gives you the ability to log changes, search through them, roll edits back and much, much more.
Features
- Logging of over 45 different actions
- Worldedit logging
- Smart logging
- Smart rollback/block restoral
- Block filter to avoid logging unwanted material
- Rollback commands with simple-to-use parameters
- Advanced interactive web interface for viewing logs
- Rollback previews - have the rollback only appear to you at first
- WorldEdit selection rollbacks - rollback everything in your WE selection
- Configurable search tool to quickly see edits on single blocks
- Simple, and easy to learn parameters
- Fast efficient logging
- API so other plugins can interact with the HawkEye database
Command List
| Command | Description |
|---|---|
| /he help <Command> | Provides help for the specified command |
| /he | Displays a page showing all HawkEye related commands |
| /he tool bind | Binds the custom parameters to the tool |
| /he tool reset | Resets tool to default properties |
| /he tool | Toggles the searching tool |
| /he search <parameters> | Searches the HawkEye database |
| /he page <page> | Displays a page from your last search |
| /he tpto <id> | Teleport to the location of the data entry |
| /he here <radius> <player> | Searches around you |
| /he preview apply | Apply the rollback preview |
| /he preview cancel | Cancel the rollback preview |
| /he preview <parameters> | Preview the rollback changes |
| /he rollback <parameters> | Rollback specified changes |
| /he undo | Reverses your previous rollback |
| /he rebuild | Re-apply specified changes |
| /he delete | Deletes specified data entries |
| /he info | Display important information |
| /he writelog <parameters> | Write results to a log |
Permission List
| Node | Description |
|---|---|
| hawkeye.* | Access to all HawkEye commands |
| hawkeye.page | Permission to view different pages |
| hawkeye.search | Permission to search the HawkEye database |
| hawkeye.search.<action> | Specific node to search HawkEye database |
| hawkeye.tpto | Permission to teleport to the location of a search result |
| hawkeye.rollback | Permission to rollback actions |
| hawkeye.tool | Permission to use the HawkEye tool |
| hawkeye.tool.bind | Permission to bind parameters to the tool |
| hawkeye.preview | Permission to preview a rollback before applying it |
| hawkeye.rebuild | Permission to rebuild actions |
| hawkeye.info | Permission to view info |
| hawkeye.writelog | Permission to writelog |
Requirements
- Latest RB of bukkit
- MySQL database (Your host should provide you with one)
- (optional) WebServer (if you want to run the Web Interface)
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
Still have a question?
Still have a question?
Here is an extra help page, which contains things like, format, importation, and errors. If nothing helps, feel free to open a Ticket, explaining your problem will help us recreate, and fix the issue.
Want to Donate?
Want to Donate?
All the donations go directly to the former author oliverw92
I am currently very busy and cannot answer any questions.. I will try to keep all my plugins updated during my absence




-
View User Profile
-
Send Message
Posted Jan 1, 2013@XeonG8
https://github.com/bob7l/HawkReloaded/blob/master/src/uk/co/oliwali/HawkEye/DataType.java
For all the action types. They're labeled as ID's because it's MUCH easier for the web-interface to handle.
"the other question is, since you store a lot of player data like players join ip, chat, commands all in one table I can imaging this getting frigging huge very quickly." No, all that data is stored inside the data column no problem. Normally hawkeye can handle up to 300-500 entries every x seconds, although if you have a weak mysql your experience will differ. If your using logblock and never get the "queue overloaded" msg within the logs you should be fine.
"And yet the "cleanse-age" only accepts a time period.. where is the filter options to have it only cleans specific player data.. I'd rather keep data on players initial join ip etc a lot longer/permanently, while actual block placement/removable be wiped after 2-3months."
I don't really recommend the cleansing utility, /he delete is a bit more simple. I'll most likely be adding in a from date format so you can do: /he delete t:!3m And it'll rollback from the 3 month date.
-
View User Profile
-
Send Message
Posted Jan 1, 2013So i use logblock and playerlogger, ..and I'm thinking about switching to Hawkeye seeing as it offers a bit more in logging department.
I just want to know what the all the action id's are in the `hawkeye` table..is there a list showing what each one is..
like id 5 ... the data looks like join ip? .. is that right, how many action id's are they be nice to see what data it corresponds too, aswel as what the data format is for things
the other question is, since you store a lot of player data like players join ip, chat, commands all in one table I can imaging this getting frigging huge very quickly.
And yet the "cleanse-age" only accepts a time period.. where is the filter options to have it only cleans specific player data.. I'd rather keep data on players initial join ip etc a lot longer/permanently, while actual block placement/removable be wiped after 2-3months.
-
View User Profile
-
Send Message
Posted Jan 1, 2013@baemboo
Looks like the connection to bukkitdev timed out while it was searching for a new update. If you keep getting this error disable update inside the config.
-
View User Profile
-
Send Message
Posted Jan 1, 2013-
View User Profile
-
Send Message
Posted Dec 31, 2012@WhatTheHai
Hawkeye, for the most part, is multithreaded. There is no way it's causing TPS drops, try to get nolagg and run a /lagg examine for a bit.
-
View User Profile
-
Send Message
Posted Dec 31, 2012Hey! First of all, I want to thank you for continuing Hawkeye, it's really great that you're doing it! But I've came across a problem, I co-own a server with about 200 people on average and when I use Hawkeye the TPS is 5, but when I use a similiar plugin which I'm not going to name the TPS is 19, is there a way to fix the TPS or do I have to wait for a newer version that doesn't decrease our TPS?
-
View User Profile
-
Send Message
Posted Dec 29, 2012@bob71 I am my own host. I host everything server related. Including mysql. I have already tried quadrupling the allowed memory for nearly all mysql settings, with no change in my problem. I will try a table wipe, but i don't know how that will prevent the problem from happening in the future. Oh and i have my cleanse period set to 5minutes and cleanse age set to 6weeks.
-
View User Profile
-
Send Message
Posted Dec 28, 2012@astroroxy
Ehh, i have well over 16gb on mine. The trick is to prune it every ounce in awhile.
I believe
cleanse-period: 20m cleanse-age: 90d
Would work perfect
-
View User Profile
-
Send Message
Posted Dec 28, 2012How big is too big for the hawkeye table It started lagging for searching and it has a little over 56 million rows and about 10 gb Is there a point in which it becomes unstable? Its innodb
-
View User Profile
-
Send Message
Posted Dec 28, 2012@atomfitz
I think you should attempt to reset your entire hawkeye table. If your host only allows a certain amount of memory in the mysql that could be the prob.
-
View User Profile
-
Send Message
Posted Dec 28, 2012@fffizzz
Yeah thats what I thought too, so i changed both those settings. My max connection settings in my my.ini file is set to 200, as well as the hawkeye setting. no change in the behavior.
-
View User Profile
-
Send Message
Posted Dec 28, 2012@atomfitz
sounds like either max-connections is set to low, or your my.cnf file has the connection limit set to low.
-
View User Profile
-
Send Message
Posted Dec 28, 2012@bob7l
Yeah, I have nocheat+. I have managed to produce this problem many times, with no edits to things set to log multiple times. With debug enabled, I see this message alot when the problem occurs. "[Hawkeye] DEBUG: No available mysql connections are available, attempting to create a new one." What could potentially make it unable to find mysql connections? Hawkeye clearly functions fine, and is logging things to mysql, as rollbacks and hk searches work fine.
It will also often show: "DEBUG: Attempting to reap dead connections" 'DEBUG: 0 connections reaped"
-
View User Profile
-
Send Message
Posted Dec 28, 2012@jcbjoe
Well it can rollback griefs within a worldedit region if that's what you mean:
/he rollback r:we
-
View User Profile
-
Send Message
Posted Dec 27, 2012@jcbjoe
I don't believe that WorldEdit is logged so you aren't able to roll it back. You can rollback the command but I don't believe that has any effect other than deleting the record of the command ever happening. I think WorldEdit has an undo feature but I am not sure if you can undo someone else changes.
-
View User Profile
-
Send Message
Posted Dec 27, 2012hey i was wondering if you could rollback a w/e region?
-
View User Profile
-
Send Message
Posted Dec 27, 2012@atomfitz
Hmm, do you have any anti-hack plugins? I had the same problem when someone was running around with nuker, destroyed 1000-3000 plugins at the same time. You could also try to reset your hawkeye related tables through phpmyadmin, simply drop the entire table.
-
View User Profile
-
Send Message
Posted Dec 27, 2012@HeavenMc
Worldedit is something we simply cannot log, and never will be able to log with our current setup. You've probably noticed some logging plugins are able to do it, why? Because they simple log the entire array to the mysql at ounce. We're more professional, we log blocks very slowly in order to conserve memory, and make sure it doesn't harm your servers performance!
But, i added superpick logging! :)
-
View User Profile
-
Send Message
Posted Dec 27, 2012@HeavenMc
Item pickups are also logged, but you need to enable the item-pickup node.
-
View User Profile
-
Send Message
Posted Dec 27, 2012Iten drop logging workd perfect, but not item pickup.