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.
No longer takes action for me when breaking a Honeypot.
http:dev.bukkit.org/paste/i81wg2ah95jy0nko/
Could you please add support for DynamicBan ? Thank you.
Im getting these Errors, when a player destroys a HoneyPot: http://pastebin.com/Va5eph8D
will this work with entities too? I have an iron golem in my spawn that i'd like to use as a way to weed out those that can't read signs.
@andune
Hi,
I have made a simple php script for it, if you want, you may use/change the code and put it in the downloads section.
Here is the code: http://livetomine.com/downloads/honeypot-log.phps
@yaitsbilly
Either find a kind soul to contribute code to produce such a log or consider learning how to code and contribute it yourself.
Since there's already an example, it's possible someone's already done the work, maybe they could be convinced to give back to the open source project so everyone can benefit?
How can I get a live log like this? http://catmc.net/hp/
Its required by mcbans now.
@np98765
Your config is not correct. Post your config here: http://yamllint.com/ or here: http://yaml-online-parser.appspot.com/
Rytis
I configured it, and got:
Here's my config:
toolID: 269 kickFlag: false banFlag: true shoutFlag: false
banLog: true banLogLocation: true logPath: plugins/Honeypot/honeypot.log
honeypotKickBanSender: '[Honeypot]' honeypotBanReason: Destroyed honeypot block. honeypotKickMessage: '[Honeypot] You have been caught destroying a honeypot block.'
Any help? :( Thanks!
Even though I have the ban flag enabled and the kick disabled, why do I only get kicked?
mcbans now requires we have publicly viewable honeypot logs for global bans. Would you be able to create some sort of log hosting like how we access dynmap?
Could you add support for my plugin, DynamicBan?
Well this little bugger got me banned, I accidently hit a torch at spawn and now i get destoryed honey block disconnected so thanks alot.
:(
Can you add native glizer support?
Bug Report!!
oh, i just saw 1.2.3 and assumed it didnt work, my bad.
@Gunnerrrrr
Because it's not working? I don't see any issues:
If you have a specific bug to report against Bukkit 1.2.5., please open a ticket.
Bukkit does a great job trying to maintain API stability, with the exception of their intentional 1.2-event deprecation, most all plugins work fine from one version to the next. Therefore, unless you have a specific issue after testing a plugin with a new release, you should just assume it works and that plugin authors generally don't push updates for new versions unless they are needed; and usually they aren't.
@abcedea
The problem is that we need a program that reads FTP since our webserver and server isnt hosted with same company. Idk how to modify it to read from a ftp location.
There is a problem where the blocks do not rollback after a user deletes about 3, where say the limit is 5.
It says above that they should re appear after about 5 mins right?
I don't know why this never works for me.