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 Aug 21, 2013@bob7l
I restarted the server again today and it just worked. Great plugin keep up the good work!
-
View User Profile
-
Send Message
Posted Aug 20, 2013@LinkDude80
Uhh looks like it fully imported everything to the correct format. Try to update to the latest dev.
-
View User Profile
-
Send Message
Posted Aug 20, 2013I'm having a problem enabling Hawkeye after the update. I lost power during the table update and had to start over. I left it running overnight so I could get the server back in the morning (there are a little over 2 years worth of entries so I'm not sure how long it took.) I found this this morning
00:37:36 [INFO] [HawkEye] Enabling HawkEye v1.5.1
00:37:36 [INFO] [HawkEye] Starting HawkEye 1.5.1 initiation process...
00:37:36 [INFO] [HawkEye] Checking for a new update...
00:37:36 [INFO] [HawkEye] No update for HawkEye found!
00:37:37 [INFO] [HawkEye] Attempting to update HawkEye's MySQL tables....
00:37:37 [INFO] [HawkEye] This could take 1-30 minutes! Do not restart!
03:06:12 [SEVERE] [HawkEye] Error checking HawkEye tables: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException Unknown column 'date' in 'hawkeye'
03:06:12 [SEVERE] [HawkEye] Error initiating HawkEye database connection, disabling plugin
03:06:12 [INFO] [HawkEye] Disabling HawkEye v1.5.1
03:06:12 [SEVERE] Error occurred while disabling HawkEye v1.5.1 (Is it up to date?)
java.lang.NullPointerException
at uk.co.oliwali.HawkEye.HawkEye.onDisable(HawkEye.java:77)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:219)
at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:481)
at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:400)
at uk.co.oliwali.HawkEye.HawkEye.onEnable(HawkEye.java:132)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
at org.bukkit.craftbukkit.v1_6_R2.CraftServer.loadPlugin(CraftServer.java:282)
at org.bukkit.craftbukkit.v1_6_R2.CraftServer.enablePlugins(CraftServer.java:264)
at net.minecraft.server.v1_6_R2.MinecraftServer.l(MinecraftServer.java:313)
at net.minecraft.server.v1_6_R2.MinecraftServer.f(MinecraftServer.java:290)
at net.minecraft.server.v1_6_R2.MinecraftServer.a(MinecraftServer.java:250)
at net.minecraft.server.v1_6_R2.DedicatedServer.init(DedicatedServer.java:151)
at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:391)
at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
The server is running with Hawkeye disabled right now which is a pretty scary idea =/
-
View User Profile
-
Send Message
Posted Aug 19, 2013Give me suggestions for smarter rollbacks / logging! So far I've added / recoded:
Keep suggesting! I re-coded a new smart engine which enables us to basically log everything perfectly without reducing server performance.
-
View User Profile
-
Send Message
Posted Aug 19, 2013@bob7l
I have been working on deleting 1/2 of my 35 million entries all night. (manually thru msql workbench) Non of which are older than 30 weeks. Im going to cut it down to 15 weeks. And yes, I have all the useless stuff turned off, like block form.
And yes two new 3.3ghz quad cores are in the plans to be purchased. :P The ones that are in there now just came with the server I bought. (off lease from dell)
-
View User Profile
-
Send Message
Posted Aug 19, 2013@pilotdan85
I suggest you reset your database then. Btw, might wanna stick to a quad core, high ghz processor for minecraft as it RARELY uses the other cores.
-
View User Profile
-
Send Message
Posted Aug 19, 2013Ive been having problems lately that every time Hawkeye tries to purge old database entries my server times out.
Now I have a problem that my server wont even boot up because hawkeye says "[HawkEye] This could take 1-30 minutes! Do not restart!" on startup... but it doesnt do anything after 45 minutes but say "read timeout" about 30 times.
My server is a dell power edge c1100 1u rackmount server. Has 4 hard drives with raid setup, and 2 intel xeon I5520 2.26ghz processors with hyper threading enabled.
heres my cleanse settings in my config: cleanse-period: 20m cleanse-age: 30w
-
View User Profile
-
Send Message
Posted Aug 19, 2013Hmm... It's been crunching on the SQ table update for 2 hours now. This is the longest my server has been offline since I started it 2 years ago. But it has almost 2 years of data and is at least 30,000 blocks out in all directions with 285 players. Obviously the 30 minute guesstimate doesn't apply here. Any guesses on the maximum amount of time I should wait?
Ahh.. just finished at 2 hours, 20 minutes.
-
View User Profile
-
Send Message
Posted Aug 17, 2013@bob7l
Do you read your PMs, I'd really appreciate your assistance.
-
View User Profile
-
Send Message
Posted Aug 16, 2013@Dyponius
uPdate
-
View User Profile
-
Send Message
Posted Aug 16, 2013Some of the data isn't being logged. When I type /he search p:(Player) a:command it tells me he used to command, but under data, it just says "null". It does this for a few other actions, like herochat and chat. Any idea why it does this?
-
View User Profile
-
Send Message
Posted Aug 15, 2013Should the update for tables take 7h+? I have been waiting on this for ages...
-
View User Profile
-
Send Message
Posted Aug 14, 2013I am using Hawkeye 1.5.1, though it keeps spamming null in the console:
I have not been able to spot a trend as to what causes it, though it isnt very regular. Sometimes it spams the console completely full, and sometimes there is nothing.
-
View User Profile
-
Send Message
Posted Aug 14, 2013@bob7l
The new uploaded 1.5.1 seems to have fixed both bugs. Thanks again.
-
View User Profile
-
Send Message
Posted Aug 14, 2013Can I somehow disable this new special "Hawk Tool" item required only? Since now I had it set to cobble and regular players had access to /he tool and they were able to pick any cobble and check records in db.
Right now with this update, they can't do it anymore. I have to enable item giving on /he tool but there is an issue.
1) /he tool
2) recieve special labeled item
3) drop that item on the ground or put it into chest
4) turn off /he tool
5) Player now have regular item with fancy name on it. <- I really don't like this.
I tend to keep my server as vanilla-like as possible and I kinda don't like people can "cheat" these useles fancy items through HawkEye tool.
Could be there a switcher to disable this new feature and use any piece of hawk tool item?
-
View User Profile
-
Send Message
Posted Aug 13, 2013Guys just an FYI, if you are having any problems with the 1.5 release, I would recommend downloading the 1.5.1 release. It has seemed to all the issues I was having with 1.5. Obviously it is not approved by bukkit yet, but you can trust the developer!
-
View User Profile
-
Send Message
Posted Aug 13, 2013@bob7l
Thanks I found a plugin to view enderchests when players are offline.
Great work!!
-
View User Profile
-
Send Message
Posted Aug 13, 2013@DarkValaMorgoth
Well.. Enderchests are a bit weird... So it's hard to saw if we'll ever support them.
-
View User Profile
-
Send Message
Posted Aug 13, 2013@XeonG8
Not very constructive. I bet all of your internet posts have this air about them.
-
View User Profile
-
Send Message
Posted Aug 13, 2013@bob7l
Does this answer include enderchests? Or does hawk not log enderchest transactions? Thanks again for the super quick response and the cleanse works fine now.