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 Jul 29, 2013@newtekie1
"Please don't download the development builds, ELCH is currently speeding up the queries and is not done! downloading may damage your hawkeye database or just spam errors!"
Yeah.. We're still working on it. Please use #27
-
View User Profile
-
Send Message
Posted Jul 29, 2013Using the latest Dev Build(#31) I get the following when starting my server:
2013-07-29 14:00:00 [INFO] [HawkEye] Enabling HawkEye v1.5.0
2013-07-29 14:00:00 [INFO] [HawkEye] Starting HawkEye 1.5.0 initiation process...
2013-07-29 14:00:00 [INFO] [HawkEye] Checking for a new update...
2013-07-29 14:00:02 [INFO] [HawkEye] No update for HawkEye found!
2013-07-29 14:00:02 [INFO] [HawkEye] Table `hawkeye` not found, creating...
2013-07-29 14:00:02 [SEVERE] [HawkEye] Error checking HawkEye tables: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Key column 'date' doesn't exist in table
2013-07-29 14:00:02 [SEVERE] [HawkEye] Error initiating HawkEye database connection, disabling plugin
2013-07-29 14:00:02 [INFO] [HawkEye] Disabling HawkEye v1.5.0
2013-07-29 14:00:02 [SEVERE] Error occurred while disabling HawkEye v1.5.0 (Is it up to date?)
java.lang.NullPointerException at uk.co.oliwali.HawkEye.HawkEye.onDisable(HawkEye.java:74) 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:129) 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)
It seems like it isn't creating the Hawkeye table, I checked MySQL and that table is not being created. If I drop the other tables for Hawkeye it recreates them successfully, it just won't create the Hawkeye table. I'm stumped.
-
View User Profile
-
Send Message
Posted Jul 27, 2013@Cholens
That means that whatever your logging is over 500 chars long.
-
View User Profile
-
Send Message
Posted Jul 27, 20132013-07-27 13:31:29 [SEVERE] java.sql.BatchUpdateException: Data truncation: Data too long for column 'data' at row 1 2013-07-27 13:31:29 [SEVERE] at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2018) 2013-07-27 13:31:29 [SEVERE] at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1449) 2013-07-27 13:31:29 [SEVERE] at uk.co.oliwali.HawkEye.database.DataManager.run(DataManager.java:345) 2013-07-27 13:31:29 [SEVERE] at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftTask.run(CraftTask.java:53) 2013-07-27 13:31:29 [SEVERE] at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) 2013-07-27 13:31:29 [SEVERE] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 2013-07-27 13:31:29 [SEVERE] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 2013-07-27 13:31:29 [SEVERE] at java.lang.Thread.run(Unknown Source)
-
View User Profile
-
Send Message
Posted Jul 25, 2013@twisterlj
Yeah it's being worked on daily, and 1.5.2 should work with 1.6.2
-
View User Profile
-
Send Message
Posted Jul 24, 2013Is this plugin still being maintained? I see the latest build was for 1.5.1 back in March. Will that build work for 1.5.2? And will it work for 1.6.2?
-
View User Profile
-
Send Message
Posted Jul 24, 2013Please don't download the development builds, ELCH is currently speeding up the queries and is not done! downloading may damage your hawkeye database or just spam errors!
-
View User Profile
-
Send Message
Posted Jul 24, 2013Can you give me detailed information on what these do
cleanse-period: 5w cleanse-age: 0
I would like to restart the database every month how do I do that ?
-
View User Profile
-
Send Message
Posted Jul 24, 2013Last dev build
2013-07-24 14:18:47 [SEVERE] [HawkEye] Error executing MySQL query: java.sql.SQLException: Can't call commit when autocommit=true 2013-07-24 14:18:47 [SEVERE] java.sql.SQLException: Can't call commit when autocommit=true 2013-07-24 14:18:47 [SEVERE] at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:934) 2013-07-24 14:18:47 [SEVERE] at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:931) 2013-07-24 14:18:47 [SEVERE] at com.mysql.jdbc.ConnectionImpl.commit(ConnectionImpl.java:1655) 2013-07-24 14:18:47 [SEVERE] at uk.co.oliwali.HawkEye.database.JDCConnection.commit(JDCConnection.java:52) 2013-07-24 14:18:47 [SEVERE] at uk.co.oliwali.HawkEye.database.SearchQuery.run(SearchQuery.java:225)
-
View User Profile
-
Send Message
Posted Jul 19, 201319.07 17:39:06 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) 19.07 17:39:06 [Server] INFO at uk.co.oliwali.HawkEye.HawkEye.onCommand(HawkEye.java:206) 19.07 17:39:06 [Server] INFO at uk.co.oliwali.HawkEye.commands.BaseCommand.run(BaseCommand.java:75) 19.07 17:39:06 [Server] INFO at uk.co.oliwali.HawkEye.commands.PageCommand.execute(PageCommand.java:22) 19.07 17:39:06 [Server] INFO at java.lang.Integer.parseInt(Integer.java:527) 19.07 17:39:06 [Server] INFO at java.lang.Integer.parseInt(Integer.java:492) 19.07 17:39:06 [Server] INFO at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) 19.07 17:39:06 [Server] INFO Caused by: java.lang.NumberFormatException: For input string: "1q" 19.07 17:39:06 [Server] INFO at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) 19.07 17:39:06 [Server] INFO at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419) 19.07 17:39:06 [Server] INFO at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486) 19.07 17:39:06 [Server] INFO at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226) 19.07 17:39:06 [Server] INFO at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:590) 19.07 17:39:06 [Server] INFO at net.minecraft.server.v1_6_R2.DedicatedServerConnection.b(SourceFile:30) 19.07 17:39:06 [Server] INFO at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37) 19.07 17:39:06 [Server] INFO at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:118) 19.07 17:39:06 [Server] INFO at net.minecraft.server.v1_6_R2.NetworkManager.b(NetworkManager.java:296) 19.07 17:39:06 [Server] INFO at net.minecraft.server.v1_6_R2.Packet3Chat.handle(SourceFile:49) 19.07 17:39:06 [Server] INFO at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java:839) 19.07 17:39:06 [Server] INFO at net.minecraft.server.v1_6_R2.PlayerConnection.chat(PlayerConnection.java:882) 19.07 17:39:06 [Server] INFO at net.minecraft.server.v1_6_R2.PlayerConnection.handleCommand(PlayerConnection.java:964) 19.07 17:39:06 [Server] INFO at org.bukkit.craftbukkit.v1_6_R2.CraftServer.dispatchCommand(CraftServer.java:523) 19.07 17:39:06 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:189) 19.07 17:39:06 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) 19.07 17:39:06 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'he' in plugin HawkEye v1.1.0
just thought i would put this here... plugin works fine though
-
View User Profile
-
Send Message
Posted Jul 19, 2013@bob7l
Well that database was around 2 years old also
-
View User Profile
-
Send Message
Posted Jul 18, 2013@hatefulbox
Yeah the database gets large quick when your logging huge things like worldedit, and block formation.
-
View User Profile
-
Send Message
Posted Jul 18, 2013@bob7l
I will give it a try, thanks
That did work and my database was 45gb so it was about time to redo it anyway.
-
View User Profile
-
Send Message
Posted Jul 17, 2013@hatefulbox
U might have to reset ur database
-
View User Profile
-
Send Message
Posted Jul 17, 2013Kept getting this when I would place carpet on carpet with the #27 build from dev site
2013-07-11 22:10:16 [SEVERE] java.sql.BatchUpdateException: Duplicate entry '453073111' for key 'PRIMARY' 2013-07-11 22:10:16 [SEVERE] at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2018) 2013-07-11 22:10:16 [SEVERE] at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1449) 2013-07-11 22:10:16 [SEVERE] at uk.co.oliwali.HawkEye.database.DataManager.run(DataManager.java:345) 2013-07-11 22:10:16 [SEVERE] at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftTask.run(CraftTask.java:53) 2013-07-11 22:10:16 [SEVERE] at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) 2013-07-11 22:10:16 [SEVERE] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 2013-07-11 22:10:16 [SEVERE] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 2013-07-11 22:10:16 [SEVERE] at java.lang.Thread.run(Unknown Source)
-
View User Profile
-
Send Message
Posted Jul 17, 2013@bob7l
I'm using the latest dev build
-
View User Profile
-
Send Message
Posted Jul 17, 2013Had an odd issue.
We have and area blocked off from players where only an admin could get in.
Apparently in that area, months ago (Towny's /resident command says February) a player had joined us and logged out in that area.
By mistake, a chest was left unlocked. Droppers were not set in LWC to be lockable and never crossed our minds.
A player logged in and stole a chest full of awkward potions and potion materials from the chest and droppers.
Hawkeye was able to check the chest, but not the droppers. They reported as being untouched.
Am I overlooking something in the config for Droppers to be recorded for inventory?
-
View User Profile
-
Send Message
Posted Jul 16, 2013Alright I'm going to try and push for a new recommended build!
My priority list:
1. Improve sign logging
2. Add improved entity death logging
3. Fix certain features
-
View User Profile
-
Send Message
Posted Jul 16, 2013@Puremin0rez
Weell that error is from logging a huge like.. Like, say if u have chat logging enabled and someone says like 1000 words.
-
View User Profile
-
Send Message
Posted Jul 15, 2013@bob7l
Should I be concerned? Seen this a few times today http://pastebin.com/5zbwsd3p