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 Dec 13, 2012Hello, I have a problem.
I'm an admin in the server I play on and while searching for people who break gold ores, hawkeye, in addition to finding the actual gold ore breaks also finds block-break results like carrot, potato, wool, sugar_cane_block, leaves, redstone_wire, etc.
How can I prevent this? I only want results for the actual gold ores and not anything else.
I'm using the command: /he a:block-break f:14
Thanks in advance.
-
View User Profile
-
Send Message
Posted Dec 12, 2012@astroroxy
Posting an error gives me no detail what so ever... I need to know what plugins you run, craftbukkit version you run, and whether your running a dev/beta/RB of hawkeye.
-
View User Profile
-
Send Message
Posted Dec 12, 2012There is an error 2012-12-12 20:50:37 [SEVERE] Could not pass event EntityChangeBlockEvent to HawkEye v1.0.7.1 org.bukkit.event.EventException at uk.co.oliwali.HawkEye.listeners.HawkEyeListener$1.execute(HawkEyeListener.java:61) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at org.bukkit.craftbukkit.v1_4_5.event.CraftEventFactory.callEntityChangeBlockEvent(CraftEventFactory.java:468) at org.bukkit.craftbukkit.v1_4_5.event.CraftEventFactory.callEntityChangeBlockEvent(CraftEventFactory.java:452) at net.minecraft.server.v1_4_5.PathfinderGoalEatTile.e(PathfinderGoalEatTile.java:67) at net.minecraft.server.v1_4_5.PathfinderGoalSelector.a(PathfinderGoalSelector.java:104) at net.minecraft.server.v1_4_5.EntityLiving.bl(EntityLiving.java:1437) at net.minecraft.server.v1_4_5.EntitySheep.bl(EntitySheep.java:44) at net.minecraft.server.v1_4_5.EntityLiving.c(EntityLiving.java:1234) at net.minecraft.server.v1_4_5.EntityAgeable.c(EntityAgeable.java:68) at net.minecraft.server.v1_4_5.EntityAnimal.c(SourceFile:33) at net.minecraft.server.v1_4_5.EntitySheep.c(EntitySheep.java:52) at net.minecraft.server.v1_4_5.EntityLiving.j_(EntityLiving.java:508) at net.minecraft.server.v1_4_5.World.entityJoinedWorld(World.java:1333) at net.minecraft.server.v1_4_5.WorldServer.entityJoinedWorld(WorldServer.java:546) at net.minecraft.server.v1_4_5.World.playerJoinedWorld(World.java:1315) at net.minecraft.server.v1_4_5.World.tickEntities(World.java:1193) at net.minecraft.server.v1_4_5.WorldServer.tickEntities(WorldServer.java:444) at net.minecraft.server.v1_4_5.MinecraftServer.r(MinecraftServer.java:579) at net.minecraft.server.v1_4_5.DedicatedServer.r(DedicatedServer.java:222) at net.minecraft.server.v1_4_5.MinecraftServer.q(MinecraftServer.java:493) at net.minecraft.server.v1_4_5.MinecraftServer.run(MinecraftServer.java:426) at net.minecraft.server.v1_4_5.ThreadServerApplication.run(SourceFile:856) Caused by: java.lang.NoSuchMethodError: org.bukkit.event.entity.EntityChangeBlockEvent.getEntity()Lorg/bukkit/entity/LivingEntity; at uk.co.oliwali.HawkEye.listeners.MonitorEntityListener.onEntityChangeBlock(MonitorEntityListener.java:157) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at uk.co.oliwali.HawkEye.listeners.HawkEyeListener$1.execute(HawkEyeListener.java:58) ... 24 more
for falling objects like sand
-
View User Profile
-
Send Message
Posted Dec 12, 2012@bob7l
Cool, thank you!
-
View User Profile
-
Send Message
Posted Dec 12, 2012@AkBKukU
https://github.com/bob7l/HawkReloaded/blob/master/src/uk/co/oliwali/HawkEye/DataType.java
-
View User Profile
-
Send Message
Posted Dec 12, 2012Where is the list of action descriptions for the sql database? I'm accessing the hawkeye database from my website and I would like to know what number corresponds to each action(ie 5="Join")
-
View User Profile
-
Send Message
Posted Dec 12, 2012can use it with Worldedit ?
-
View User Profile
-
Send Message
Posted Dec 11, 2012@paulj1x
Fixed with the latest build, it's an incompatibility problem with essentials.
Btw, latest build is built for the latest bukkit.
-
View User Profile
-
Send Message
Posted Dec 11, 2012Bob, what do you think about starting a ticket system?
I'm getting a ton of the following errors:
Could not pass event EntityExplodeEvent to HawkEye v1.0.7.1 org.bukkit.event.EventException at uk.co.oliwali.HawkEye.listeners.HawkEyeListener$1.execute(HawkEyeListener.java:61) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.Explosion.a(Explosion.java:219) at net.minecraft.server.World.createExplosion(World.java:1610) at net.minecraft.server.WorldServer.createExplosion(WorldServer.java:771) at org.bukkit.craftbukkit.CraftWorld.createExplosion(CraftWorld.java:446) at org.bukkit.craftbukkit.CraftWorld.createExplosion(CraftWorld.java:442) at org.bukkit.craftbukkit.CraftWorld.createExplosion(CraftWorld.java:454) at org.bukkit.craftbukkit.CraftWorld.createExplosion(CraftWorld.java:450) at com.earth2me.essentials.commands.Commandkittycannon$1.run(Commandkittycannon.java:40) at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:53) at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:529) at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:222) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:493) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426) at net.minecraft.server.ThreadServerApplication.run(SourceFile:856) Caused by: java.lang.NullPointerException at org.bukkit.event.entity.EntityEvent.getEntityType(EntityEvent.java:32) at uk.co.oliwali.HawkEye.listeners.MonitorEntityListener.onEntityExplode(MonitorEntityListener.java:107) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at uk.co.oliwali.HawkEye.listeners.HawkEyeListener$1.execute(HawkEyeListener.java:58) ... 18 more Craftbukkit 1.4.5-R0.1 build #2483
-
View User Profile
-
Send Message
Posted Dec 11, 2012@geekygaming
Ahh, for a windows system you can install it with a simple click. If your using centOS you need to follow a tutorial.
Google "MySql for windows download", you may need to register an account to unlock the download.
-
View User Profile
-
Send Message
Posted Dec 11, 2012Wow. Thank you for Reloading this plugin. WCMC thanks you.
-
View User Profile
-
Send Message
Posted Dec 11, 2012@bob7l
Okay, I missed that part, im hosting it via a dedicated computer, so how would I setup such a mysql?
-
View User Profile
-
Send Message
Posted Dec 10, 2012@geekygaming
Then the plugin failed to connect to your mysql server. Check the config
-
View User Profile
-
Send Message
Posted Dec 10, 2012@bob7l
Im having a issue, I installed HawkEye on my server, gave permission to the group but when I type /he nothing happens, doesnt say invalid command, just blank..
-
View User Profile
-
Send Message
Posted Dec 10, 2012@diannetea
If your using the latest dev build of bukkit, update hawkeye to the latest dev..
if your running the latest beta build of bukkit, update to 1.0.7 and ignore the dev builds.
-
View User Profile
-
Send Message
Posted Dec 10, 20122012-12-10 11:08:02 [SEVERE] Could not pass event EntityChangeBlockEvent to HawkEye v1.0.7.1
org.bukkit.event.EventException
at uk.co.oliwali.HawkEye.listeners.HawkEyeListener$1.execute(HawkEyeListener.java:61)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:35)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
at org.bukkit.craftbukkit.v1_4_5.event.CraftEventFactory.callEntityChangeBlockEvent(CraftEventFactory.java:468)
at org.bukkit.craftbukkit.v1_4_5.event.CraftEventFactory.callEntityChangeBlockEvent(CraftEventFactory.java:452)
at net.minecraft.server.v1_4_5.PathfinderGoalEatTile.e(PathfinderGoalEatTile.java:67)
at net.minecraft.server.v1_4_5.PathfinderGoalSelector.a(PathfinderGoalSelector.java:104)
at net.minecraft.server.v1_4_5.EntityLiving.bl(EntityLiving.java:1435)
at net.minecraft.server.v1_4_5.EntitySheep.bl(EntitySheep.java:44)
at net.minecraft.server.v1_4_5.EntityLiving.c(EntityLiving.java:1233)
at net.minecraft.server.v1_4_5.EntityAgeable.c(EntityAgeable.java:68)
at net.minecraft.server.v1_4_5.EntityAnimal.c(SourceFile:33)
at net.minecraft.server.v1_4_5.EntitySheep.c(EntitySheep.java:52)
at net.minecraft.server.v1_4_5.EntityLiving.j_(EntityLiving.java:508)
at net.minecraft.server.v1_4_5.World.tickEntity(World.java:1459)
at net.minecraft.server.v1_4_5.World.entityJoinedWorld(World.java:1421)
at net.minecraft.server.v1_4_5.WorldServer.entityJoinedWorld(WorldServer.java:570)
at net.minecraft.server.v1_4_5.World.playerJoinedWorld(World.java:1411)
at net.minecraft.server.v1_4_5.World.tickEntities(World.java:1289)
at net.minecraft.server.v1_4_5.WorldServer.tickEntities(WorldServer.java:464)
at net.minecraft.server.v1_4_5.MinecraftServer.r(MinecraftServer.java:564)
at net.minecraft.server.v1_4_5.DedicatedServer.r(DedicatedServer.java:222)
at net.minecraft.server.v1_4_5.MinecraftServer.q(MinecraftServer.java:478)
at net.minecraft.server.v1_4_5.MinecraftServer.run(MinecraftServer.java:413)
at net.minecraft.server.v1_4_5.ThreadServerApplication.run(SourceFile:856)
Caused by: java.lang.NoSuchMethodError org.bukkit.event.entity.EntityChangeBlockEvent.getEntity()Lorg/bukkit/entity/LivingEntity;
at uk.co.oliwali.HawkEye.listeners.MonitorEntityListener.onEntityChangeBlock(MonitorEntityListener.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at uk.co.oliwali.HawkEye.listeners.HawkEyeListener$1.execute(HawkEyeListener.java:58)
... 26 more
-
View User Profile
-
Send Message
Posted Dec 9, 2012Nevermind, I found out what was happening, it was because of the apostrophe in the names colliding with the SQL syntax. Thanks anyway :P
-
View User Profile
-
Send Message
Posted Dec 9, 2012@yelpet
Are you running the latest build? I tried everything to re-create this error but no luck.. I even tried out a spaced out name. I guess Citizens must be doing something it isn't suppose to be doing..
Edit: Or maybe your mysql is suuper outdated and doesn't allow updates on duplicated entries. In that case, update!
-
View User Profile
-
Send Message
Posted Dec 9, 2012@SERVERCONSOLE
Fixed on latest build!
I build it using the latest craftbukkit development release so you may need to upgrade.
-
View User Profile
-
Send Message
Posted Dec 9, 2012HE seems to think that our NPCs (Citizens 2) are actual players and is causing the console to spam this:
2012-12-09 20:54:00 [SEVERE] [HawkEye] Unable to add player to database: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Swagga') ON DUPLICATE KEY UPDATE player='Lil' Swagga'' at line 1
Any way to fix it? :/ I'm not exactly sure what this means, so it may not be true that our NPCs are causing it...