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
I'm hosting mysql myself. i don't have it set to shut off at any point. and my other plugins that use mysql don't send any messages to console with problems. will try dev build though
Say there's been a grief on your server, but the grief didn't get noticed for a while and a lot of activity has happened since then. With Hawkeye, first you do a /ha search r:10 t:30d, then you; /ha page 1 /ha page 2 ... /ha page 30 As you're looking at page after page there's lots of chat going on and this is scrolling off the screen. When you find the grief, if you want to keep a record of it, I don't know what people do, a screenshot???
With Logblock you /lb writelogfile area 10 since 30d, this creates a file, you can now skim through the entire file in seconds rather than having to do a page after page. Sometimes the files I need to look at are 900 lines long, that's a lot of paging in Hawkeye but just takes a couple of seconds in Logblock.
Once a griefer is found, many sites list a permanent global ban on MCBans so that other sites will see that this person is a griefer before adding them. However if this person challenges your ban, you need a record, and this Logblock file is perfect.
Maybe the GUI helps, I don't use it since I rent a server on Beastnode and I don't think I can set it up.
@bob7l
@Kartus
thanks bob71 :) , and for the "Item ID 101 = Iron Bar's" i have a fix.. just update the items.txt with Update for items.txt... and i will test and fix the stone asap
@Kartus
1. I don't accept donations for a plugin i didn't make
2. If your experiencing low performance, try to disable some of the logging features. As you may already know, logging 10+ different actions may take up some resources. I only use block break, and block place in my server and this plugin runs perfect. I do understand that you may actually WANT those other features, so i may have to implant something, like a queue to delay the logging, hopefully that'll decrease the tick lag.
4. Lucky for you stutiguias has joined the team, he said something about making a "interface for .net "
5. I'm aware of the doublechest transaction issue, I had to remove the merging method in order to stop the dupe bug, it WILL be back sooner or later when i find a better way. Right now it seems to check for transactions when you click on a chest, I'll just make a listener just for the transaction.
Edit: Also, just in case another plugin is conflicting with hawkeye and causing the lag, could you please upload an exam file? To get an exam file, download NoLagg and simply execute "/lag examine", That'll make a small exam file within your /plugins folder.
Hello bob7l
1. Thank you very much for your fork of hawkeye. I would like to donate you, cause I know that oliverw92 doesn't accept since a few months any donations. he refunded my donation and sent me a message 2 months ago ;) so if you want, you can send my your paypal, i will donate you. or better: make it possible for all to donate you with the dev.bukkit.org pluginpage donate button, how hawkeye it has on the right-top corner ;)
2. Then i ask you kindly, if you can have a look, probably with help of other dev's into the bad server performance effect of hawkeye. all informations about that you can find in this thread: http://dev.bukkit.org/server-mods/hawkeye/forum/other/36758-hawkeye-has-terrible-mys-ql-performance/
3. I don't know, if you already fixed following bug with the ingame log-tool check. While player King is looking into a chest and then I open the chest, hawkeye logs all changes that I will make on player name King instead of Kartus. Probably this happens cause player King opened chest first or cause he closed the chest after me.
4. WebInterface Bug. When i select at block filter "Stone"
and "Chest Transactions" on a specific player, then it show's me Item ID 101 = Iron Bar's (I call it "Iron Fence's")
5. I don't know, if you already fixed following issue with DoubleChest. A player takes an item from chestblock 1 of a doublechest. ingame or webinterface check show's me only all chesttransactions of that specific chestblock 1. i have to check chestblock 2 separately to get all chesttransactions of that doublechest. could you please make this more comfortable, so that all and the same chesttransactions are showed up when i click on a doublechest, even if chetsblock 1 or 2?
Best greetings Kartus
@paulj1x
Huh? Could you explain this a bit more, I'm a little confused on what you mean.
@atomfitz
It looks like your MySQL disconnects/turns off when you turn off/restart your server? Strange.. Try a DEV build, if this continues then it's an issue with your host.
Whenever I /stop my server I see this in console:
[INFO] [HawkEye] Disabling HawkEye v${project.version}
[INFO] [HawkEye] Version ${project.version} disabled!
[SEVERE] [HawkEye] Unable to execute cleanse utility: com.mysql.jdbc.exceptions.jdbc4.CommunicationsEception Communications link failure
The last packet successfully received from the server was <random number> milliseconds ago. The last packet sent successfully to the server was 1 milliseconds ago.
Is this a plugin conflict or mysql problem? Or something with hawkeye? Any help would be appreciated.
Oh and I have mysql set up properly, and my hawkeye functions entirely, it just spits that error when i stop my server.
So this one will be kept up to date?
and it's a followup of the very outdated, yet very awesome
http://dev.bukkit.org/server-mods/hawkeye/ ?
If i can choose of any logging tool , it will be this one. Forever if it's like the old hawkeye ;p
Where I can find manual about actions code?
@aerd2
Just use the old version if this one doesn't work.
could you make it for 1.2.5 too?
I'm REALLY glad you've picked this up!! If you get WorldEdit logging you'll have a donation headed your way.
I'm curious about your version number. Hawkeye's last version was 1.0.7b, why did you go lower than that? Are you starting out with an older version?
One feature that would be really nice is creating a log file, similar to Logblock's writelogfile. I use this a lot so I don't have to scroll through page after page on the screen and also to keep a record of griefers in case they appeal the global ban.
I had an idea that would be really useful. Each time a rollback is performed, you could assign that specific rollback an ID, and have the /hawk tool also show the rollback id if used within an area that has had a rollback performed previously.
With this new information, you could enable a sort of rollback rollback. For example, if a server admin comes across something that has been rolled back in the past, but needs to be undone to a state before it was ever modified with hawkeye, they would use the hk tool to find the ID of the rollback, and then do /hk undoroll <rollback ID> or something similar.
I still disagree. This is not the plugin to do those things with. You can just use voxelsniper or even worldedit. I can understand why players would like to rollback their buildings, but then it should be a seperate plugin, and not Hawkeye.
@Icefuzion
Build projects. Players can rollback build changes they are unhappy with. People who play on Factions/Towny enabled servers are very familiar with members building things they don't like. ;) It'd be hard to implement, but a plethora of configuration options could make it work.
Honestly, it should be listed as a separate plugin to use in addition to HawkEye if it happens.
That would be a terrible, terrible, terrible idea imo and would completely destroy the purpose of this plugin, which is allowing an server administrator control over his or her server by being able to check blocks or rollback.
It just wouldn't work, and I don't think it would be worth the trouble coding it. Rollbacks should be for staff only, to be honest. Besides, what would you want to use it for? Got any examples? For creeper damage you can use a creeper heal plugin, and you can disable explosions or easy griefing like fire spread.
@bob7l
I thought it was a cool idea at first, but it would take a rather strange environment for people to be willing to pay for their own rollbacks and not abuse it.
I suppose it could work with a great deal of configuration options, like a block blacklist/whitelist, worlds it's enabled, and maybe even a restriction so that the player can only rollback their own block changes and/or their own regions... Or take it a step further and put in an option for Factions/Towny enabled servers to restrict the rollback to Faction mods/owners, mayors, etc. in their owned lands. It could even withdraw the rollback cost from the faction/town/nation bank! :)
Alright guys, I'm going to do some testing with SQLite.. The SQLite logging will only be enabled if the mysql connection fails, SQLite will be slower no matter what i do so I'm going to only allow logging of break/place blocks when using it.
Edit: It works ok, but it's just not stable enough compared to MySQL. I will be providing a public MySQL source for everyone who doesn't have a MySQL right now. If your running a VPS server and are unsure of how to make your OWN mysql DB, please contact me and I will make a very easy tutorial!
Also! As for the economy being involved with hawkeye tool. Does anyone want that feature?
Please, feel free to suggest anything you think could improve hawkeye!
@Bluffer17
Thanks for the fix. :)