Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/haq/mapcha

Map based captcha plugin for your Minecraft server.
https://github.com/haq/mapcha

captcha java paper spigot

Last synced: 2 months ago
JSON representation

Map based captcha plugin for your Minecraft server.

Awesome Lists containing this project

README

        

![spiget downloads](https://img.shields.io/spiget/downloads/51630)
![gitHub code size in bytes](https://img.shields.io/github/languages/code-size/haq/mapcha)

# mapcha

Map based captcha plugin for your Minecraft server.

### description

- On player join, the player's inventory is cleared, and they are given an empty map.
- On right-click, the captcha will show.
- From there the player will have a fixed amount of time to complete the captcha.
- The player also has a limited number of tries.
- Once the time has reached or the tries limit has been reached the player is kicked.
- If the captcha is completed the player's items are returned to them.

### screenshot

![screenshot](https://user-images.githubusercontent.com/26406334/141121824-4834f3f2-bdbd-4390-b175-5d50c6119f76.png)
![screenshot](https://user-images.githubusercontent.com/26406334/141121799-10fc1365-650a-4506-8189-c6abe7f50605.png)

### permissions

* mapcha.bypass
* Allows the player to bypass the captcha.

### default config

```yaml
# Title shown on the map
title: 'Captcha'

# Prefix used for the messages sent.
prefix: '[&aMapcha&r]'

# Commands the player is allowed to type while in captcha mode.
commands:
- /register
- /login

# Send the player to a connected server after captcha completion.
server_success: ''

messages:

# The success message the player receives after they solve the captcha.
success: Captcha &asolved!

# The retry message the player receives after they fail one of their tries.
retry: Captcha &efailed, &rplease try again. ({CURRENT}/{MAX})

# The fail message the player receives after they fail the captcha.
fail: Captcha &cfailed!

captcha:

# Amount of tries the player will get to solve the captcha.
tries: 3

# The time limit in seconds the player has to solve the captcha.
time: 30

# The font that is used to render the captcha. (not recommended to change)
font: Arial

# Use black(white) background, white(black) foreground.
invert_color: false

# Draw points on the captcha image
points: true

# Draw lines on the captcha image
lines: true

other:

# What inventory slot to give the map in. (between 0-8)
inventory_slot: 4

# Stop the player from breaking blocks before the captcha is complete.
break_blocks: false

# Stop the player from dropping items before the captcha is complete.
drop_items: false

# Hide other players when the player is completing the captcha.
hide_players: true

# Blind the player while they are completing the captcha.
blind_player: true

# Freeze the player while they are completing the captcha.
freeze_player: true

# Allows the player to only complete the captcha once per server restart.
cache: true
```