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 Mar 23, 2013@bob7l
Could you add-fix backward-compatibility? I really don't want to lose old transaction logs. :(
-
View User Profile
-
Send Message
Posted Mar 23, 2013@SolomonGajda
HawkEye in no way ever modifies players. Could you post your hawkeye config? I can't seem to reproduce the error your getting.. All i can think of is there is something in ur server that is rapidly producing entries.
-
View User Profile
-
Send Message
Posted Mar 23, 2013@bob7l
Hmm... Maybe. I'm not a MySQL expert. How would I go about purging it? OH.. on a seemingly unrelated note. Health stopped regenerating for players on this server after the 1.5.1 update (I have 2 other servers that didn't have this problem). When I removed the HawkEye mod, health began regenerating normally again. I don't run the HawkEye mod on the other servers.
I'm not sure what you mean by config. Linux OS with 14GB RAM, Sandy Bridge Intel Xeon E3-1270 processors and solid state hard-drives. CB 1.5.1-D0.1 (#2691)
-
View User Profile
-
Send Message
Posted Mar 23, 2013@SolomonGajda
I'm going to need your config to fully help you resolve this problem. From the looks, it's VERY possible you enabled something like fire logging and you currently have a huge forestfire. Or you enabled water logging. I logged everything on a server with 30 live players, no errors, not even a warning.
Edit: Maybe your mysql is full?
-
View User Profile
-
Send Message
Posted Mar 23, 2013@bob7l
Okay. I tried updating from 1.2-DEV to 1.4.2-DEV. Same problem as before. As soon as someone starts running a mob spawner, the connections go through the roof and then it starts generating SQL errors, and eventually starts impacting other mods which use the SQL database and eventually crashes the server. Here is an excerpt from the console log which shows the process from server startup to server crash (where the log abruptly stops). I downgraded to 1.2-Dev (which fixed the problem when I tried to upgrade to 1.3) but this time the problem recurred even at 1.2-Dev; so I've had to disable the HawkEyE mod. I've used HawkEye for over a year. It has always worked until now. You should be able to derive the config from the startup log. Console Log
-
View User Profile
-
Send Message
Posted Mar 23, 2013@syamn
Yeah everything was recoded inventory related, you need to delete ALL of it before using the newer version. I will make sure to keep a string checker in the next release!
Edit: This command should work perfectly! /he delete a:container-transaction Don't forget to turn your max radius to 0 when performing this command!
-
View User Profile
-
Send Message
Posted Mar 23, 2013Hiya, I got this error from v1.4.2-dev (cb1.5.1, latest dev-build).
- java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1875)
at uk.co.oliwali.HawkEye.util.InventoryUtil.dataToString(InventoryUtil.java:70)
at uk.co.oliwali.HawkEye.entry.ContainerEntry.getStringData(ContainerEntry.java:31)
at uk.co.oliwali.HawkEye.DisplayManager.displayPage(DisplayManager.java:49)
at uk.co.oliwali.HawkEye.commands.PageCommand.execute(PageCommand.java:22)
at uk.co.oliwali.HawkEye.commands.BaseCommand.run(BaseCommand.java:77)
at uk.co.oliwali.HawkEye.HawkEye.onCommand(HawkEye.java:203)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
https://github.com/bob7l/HawkReloaded/blob/master/src/uk/co/oliwali/HawkEye/util/InventoryUtil.java#L70
-
View User Profile
-
Send Message
Posted Mar 22, 2013@SolomonGajda
It's just a plugin.yml thing, no need to be concerned.
-
View User Profile
-
Send Message
Posted Mar 22, 2013@SolomonGajda
That would be because the author hasn't changed the version in plugin.yml
-
View User Profile
-
Send Message
Posted Mar 22, 2013Tried downloading the latest version of HawkEye (1.4.2-DEV) 3 times, using the download, clicking the 1.4.2-DEV file directly, and going to the 1.4.2-DEV download page and clicking the HawkEyE.jar file directly. My FTP client shows that a newer version was uploaded to the server, but when I examine the log after restart in all cases I see the following entry:
2013-03-22 09:24:08 [INFO] [HawkEye] Enabling HawkEye v1.1.0 2013-03-22 09:24:08 [INFO] [HawkEye] Starting HawkEye 1.1.0 initiation process... 2013-03-22 09:24:08 [INFO] [HawkEye] Version 1.1.0 enabled!
Could it be that HawkEye is reporting the wrong version in the log file on console?
Running CB 1.5.1-D0.1 (build #2691) in a Linux environment.
-
View User Profile
-
Send Message
Posted Mar 22, 2013@thomasmccarron Looking at it from a none dev perspective.
Notably, it rolls back mobs with correct data values, tamed, profession, item, etc, all comes back as it was. I'm unaware if Hawkeye does it to this extent or not, because I've honestly never had the need to rollback mobs.
I don't completely like that Prism divides a creeper and tnt explode event, because it's just more convenient to myself to have to type a single explode rollback command, assuming I even have explosions enabled in my world. (Usually, I don't.)
As far as the rollback feature that automatically extinguishes, in my logic I usually would rather extinguish with worldguard first, then investigate with my logging plugin, instead of let the fire continue to spread. (Again, assuming I have fire spread even on.)
The real notable thing about prism is that it does rid yourself of the explosion drops, assuming they weren't picked up. But again, that's also assuming you have explosions enabled on your server.
Drain itself is, in my honest opinion, a bit redundant. Worldedit has drain, and there are very few servers that don't have worldedit. I just feel it's overkill.
Overall looking at both plugins? There is almost no difference, utility wise. Time and processing is something you will have to test, but they both offer almost the same benefits. I'll continue using Hawkeye, only because I'm familiar with it's commands and usage, and I know that it's worked for me for over half a year now.
-
View User Profile
-
Send Message
Posted Mar 21, 2013@thomasmccarron
Both plugin do almost the same thing; actually hawkeye is much more accurate when logging a few things. I suppose it's more based on opinion. In MY opinion hawkeye is better because it's GUI is very friendly and it provides me with many amazing features. You may like prism because it drains material, and extinguisher. (It also logs more things i think...)
Also please keep this page hawkeye related, i feel like your trying to make us feel bad about our plugin..
-
View User Profile
-
Send Message
Posted Mar 21, 2013What is the reason for me to continue using this when I believe that a plugin I recently tried out, called Prism, seems to be better?
{Genuine question, not trying to mock or anything}
-
View User Profile
-
Send Message
Posted Mar 21, 2013@Coolwill1
Idk, it could be that your mysql timed out.
-
View User Profile
-
Send Message
Posted Mar 21, 2013@noxturno
chest-transaction
-
View User Profile
-
Send Message
Posted Mar 21, 2013Large error that caused my server to crash. No admins or players that can use hawkeye were on when it crashed it just randomly did this. I'm using Spigot Build #674 1.5
Error: http://pastebin.com/PF0SmdVy
-
View User Profile
-
Send Message
Posted Mar 21, 2013anyway to roll back even items taken from chests?
-
View User Profile
-
Send Message
Posted Mar 21, 2013@bob7l
No errors in the console.
Edit: created new tables, works fine now. bizarre...
-
View User Profile
-
Send Message
Posted Mar 21, 2013@bob7l
Scratch that, I'm on the latest dev build and still nothing is logging. I will check my server log for errors.
-
View User Profile
-
Send Message
Posted Mar 21, 2013@bob7l
It couldn't be a limit. We are self hosted on a dedicated machine, and we clean the database of everything over a month old. I will try the latest dev build and report back.