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
@bob7l
Bukkit-1.3.2-R1.0-b2377jnks (MC: 1.3.2)
@Bronypowerr
I can't update to it until a DEV build is released. When it's released, we will not have a final release out. You will need to download a DEV build from our jenkins. The current dev build has a lot of changes, but runs stable.
@Mysticell
Mysql goes like event->hashmap-> queue->mysql
Storing as an integer would be completely unnecessary, we would much rather use direct values.
1.4 update 8DDD Quick dev! Update UPDATE!!
I have a few suggestions for increasing the MySQL performance of Hawkeye.
Changing the x, y, and z columns to an integer should speed up searches within a specific area. Personally, I feel storing anything more precise than an integer is unnecessary (most events only log an integer anyhow).
Changing the date column to an integer would greatly improve performance for searches with a time constraint. Currently, the date is stored as a string, which is very time-consuming to sort. If it were stored as an integer (a UNIX timestamp), it would be much faster.
Changing the world_id column to an integer would probably be a good idea as well. That's all it's storing anyhow.
Of course, databases would need to be converted for the above ideas, but that should be a fairly simple task, and I feel that the gains would definitely be worth it. The conversion will likely need to create a new data table, and import entries from the old one, as I don't believe it would be possible to convert the timestamp with just an ALTER statement (though I could be wrong on that). This could either occur at server startup, when an upgrade command is run, or via an external script (it would be rather quick to write a PHP script to do the conversion).
Additionally, the ability to add a LIMIT to search queries would be nice. Then, when a player performing a search wants to see more results, it could continue where it left off. Being able to set this limit in the config would be nice, and it doesn't necessarily have to be 6 (the number of results shown per page). Ideally, I think it should be somewhere in the 200-1000 range by default.
@Spiritwind51
Craftbukkit version?
Have this spamming my console constantly on all of my servers for some reason; 2012-10-24 15:10:37 [SEVERE] [HawkEye] Exception: java.lang.NullPointerException
No other info on it in the logs, hawkeye appears to be perfectly normal. Does it about once every second.
@bobloiy
Ahh, i need to make a tutorial on that.. It's all PHP so all you need to do is open the config, enter your mysql info, then through it on your webserver, or dedi.
How do I use the web interface? I have xampp. I downloaded the interface from github btw.
Thank you for this Hawkeye is by far the best block logging plugin out there!
Keep up the good work! <3 please make sure you get it working for 1.4
Really nice @bob7l! Wish you good luck with that project :)
You don't want to make @oliverw92 former author of this?
Where do I find the web files?
@TanveerGT5
Like this:
/he preview r:10 p:bob7l t:10d
Then if you like what it looks like:
/he preview apply
Orr if it looks bad:
/he preview cancel
@fffizzz
You must have a terrible mysql then.. I run a server with 100-200 people constantly breaking/placing blocks.. If your mysql cannot handle the intense logging, try to remove some of it's features. Besides, you truly only need block place, and block break logged?
Hawkeye is about 2 hours behind on inserting data... what can I do to force it to dump the queue or update faster? Is there a reload to reload the config? I changed connections from 10 to 15 hoping this will help. I only have about 45 online right now and it seems to be struggeling.
Been using mysqltuner to optimize mysql for this as well. Currently, since I recently dropped my 10 gig db, theres only around 2 million rows in the db.
@bob7l
how would I use the preview? I tried the command /hawk preview 10 but it didnt work
@bobloiy
We have preview, it's better in my opinion.
Does this logger have a questioner? Like to make sure if you want to do something?(something like logblock questioner)
@TheBoomer I have a lot of issues with the current method being used to log chest contents. We need to recode a lot of things, and most likely do some work on the mysql.. I'm completely unavailable for updates at the moment as my main computer has died. ELCH is working on a complex alliance plugin, and stutiguias is working on the C# interface, and of course his plugins.
And yes, we've had very large advances from the formal hawkeye! I'm extremely pleased that we have people thanking us for our work, it's extremely helpful. We've actually been able to log worldedit actions to! Of course, this wont be added until we find a way to... perhaps compress the large data usage caused by 2000+ blocks being worldedited at ounce.