BotTest
Main Description
Problems with spammers on login? This plugin works by generating a random inventory in which a player has to click a correct item to be able to chat, move (or even leave at the moment). If they are incorrect, they are given three kicks and will be banned on the 4th successive attempt if they fail to pass. The plugin also has random generated items, in various spots and the name appears as either displayname or in the lore, so making it much harder to create an automatic script to bypass it.
Installation
- Download plugin
- Sacrifice a minecraft sheep to Cthulu
- Place in plugins folder
- Start server
- ...
- Profit!
Usage
Owner
Setup is automatic but you will see a config file which is explained below:
Config
type: join - can be changed to first, this will either be enabled upon every join or on first time join only times: 5 - how many times a person can mess up clicking the right item (Realistically it should be 1 chance only...) slots: 9 - adjustable amount of slots (has to be a multiple of 9, max 54) ban: false - if a player is banned after clicking the wrong block X number of times (if false it won't ban at all only keep kicking) nospam: false - the nospam feature (still being developed) repeats: 2 - how many times a phrase can be repeated before they are blocked
Player
On logging in you will be greeted with a similar GUI (variable slots):

Find the correct block to click, and click it (seen below):

If all done you will get a success message, or if not, you will be kicked and will have to try again on login. You will have 4 attempts before being banned, so no pressure!
NoSpam
This is currently being developed and may act unstably. Essentially a player can say a phrase X times in a row after which they are forced to enter a random 3 digit sequence, which if wrong; they will be kicked
Commands
... Maybe someday?
Permissions
- BotTest.Bypass - allows people to bypass the inventory bot test
- BotTest.Spam - allows people to bypass the antispam
To-Do
Permission node for antispam- adjustable messages
adjustable kick amount- Whatever you people want the most
Test Server
LethalHosting has kindly provided one of its awesome servers to assist me in testing my plugins. Big thanks to them, and I will try make it public in the days to come
-
View User Profile
-
Send Message
Posted Apr 9, 2015@ThisUsernameIsMine
Thanks for the discovery. I'll try push that to the next update, though extremely busy with other things at the moment.
-
View User Profile
-
Send Message
Posted Apr 2, 2015I've found a couple of serious issues that defeats the usability/usefulness of your plugin:
- when there are other items in the inventory, it's possible to drag-drop those outside the window (and lose those items when not passing the test)
- when closing the inventory, you can freely walk around, do damage/receive damage (etc.), but only until the inventory reappears.
and the one i find the most serious:
- you can circumvent the BotTest by letting yourself die by a mob or PvP (by luck or by using the glitch from above) and clicking on the respawn button.
You'll notice that the BotTest window won't appear anymore and that you can freely walk around (despite being unable to chat or run any commands). You can interact with pressure plates, buttons, levers etc., though ;-)
-
View User Profile
-
Send Message
Posted Mar 20, 2015@nikmanG
That's great! :-)
About the anti-spam feature: Did you make the colour of "Type the following number sequence:" dark blue on purpose? Because it's very difficult to read (maybe that is the intention).
edit: setting "times" to a value greater than 1 doesn't seem to change the way it works (unless it is related to the banning, which i've disabled)
I appreciate what you did, the plugin now is more use(r)friendly ;) +like
-
View User Profile
-
Send Message
Posted Mar 20, 2015@ThisUsernameIsMine
I have done some of the things (you will see in the changes section with the file). With the chat they will still be able to type stuff in, but no one will see it as there will be no output.
-
View User Profile
-
Send Message
Posted Mar 19, 2015@nikmanG
Thanks for the time and patience to give a response like that :-)
And sorry for not typing more text back to you right now, it's way past my bed time (hence i'm really tired) :$
ps: the bypassing of the gui was done by pressing E and quickly typing T + CTRL+V (pasting a copied text/command).
/subscribed + liked your post ;-)
-
View User Profile
-
Send Message
Posted Mar 19, 2015@ThisUsernameIsMine
Thank you for the message. The idea was pitched to me by someone a while back who saw the fault in the wool block being used and it being a set colour, so I thought this method should confuse the basic scripts and the changing between using lore and display name to show the right one was an added twist. I'll go through your ideas point by point, as they are all valid.
As for the issue with being able to do commands and chatting: I will have a look at that and try remedy it.
Again thanks for commenting and downloading, and if you have any more ideas please tell me.
-
View User Profile
-
Send Message
Posted Mar 19, 2015A variation of the plugin ServerCaptcha? I like it :-)
edit: I've noticed that its possible to close the gui and (when fast enough) type in the chat or run a command =/
Is it correct that OP's don't have to pass the captcha? (no gui is shown)
I also have some suggestions:
- ability to change messages (language)
- make bans optional
- ability to set how many attempts can be made before kicking/banning the "player"
- ability to put players (i.e. staff) on whitelist to bypass captcha
- possibly add a text (chat) captcha
- ... thinking ;)
Other than that i like what you did :-)