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.
@andune or @dogbig Ive set my config file to globalBan: true but its still doing local bans, any suggestions?
@dogbig
Yea, I was. It just does that sometimes when it's shutting down, I don't know why. It's usually throwing that error after it starts to rollback some players on shutdown.
How can I set it to auto global ban? Cause its only local banning.
Could this be used to Protect the Text on in game Minecraft Signs, like one that explains how to use my lockette and chestshops. like a welcome sign or somthing similar, is that even possible? If so You should definitely look into it for honeypot It would make my year
Are you able to select huge regions with this? Ideally I would want to select the walls around the guest spawn and have it so when they destroy that wall they are first warned, then kicked next, and banned if they do it again. Is this possible with this plugin? (User was suppose to read rules therefore breaking walls mean no rules were read. A simply WorldGuard or something will just stop them from breaking out and not punish them that's why I wondered if this could do it)
@deleted_8156133
are you using R1 of CB?
I got a bug to report:
@etherz10
There's a free script: http://www.widecraft.de/plugins/
Demo: http://www.widecraft.de/hp/
@BBF_Paco
Sounds like a reasonable feature, unfortunately at this time I'm in maintenance-only mode on this plugin. It has all the features I need in it and I'm committed to keeping it updated through future Bukkit and MCBans updates, but that's about it.
If you have a feature suggestion and some coding skills, you are welcome to add the code and send a gitpull request back to me to be incorporated into the plugin for everyone to use. That's how dog.big got added to the project, he helped add support for lots more ban systems.
Can you please add the ability to run another console command on the user? Pass it to the server console so it can be executed maybe?
This would allow us to use whatever ban, kick, jail, misc mod command on the user.
/ban $user
or
/jail $user (time) (jail name):(cell name) (reason)
or
/lightning $user
or
/teleport $user location
etc.
how can i get a web interface for honeypot like this?
http://catserve.net/hp/
Cool plugin. Using it now. Is a great help on my server! Keep on going!
Can you add temp banning to this? Because the fact that it says the person wasnt banned really messed me up.
Whenever I try to pardon someone who was banned by honey pot it says they weren't banned.....
I just tested Honeypot v1.0.4 against mcbans 3.5 and Bukkit DEV build #1537. It loads without any errors. If you're having an issue, please post a ticket describing the error and I will look into it further.
This version is behind. Could you please compile this with the latest version of mcbans? (3.5) and the latest dev build of craftbukkit. Thanks
@andune
Remember what was happening before this was updated? It's basically doing the same thing on the latest builds. Thankyou for updating btw
I type /hp and it just says "/hp" in the chat and I can't select the blocks.
I have set it up to permban after 5 blocks. What i wanted is that after like 5 minutes or walked so and so much away from the block it would rebuild the broken thing, but keeps track of the points from the player. So if he comes back and wants to grief the fixed thing more he get banned because he maybe had 4 blocks allready destroyed.
I didnt want it to permban after 1 block grief. But i have some diamonds that gives 4 points.
@bigggan
In the default mode, points are not used and breaking a honeypot is instant action (ban, kick, whatever you have set).
If you use the points feature, then yes, Honeypot keeps track of the broken blocks and will rebuild them. It rebuilds them as soon as the player is kick/banned (if they exceed the point limit) or it is supposed to rebuild within 5 minutes of them logging out (this functionality may or may not be working, I don't remember where I left it with testing). For sure it rebuilds the blocks on server shutdown.
There is currently no reset for the points other than server restart. I don't use Honeypots to be "soft" on users, let them break a few, reset points, come back later and break a few more, etc... The purpose of honeypot is to automatically identify and ban griefers. It does that very well - if you are trying to do something else with it, you should probably look into another protection plugin that does that something else better.
Thanks.
But a question does the points go away after a while? and does it rebuild after a set time?