· 6 years ago · Nov 07, 2019, 02:14 PM
1[CENTER][URL='https://www.spigotmc.org/resources/authors/lagbug.410906/'][IMG]https://i.imgur.com/vH92wYK.png[/IMG][/URL] or [URL='https://lagbug.me/discord'][IMG]https://i.imgur.com/IwKnpmE.png[/IMG][/URL]
2sponsored by [URL='https://pebblehost.com/'][IMG]https://i.imgur.com/EBcdLyX.png[/IMG][/URL]
3
4[IMG]https://i.imgur.com/vxYO65g.png[/IMG]
5[IMG]https://i.imgur.com/VfEGbKi.png[/IMG]
6
7[IMG]https://i.imgur.com/W9rNgbo.gif[/IMG]
8[IMG]https://i.imgur.com/muNf9FA.gif[/IMG][/CENTER]
9
10[CENTER][IMG]https://i.imgur.com/yr0CkxS.png[/IMG]
11
12[IMG]https://i.imgur.com/JmuhB0e.png[/IMG]
13
14[IMG]https://i.imgur.com/golyS5s.png[/IMG]
15
16[IMG]https://i.imgur.com/cbSkC2U.gif[/IMG]
17[IMG]https://i.imgur.com/GY7axhJ.gif[/IMG]
18[IMG]https://i.imgur.com/ypAPn6U.gif[/IMG]
19
20[IMG]https://i.imgur.com/xW8p2E7.png[/IMG]
21
22[IMG]https://i.imgur.com/6p4OeB1.gif[/IMG]
23[IMG]https://i.imgur.com/iWYD6DO.gif[/IMG]
24[IMG]https://i.imgur.com/wPUmoDq.png[/IMG]
25[/CENTER]
26[SPOILER="Useful information"]
27[URL='https://bstats.org/plugin/bukkit/captchax'][IMG]https://bstats.org/signatures/bukkit/CaptchaX.svg[/IMG][/URL]
28[LEFT]
29or go to the wiki [URL]https://github.com/LagBug/CaptchaX[/URL]
30or join my discord server [URL]https://lagbug.me/discord[/URL]
31or find more about captchas [URL]https://en.wikipedia.org/wiki/CAPTCHA[/URL]
32or find more about the turing test [URL]https://en.wikipedia.org/wiki/Turing_test[/URL][/LEFT]
33[/SPOILER]
34[SPOILER="Configuration files"]config.yml[code=YAML]# Thank you so much for purchasing my plugin,
35# it really means a lot to me!
36# _ _ __ __
37# | | | | \ \ / /
38# ___ __ _ _ __ | |_ ___ | |__ __ _ \ V /
39# / __| / _` || '_ \ | __| / __|| '_ \ / _` | / \
40# | (__ | (_| || |_) || |_ | (__ | | | || (_| |/ /^\ \
41# \___| \__,_|| .__/ \__| \___||_| |_| \__,_|\/ \/
42# | |
43# |_|
44#
45# This is a file to help you configure settings to your likings. It is recommended
46# to leave everything as it is, but, if you know what you're doing, feel free to change
47# it. If you do not understand what something does, please leave it as it is and ask for help
48
49languageFile: "en_US" #The language file that should be used. Use the file name without .yml in /lang/ plugins folder
50prefix: "&6&lCAPTCHA &r&7>&f" #The prefix that is then replaced in the language file by %prefix%
51
52storage: #Information on how user data should be saved
53 type: "FLAT" #Available types are [MYSQL, FLAT]. MySQL is recommended, if not required.
54 mysql:
55 host: ""
56 database: ""
57 username: ""
58 password: ""
59 port: 3306
60 statement: "?autoReconnect=true&useUnicode=true"
61 table: "captchax"
62
63updateChecker: true #Specifies whether or not the update checker should work. If set to false, your server will start up faster
64actionbar: false #Defines if actionbar should be used for captcha instructions instead of chat
65debug: false #If set to true, everything that is happening and is related to the plugin will be logged in the console
66notifyOnFailComplete: false #Should players with the permission captcha.notify be notified when a player fails or completes a captcha?
67bypass: false #If disabled, players with captcha.bypass will not be asked to do the captcha test.
68
69solveTime: 25 #The amount of time in seconds before a player gets kicked for not solving the captcha
70delay: 0 #Delay the captcha on join, you might want this in order to appear after other messages are sent.
71
72antibot: #A variety of features to prevent bot attacks on your server
73 joinLimiter: #Limits the connection of players to the server per a specified amount of seconds
74 enabled: true
75 seconds: 2
76 players: 1
77 ipLimiter: #Limits the same IPs that can be online at the same time
78 enabled: true
79 limit: 3
80 antiBadConnection: #Blocks any bad connection. A bad connection is based on the history of the IPs
81 enabled: true
82 apiKey: "" #Create an account on https://www.ipqualityscore.com/create-account and then copy and paste your API key from https://www.ipqualityscore.com/documentation/proxy-detection/overview
83 blocks:
84 bot: true #Blocks IPs that are flagged as potential bots
85 abuse: true #Blocks IPs that are recorded to have an abuse history
86 vpn: true #Block any VPN connections
87 fraudScore: 85 #Blocks player whose IP's fraud score is above this value
88
89dependencies: #Various information about the dependencies that can be used
90 AuthMe: #Settings for AuthMe
91 forceDisable: false #Enable this, if for example you have disabled login for AuthMe
92
93captchaItem: #The item given in drop and map captcha
94 name: "&6Captcha Verification" #The name of the item
95 slot: 0 #The slot the item should be added
96
97requireCaptcha: #Captcha test can be asked in these events
98 onJoin: true
99
100whileOnCaptcha: #Which events should be cancelled when someone has still not verified himself
101 blockMovement: true
102 blockInteraction: true
103 blockItemDrop: true
104 blockBlockPlacement: true
105 blockBlockBreaking: true
106 blockDamage: true
107 blockInventoryMovement: true
108 blockCommands: true #There is a list below where you can whitelist commands
109 blockChatReceiving: true #Block the player from receiving chat messages
110
111onCaptchaSuccess: {} #A list of actions you can do once a player passes the captcha test
112 #- "consolecmd give %player% diamond"
113 #- "sendtobungee hub" #If that is uncommented, the user will be sent to the specified bungeecord server
114
115onCaptchaFail: #A list of actions you can do if a player fails the test
116 - "kickPlayer &6Captcha &f>> &7You failed the captcha test"
117
118onCaptchaInactivity: #What happens if the player hasn't solved the captcha within the given time
119 - "kickPlayer &6Captcha &f>> &7You should have solved the captcha"
120
121whitelistedCommands: {} #Commands that can be used when player is under captcha verification
122
123captchas: #A list of all the captchas with options about them
124 map:
125 enabled: true
126 lines: 50
127 linesColor: BLACK
128 textColor: RED
129 picture: #Head over to /pictures/ and add your images. The name of the image, without it's extension will be used as a code
130 enabled: true
131 gui:
132 enabled: true
133 title: "Click on the &6%item%"
134 slots: 27
135 different:
136 enabled: true
137 title: "Click on the different item"
138 sameItem: REDSTONE_BLOCK
139 differentItem: EMERALD_BLOCK
140 slots: 9
141 equation:
142 enabled: true
143 difficulty: EASY #This changes the number, so, higher difficulty is higher numbers. You can use [EASY, MEDIUM, HARD]
144 order:
145 enabled: true
146 amount: 3 #The amount of numbers the player will have to order. Either from lower to higher or visa versa
147 code:
148 enabled: true
149 color:
150 enabled: true
151 sneak:
152 enabled: true
153 jump:
154 enabled: true
155 drop:
156 enabled: true
157 item: APPLE
158 slot:
159 enabled: true
160 reverse:
161 enabled: true[/code]
162
163guis/home.yml
164[code=YAML]title: "Captcha > Player GUI"
165slots: 9
166animationDelay: 5
167contents:
168 0:
169 item: "PAPER;1;0"
170 name: "&e%player%"
171 lore:
172 - "&7A huge collection of information you can"
173 - "&7get from this player. You can also do specific"
174 - "&7actions like force verify the player, unverify him,"
175 - "&7or put him under a captcha verification test."
176 - ""
177 - "&7Verified: &e%verified% &7(Based on information from this plugin)"
178 - ""
179 - "&7IP: &e%ip% &7(If online, the current IP, else, the latest IP)"
180 - "&7Bot: &e%bot_status% &7(Based on a variety of tests)"
181 - "&7VPN/Proxy/Tor: &e%vpn%&7, &e%proxy%&7, &e%tor%"
182 - "&7Fraud Score: &e%fraud_score%&7/&e100 &7(High risk above 85)"
183 - "&7Recent abuse: &e%recent_abuse% &7(Recent bot abuse by this IP)"
184 - "&7Location: &e%country%&7, &e%city%&7, &e%region%"
185 - "&7Hostname: &e%host%"
186 - "&7ISP: &e%isp%"
187
188 2:
189 item: "EMERALD_BLOCK;1;0"
190 name: "&aForce verify this player"
191 lore:
192 - "&7By clicking this button, if the specified"
193 - "&7player is not already verified, they will"
194 - "&7be added as a verified player and will not"
195 - "&7have to do a captcha test on join."
196 action: "VERIFY"
197 3:
198 item: "REDSTONE_BLOCK;1;0"
199 name: "&cForce unverify this player"
200 lore:
201 - "&7By clicking this button, if the specified"
202 - "&7player is verified, they will be removed"
203 - "&7as a verified player and will not"
204 - "&7have to do a captcha test on join."
205 action: "UNVERIFY"
206 4:
207 item: "LEVER;1;0"
208 name: "&6Test this player"
209 lore:
210 - "&7Send a captcha test to this player."
211 - "&7Note that this will not get a completely"
212 - "&7random test. Instead, it will get one of the"
213 - "&7enabled ones from the config."
214 action: "TEST"[/code]
215
216lang/en_US.yml[code=YAML]general:
217 updateAvailable: "%prefix% An update was found, click this message."
218 success: "%prefix% You've now passed the captcha test."
219 underAttack: "&cThe server is under attack and &4&l&n%bots%&r &cbots have been blocked."
220 notifications:
221 complete: "%prefix% (&6%player%&f) &fsuccessfully completed the captcha."
222 fail: "%prefix% (&6%player%&f) &ffailed to complete the captcha."
223
224commands:
225 add:
226 success: "%prefix% Successfully verified (&6%player%&f)."
227 already: "%prefix% The specified player (&6%player%&f) is already verified."
228 remove:
229 success: "%prefix% Successfully unverified (&6%player%&f)."
230 already: "%prefix% The specified player (&6%player%&f) is not verified."
231 check:
232 found: "%prefix% The player specified player (&6%player%&f) is &6verified&f."
233 notFound: "%prefix% The player specified player (&6%player%&f) is &6not verified&f."
234 test:
235 success: "%prefix% Successfully sent a captcha test to &6%player%&f."
236 list:
237 success: "%prefix% The available captcha types are:"
238 format: " &f&l- &6%type% &f[&r&7%status%&f]"
239 reload:
240 success: "%prefix% The configuration files were successfully reloaded."
241
242instructions:
243 map: "%prefix% Type the &6code &fthat is displayed in the map."
244 gui: "%prefix% Please click on the &6%item%&f."
245 different: "%prefix% Please click on the different item."
246 equation: "%prefix% Please solve the following equation: &6%equation%&f."
247 order: "%prefix% Place in order (&6%symbol%&f) the following numbers: &6%numbers%&f."
248 picture: "%prefix% Type what you're seeing. Choose from [&6%list%&f]."
249 code: "%prefix% Type &6%code% &fin the chat."
250 color: "%prefix% Type what (&r%color%THIS&r&f) color's name is."
251 sneak: "%prefix% Please &6sneak &f(usually using SHIFT key)."
252 jump: "%prefix% Please &6jump &f(usually using SPACE key)."
253 drop: "%prefix% Please &6drop &fthe item you're holding (usually using Q key)."
254 slot: "%prefix% Please move to the &6%slot%th &fslot of your hotbar."
255 reverse: "%prefix% Please reverse the letters of the following code: &6%code%&f."
256
257kick:
258 restart: "&7The server has restarted please join again later"
259 locked: "&7Too many players are joining at the same time"
260 vpn: "&7VPNs or proxies are not allowed in this server"
261 ip: "&7You can only have online up to &f3 &7accounts at the same time"
262
263errors:
264 onlyPlayers: "%prefix% Only players can use this command."
265 noPermissions: "%prefix% You do not have enough permissions to do this."
266 playerNull: "%prefix% The specified player does not seem to be valid."
267 wrongUsage: "%prefix% The right usage is &6%usage%"[/code][/SPOILER]
268[SPOILER="Servers using this"]
269[IMG]http://status.mclive.eu/Skycade/play.skycade.net/25565/banner.png[/IMG] [IMG]http://status.mclive.eu/Test%20Server/lagbug.me/25565/banner.png[/IMG]
270[/SPOILER]