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
@Bengals1200
Forgot all about that feature, will be added soon!
@bob7l:
Please look at my post: http://dev.bukkit.org/bukkit-plugins/hawkeye-reload/?page=2#c1110
Same problem with XBP Plugin, if I'm searching for Members, except Admins/Mods. No results, but this Message.
@stgram
@bob7l
Ah yeah, relogging works. Good to know :)
Hey there. Whenever a chest with items in it gets blown up by TNT, HE rolls back the chest and damage to other blocks done by the TNT, but doesn't restore the items in the chest. Is there something I could be doing wrong? Whenever I see a chest destroyed by TNT, this is the command I type: /he rollback p:TNT t:1m r:10 Like I said, everything gets rolled back except the items in the chest. Could I get some help with this? Thanks!
@Puremin0rez
Itemframes cannot be rolled back correctly due to bukkits API atm. They wont accept any PR's so we're stuck using a hacky method to "restore" an itemframe. Try to roll 1 back, then logout and log back in.
Hi,
I'm getting this error :) http://pastebin.com/UqVTfbJE
Thanks in advance!
@Puremin0rez
Try to relog after the rollback, sometimes it is just a client side bug.
Item Frames seem to be rolling back wrong, without the item and the wrong rotation (aka its floating off the wall).
I think this started with MC 1.7
@bob7l
Done. I will go once more over it tomorrow, to triple-check everything, but so far it has stood up to all local tests I performed. https://github.com/bob7l/HawkReloaded/pull/40/files As explained in the pull, I negate digits and some special chars via REGEXP to ensure the results are properly filtered.
PS: I had no idea what a PR was. Or a Fork. This was a fun night.
@stgram
Feel free to post a PR.
@bob7l
I would suggest altering the SQL query to REGEXP when looking up item ids in a data field. 56 would return 156 and 560, but \b56\b would match only 56, of course if regex is 1:1 implemented. Other possibilities would be stuff like \b56(\b|:) and so on, everything to make quartz stairs not appear when hawking for diamond ores. I could extensively test that, if you're into the idea.
Great admin tool, wonderful plugin One question is there a way to narrow the filter? We like it to look how many of a specific block a player broke, but when e do /he search p:player f:56 t:2d for example it filters all blocks with the item ID 56 in it, looking for diamond_ore or DIAMOND_ORE doesn't work.
Am i overlooking something or is it simply not possible (yet)
I was testing the little monitor application I've been making for hawkeye and during this I noticed a random bug.
If you break a block next to a single chest, it will get logged as if you broke that chest, triggering a container transaction as if you took all items from the chest.
@dalphi @bob7l
I confirm. Please look into this.
mob-kill no longer seems to be getting logged. I updated December 7th, which was my last recorded mob-kill entry. Haven't noticed any other problems.
@bob7l
Now that you mention it, we do run a setup of specially enchanted tools and gear (high priced), that could be the cause of it. Next time I see it happen, I'll ask if anyone currently have special enchanted items and see what's causing what.
@Liger_XT5
Do you know specifically what hawkeye logtype this is coming from? I don't think it's container transaction as i run it on a 200+ player server without this error. It's possible maybe you have a weird plugin that giving the itemstacks a null/offset enchantment? Maybe setting Smite to 12312312312 could cause this?
@forresthopkinsa
I would if I didn't have my servers linked with bungee. I'll see what I can do to run a day without bungee.
@Liger_XT5
I see you're using Spigot. Try using craftbukkit and see if the errors continue.
I've seen this off and on for the last few months, have bothered to say anything, until 1.7.x came out I've seen it pop up more than usual. I'm still trying to nail down what's triggering it, but as far as I can tell, it happens when someone opens their inventory, but it's been too random to be precise as to the cause.
http://pastebin.com/P8vz25hg