HoneyPot
Honeypot - Honeypots (griefer traps)
Authors: Argomirr, andune, dog.big, BeastsMC
Supports 1.6.X and 1.7.X
A plugin that allows Op's to create so called "honeypots," traps to identify and take care of dishonest players. Using the /honeypot or /hp commands you can turn any block into a honeypot: if a griefer tries to break it, everyone online will be alerted and the violation will be logged so an admin can take action, and optionally, Honeypot can kick or ban said player automatically. The block will be replaced, the trap reset - ready to catch the next griefer before he knows it.
For example, you can place a little shrine with valuable blocks such as gold near your spawn, and turn them into honeypots. When a griefer logs in, sees nobody around and decides the shiny blocks on that shrine would look so much better in his house, he's already given himself away.
A few videos that demo Honeypot in action: Video 1 | Video 2
Can you add support for XYZ ban plugin?
No, I won't. Please read the author's note at the bottom of this page. However, I've made it really easy for you to do it yourself and contribute. Read about it here.
Features:
- Plug 'n play - just drop Honeypot.jar in your plugins directory, and you're good to go
- Identify and take care of dishonest players (almost) entirely automatically
- Very easy to use
- Full logging of honeypot violations
- Configurable via a .properties file
- Changeable ban and kick/info reason
- Supports MCBans, EasyBan, UltraBan, KiwiAdmin, vanilla bans and Permissions
- Supports points feature for advanced needs, read the link for more info
- PHP script for showing Honeypot ban logs online: link (courtesy of @jellehen)
How to install and configure
- To install Honeypot, drop Honeypot.jar into your plugins directory, and run the server once. The plugin will generate a new directory, plugins/Honeypot, where you can find the honeypot violation log (honeypot.log), the properties file (honeypot.properties) and a file used to store honeypot data (list.ncsv).
- Open honeypot.properties with your favorite text editor and make any changes you want, then run your server again.
- A little note: if you wish to enable the ban feature, set the kick feature to false. Note that you need to have MCBans installed in order for banning to work.
- Permission nodes for the Permissions plugin (2.7 and also PEX with compatibility core):
honeypot.break # Can the user destroy honeypots? honeypot.create # Can the user place honeypots using /honeypot?
- Congratulations, you've set up your honeypot! You can set up as many honeypots as you like, but keep in mind that this system was not designed to be used as an area protection plugin, so don't apply /hp to every block on your house. See How to use bellow.
How to use
You can now log in and use /honeypot or /hp (Op's only, at this time) to start the process of making a honeypot. You will now be prompted to right click a block with the tool you specified (default: wooden axe) to create a honeypot. You can select any block, but it's recommended you choose a shiny block - something a griefer would want to break - and make sure it doesn't look like an obvious trap. (A single diamond block in the middle of nowhere looks somewhat suspicious, don't you agree?) You can keep selecting blocks until you exit the honeypot creation process by entering the /honeypot or /hp command again. To destroy the honeypot, simply have any Op break it and the block will be dropped as normal.
One more thing: honeypot data will automatically be saved once the server stops, but you can also apply a manual save by using /honeypot save or /hp s to prevent data loss in case of a server crash.
Author's note (andune)
This plugin was originally written by Argomirr. Though his last post related to Honeypot was April 18, 2011, I found value in this plugin and so have kept it updated through newer Bukkit versions and have released it here for others to continue to enjoy as well. Some features have been added at my whim (such as banPoints and WorldEdit region support), but I am not accepting feature requests. If you want a new feature or some new ban plugin supported, please pull the source and write it yourself. Here's a brief guide showing how to add a ban plugin to Honeypot. I WILL NOT help you with coding issues. If you can't figure it out, keep trying/learning until you can, or just use the custom ban type.
Changelog
Source Code
And thanks to godsyn for the idea.
@HenzQ
I have to completely delete all my honeypots to clear it, it would be a very nice feature to be able to remove a region.
This is a really shitty plugin, Bans players for accidently hitting torches. Pathetic.
Anyway of removing hp regions? After destroying the blocks made with honeypot region, I assumed I actually removed the region, but it appears there's still a 'ghost' region if you get me.
please add an auto reset when banned
Is there any way that I can have Honeypot issue a global rollback of the user when he/she is banned?
@andune
Works perfect with 1.5.2 other then some block names act funny in the log with the new items.
I am planing to code new features.. but now, i am busy at University.. so, see u soon :)
@andune
It work just fine!
@Glitchmaster099
Is it broken on 1.5.1? Please let me know if it is, otherwise, "if it ain't broke, don't fix it."
Remember: Prevention is better than cure. Why don't you just create a plugin which prevents the blocks being broken instead of one that alerts ops when they are broken?
Also the idea of creating an area filled with valuable blocks just to provoke the griefer in us all is wrong. It is a good plugin, but a better use of it is to protect player's homes.
(I know it was not set up as an area protection system btw, but maybe update it so it can be used as one)
@dehzz
No, sorry, that feature does not fit within the scope of intent for Honeypot. You would be better off finding a general purpose logging plugging for logging player actions and asking them to modify it to have this feature (if it doesn't already).
However, just because I'm feeling nice, here's 13 lines of code that implement what you are asking for:
https://gist.github.com/andune/4992336
I won't help you build the plugin, but if you are so inclined to put in the effort (follow Bukkit dev tutorials, etc), those 13 lines of code will do what you are looking for.
Hi, awesome, I'll try it on my server.
BUT, is there any chance to log action such as lying into beds ? Some trolls are reseting spawn points within my faction and I can't define who it is.
Thanks for the answer in advance!
@andune
Awesome!
Thanks for all the error reports for /hp region. Finally got a chance to sit down and look at it this weekend, I've published a new version that fixes the issue. As always, the file will be available whenever dev.bukkit admins approve it, so give it a few hours if it's not available at the time you read this.
Hello,
I'm getting the following error when trying to use /hp region
@deleted_9935739
Could you post there pastebin about it? Thanks
@SuperPyroManiac
I get the same issue as well.
./hp region gives internal error with latest bukkit build for 1.4.7.
The toolID was always set to 269 as default in the config but for some reason it only works with a wooden axe (271). I've tried changing it multiple times to other ids and reloading but it is staying the same.